Code DINSYML to request the list of symbol names to be passed to JES2 when an internal reader is allocated.
When you code DINSYML, # must be the number of symbol names to be returned, from 1 to a maximum of 128 (X'0080'). If # is less than the number of symbol names that were requested for the DD, only the number of symbol names requested with # are returned, with no indication that there were additional symbol names that were not returned. For each value to be returned, LEN should be 8, and upon return the PARM field will contain the symbol name. Be aware that if a symbol name is shorter than 8 characters, the returned length may be 8 and the PARM field may be padded with blanks.
Example: To request the return of two symbol names for the DD statement with name DD1, code:
KEY # LEN PARM
0001 0001 0003 C4 C4 C1
C02B 0002 0008
0008
Output: KEY # LEN PARM
0001 0001 0003 C4 C4 C1
C02B 0002 0008 D5 C1 D4 C5 E2 40 40 40
0008 C1 C2 C3 40 40 40 40 40