CATEARL18 report

Document ID : KB000014897
Last Modified Date : 14/02/2018
Show Technical Document Details
Question:

Differences between DSN and VSN used on the PARM of the TLERPT18 ?   

Environment:
Z/OS TLMS 12.6 - 14.0
Answer:

TLERPT18 lists user-specified fields in VSN or DSN order. The user specifies the fields to be reported on by listing the field names in the order they are to appear. You can specify the field names on any number of statements but the total of their lengths cannot exceed 130 characters.

 

You can use an optional parameter to specify the report order and a title. The default order is by dataset name. If the first 3 characters of the parm are not VSN, the report is one line for each dataset on the VMF in order by DSN then VSN. This is true no matter which field is specified first.

 

When the first 3 characters of the parm are VSN, the report is in VSN order with one line for each volume. The DSN field value is for the first DSN on each volume.

 

The field named DSN is 44 characters long. A shortened version of this field can be obtained by specifying a short DSN field name. For example, DSN_15 is a field containing the first 15 characters of the DSN. Fields DSN_3 through DSN_43 are available. The report is sorted by the entire 44 characters of the DSN.

Additional Information:

Samples:

SAMPLE 1 - USER REPORT BY DATA SET NAME

// EXEC CATERL18,

// PRM='DSN,USER REPORT BY DSN ' //CATECOGO.SYSIN18 DD * DSN_20 VOLSER FILESEQ VOLSEQ VOLUME_COUNT DSN_KEEP_DATE

SAMPLE 2- USER REPORT BY VSN

// EXECCATERL18,

// PRM='VSN,USER REPORT BY VSN'

//CATECOGO.SYSIN18 DD *

VSN DSN_5 FILESEQ VOLSEQ VOLUME_COUNT VOLUME_KEEP_DATE

SAMPLE 3 - USER REPORT BY VSN (TLMS018 field names)

// EXEC CATERL18,

 

// PRM='VSN,USER REPORT BY VSN' //CATECOGO.SYSIN18 DD * VSN DSN_20 FILESEQ VOLSEQ VOLCNT KEEPDT