Return MAXGENS generation information - Key = 'C02D'
Code DINRMAXG to retrieve the number of generations of members to keep.
When you code DINRMAXG, # must be 1, LEN must be 1, length must be 4, and the PARM field will contain the number of generations to be kept.
Example: To request the number of generations to be kept for the DD statement with name DD1, code:
Input:
KEY # LEN PARM
0001 0001 0003 C4 C4 C1
C02D 0001 0001
Output: KEY # LEN PARM
0001 0001 0003 C4 C4 C1
C02D 0001 0001 05
In
this example, the maximum number of generations for a member in a
PDSE (Version 2) is 5.Note: For this text unit, the information
specified by the user in JCL or via dynamic allocation text units
is retrieved via the Scheduler JCL Facility (SJF). If the information
was not available, no information is returned.