# PN5_60914

Updated: 1/18/2022, 5:31:44 PM
Created: 1/18/2022, 5:31:44 PM
Last Updated By: dependabot[bot]
Read Time: 1 minute(s)

# Description

GET-LIST in a Proc produced incorrect results in D3 emulation

# Previous Release Behavior

Create this Proc and a simple "Hello World" program:

id: PROCTEST
001 PQN
002 C This select-list was produced with SELECT MD, then SAVE-LIST TESTMD
003 HGET-LIST TESTMD
004 STON
005 C Execute a program
006 Hhello_world
007 P
1
2
3
4
5
6
7
8

Running the Proc in D3 emulation produced this result:

jsh ~  -->PROCTEST

  Records selected


jsh ~  -->
1
2
3
4
5
6

# Current Release Behavior

jsh ~ 1 -->PROCTEST

 346 Records selected

Hello, World!

>
1
2
3
4
5
6
7

# Notes

The previous behavior of GET-LIST in D3 emulation was such that doing a GET-LIST with multiple lists would return a list with unique entries.

The current behavior is that it concatenates the lists regardless of their contents. This is now compatible with D3 behavior.

Back to 5.7.4 Release Notes