Start of change

Return DSNTYPE version information - Key = 'C02C'

Code DINRDSNV to retrieve the data set type version information.

When you code DINRDSNV, # must be 1, LEN must be 1, and the PARM field will contain the DSNTYPE version number.

Example: To request the return of the data set type and version for the DD statement with name DD1, code:

Input:
     KEY    #       LEN   PARM    
     0001   0001    0003  C4 C4 C1
     C012   0001    0001    
     C02C   0001    0001    
    
Output:
     KEY    #       LEN   PARM     
     0001   0001    0003  C4 C4 C1 
     C012   0001    0001  80 
     C02C   0001    0001  02
    
In this example, the data set type represents a library (PDSE) version 2.
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.
End of change