I remember in the old days that when you created a map, internally would create the parameter data area sorted by variable name:
Local MYLDA Library MYLIB DBID 146 FNR 141
Command > +
I T L Name F Length Miscellaneous
All – -------------------------------- - ---------- ------------------------->
1 MYLDA
2 ZZ A 20 INIT<‘ZZZZ’>
2 YY A 20 INIT<‘YYYY’>
2 BB A 20 INIT<‘BBBB’>
2 AA A 20 INIT<‘AAAA’>
This is how is shown when I List the map:
17:05:38 Map MYMAP Library MYLIB (Work) User DBATEST 2008-11-12
0001 * MAP2: PROTOTYPE
0002 * INPUT USING MAP ‘XXXXXXXX’
0003 * MYLDA.AA MYLDA.BB MYLDA.YY MYLDA.ZZ
0004 DEFINE DATA PARAMETER
0005 1 MYLDA.AA (A020)
0006 1 MYLDA.BB (A020)
0007 1 MYLDA.[b]YY /b
0008 1 MYLDA.ZZ (A020)
0009 END-DEFINE
0010 FORMAT PS=023 LS=080 ZP=OFF SG=OFF KD=OFF IP=OFF
0011 * MAP2: MAP PROFILES ***************************** 410***********
0012 * .TTAAAMMOO D I D I N D I D I ?_)