09.07.2015 Views

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

LISTCAT Output// VOL=SER=TAPE10,LABEL=(1,NL),DISP=(NEW,KEEP),// DCB=(RECFM=VBA,LRECL=125,BLKSIZE=629)//SYSPRINT DD SYSOUT=A//SYSIN DD *LISTCAT -CATALOG(YOURCAT) -OUTFILE(OUTDD) -.../*Note: Additional keywords can be included.The JOB statement contains user and accounting in<strong>for</strong>mation required <strong>for</strong> yourinstallation.The EXEC statement identifies the program to be run, IDCAMS (that is, the accessmethod services program).vvOUTDD, which specifies an alternate output file, so that the LISTCAT outputcan be written onto an auxiliary storage device. The LISTCAT command’sOUTFILE parameter points to the OUTDD DD statement. Only the LISTCAToutput is written to the alternate output device. JCL statements, systemmessages, and job statistics are written to the SYSPRINT output device.– DSN=LISTCAT.OUTPUT specifies the name <strong>for</strong> the magnetic tape file.– UNIT=3480 and VOL=SER=TAPE10 specifies that the file is to be containedon magnetic tape volume TAPE10.– LABEL=(1,NL) specifies that this is the first file on a nonlabeled tape. You canalso use a standard labeled tape by specifying LABEL=(1,SL). If subsequentjob steps produce additional files of LISTCAT output on the same tapevolume, you should increase the file number in each job step’s LABELsubparameter (that is, LABEL=(2,NL) <strong>for</strong> the second job step, LABEL=(3,NL)<strong>for</strong> the third job step, etc.)– DISP=(NEW,KEEP) specifies that this is a new tape file and is to be rewoundwhen the job finishes. If a subsequent job step prints the tape,DISP=(NEW,PASS) should be specified. If your job step contains more thanone LISTCAT command, use DISP=(MOD,KEEP) or DISP=(MOD,PASS) toconcatenate all of the LISTCAT output in one sequential file.– DCB=(RECFM=VBA,LRECL=125,BLKSIZE=629) specifies that the LISTCAToutput records are variable-length, blocked 5-to-1, and are preceded by anANSI print control character.SYSPRINT DD, which is required <strong>for</strong> each access method services job step. Itidentifies the output queue, SYSOUT=A, on which all LISTCAT output andsystem output messages are printed (unless the OUTFILE parameter and itsassociated DD statement is specified—see OUTDD above).Note: If you want all output to be written to an auxiliary storage device, replaceX'OUTDD' with X'SYSPRINT' in the OUTDD DD statement and omit theSYSPRINT DD SYSOUT=A statement.vSYSIN DD, which specifies, with an asterisk (*), that the statements that followare the input data statements. A ’/*’ ends the input data statements.The LISTCAT command parameters shown in the preceding example are commonto the LISTCAT examples that follow. Other LISTCAT parameters are coded witheach example and the output that results is illustrated. These two parameters areoptional:Appendix B. Interpreting LISTCAT Output Listings 377

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!