# PN5_60661

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

jQL: Unable to get Value Number from exploded sort using a dictionary subroutine.

# Previous Release Behavior

001     SUBROUTINE value_number
002     INCLUDE qbasiccommonpick
003     newpick(12) = access(14)
004     RETURN

create-file mvtest 1 1

ed mvtest 1
001 x]y]z

ed dict mvtest vn
001 A
002 1
...
008 CALL value_number
009 R
010 2

jsh home ~ -->sort mvtest by-exp *A1 *A1 vn hdr-supp ni-supp

mvtest........    *a1...........    vn

1                 x
1                 y
1                 z
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

Nothing would display in the vn column.

# Current Release Behavior

jsh home ~ -->sort mvtest by-exp *A1 *A1 vn hdr-supp ni-supp

mvtest........    *a1...........    vn

1                 x                  1
1                 y                  2
1                 z                  3
1
2
3
4
5
6
7

Back to jBASE 5.7.0 Release Notes