z/OS DFSMShsm Diagnosis
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Copying the PDA trace data set to tape

z/OS DFSMShsm Diagnosis
GC52-1387-00

This JCL shows a method of copying the PDA trace data set to tape.
   //PDACOPY JOB MSGCLASS=A
   //S1 EXEC PGM=IEBGENER
   //SYSPRINT DD SYSOUT=A
   //SYSIN DD DUMMY
   //SYSUT1 DD DSN=HSM.PDOY,DISP=SHR
   //SYSUT2 DD DSN=OW99999.PDOY,LABEL=(1,SL),VOL=SER=TAPE01,
   //          DISP=(NEW,KEEP),UNIT=TAPE

Frequently, only several minutes or an hour of the PDA trace is required. To reduce the amount of data to be copied, use the DFSMShsm trace formatter program, ARCPRPDO, to copy all trace entries created during the time span of interest. The example below copies the trace records created from Julian date 02.277 at 23:50:05 (50 minutes and 5 seconds past 11 p.m.) through 02.278 at 00:10:00 (10 minutes past midnight). Also, if the time span required is included in several PDA data sets, the data sets may be concatenated in chronological order in the JCL.

   //PDACOPY  JOB  MSGCLASS=A
   //S1       EXEC PGM=ARCPRPDO
   //ARCMSG   DD   SYSOUT=*
   //ARCPRINT DD   SYSOUT=*
   //ARCPDO   DD   DSN=HSM.PDOY,DISP=SHR
   //ARCOUT   DD   DSN=OW99999,PDOY,LABEL=(1,SL),VOL=SER=TAPE01,
   //     DISP=(NEW,KEEP),UNIT=TAPE
   //SYSIN    DD   *
      COPY
      NOPRINT
      START(02277,235005)
      END(02278,001000)

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014