You run the WebSphere MQ log print utility as a z/OS batch program. You can specify:
Sample JCL to invoke the CSQ1LOGP utility is shown in figures Figure 70, Figure 71, Figure 72 and Figure 73.
These DD statements should be provided:
The logical record length (LRECL) must be 80, but only columns 1 through 72 are significant; columns 73 through 80 are ignored. At most 50 records can be used. Records with an asterisk (*) in column 1 are interpreted as comments and are ignored.
If you specify the keyword EXTRACT(YES), provide one or more of the following DD statements, depending on what types of data you want to extract. Do not specify an LRECL, as it is set internally by the utility.
If you are processing active log data sets, the utility runs even if WebSphere MQ is running, provided that the BSDS and active log data sets are defined using at least SHAREOPTIONS(2 3).
//PRTLOG EXEC PGM=CSQ1LOGP //STEPLIB DD DISP=SHR,DSN=thlqual.SCSQANLE // DD DISP=SHR,DSN=thlqual.SCSQLOAD //BSDS DD DSN=qmgr.bsds.dsname,DISP=SHR //SYSPRINT DD SYSOUT=* //SYSSUMRY DD SYSOUT=* //SYSIN DD * * extract records for pageset 3. Produce both summary and detail reports PAGESET(3) SUMMARY(YES) /*
//PRTLOG EXEC PGM=CSQ1LOGP //STEPLIB DD DISP=SHR,DSN=thlqual.SCSQANLE // DD DISP=SHR,DSN=thlqual.SCSQLOAD //ACTIVE1 DD DSN=qmgr.logcopy1.ds01,DISP=SHR //ACTIVE2 DD DSN=qmgr.logcopy1.ds02,DISP=SHR //ACTIVE3 DD DSN=qmgr.logcopy1.ds03,DISP=SHR //SYSPRINT DD SYSOUT=* //SYSSUMRY DD SYSOUT=* //SYSIN DD * insert your input control statements here /*
//PRTLOG EXEC PGM=CSQ1LOGP //STEPLIB DD DISP=SHR,DSN=thlqual.SCSQANLE // DD DISP=SHR,DSN=thlqual.SCSQLOAD //ARCHIVE DD DSN=qmgr.archive1.ds01,DISP=SHR // DD DSN=qmgr.archive1.ds02,DISP=SHR // DD DSN=qmgr.archive1.ds03,DISP=SHR //SYSPRINT DD SYSOUT=* //SYSSUMRY DD SYSOUT=* //SYSIN DD * insert your input control statements here /*
//PRTLOG EXEC PGM=CSQ1LOGP ... //CSQBACK DD DSN=backout.dataset,DISP=(NEW,CATLG) //CSQCMIT DD DSN=commit.dataset,DISP=(NEW,CATLG) //CSQBOTH DD DSN=both.dataset,DISP=(NEW,CATLG) //CSQINFLT DD DSN=inflight.dataset,DISP=(NEW,CATLG) //CSQOBJS DD DSN=objects.dataset,DISP=(NEW,CATLG)
Notices |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
csqsaw03132 |