z/OS DFSMSdfp Utilities
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Example 8: Compare Two PDSEs

z/OS DFSMSdfp Utilities
SC23-6864-00

In this example, two PDSEs are compared.
  //DISKDISK  JOB ...
  //          EXEC PGM=IEBCOMPR
  //SYSPRINT  DD  SYSOUT=A
  //SYSUT1    DD  DSN=PDSE1,DISP=SHR
  //SYSUT2    DD  DSN=PDSE2,DISP=SHR
  //SYSIN     DD  *
              COMPARE TYPORG=PO
  /*

PDSEs no longer must be SMS managed. Because these PDSEs are cataloged, you need not specify the UNIT or VOLUME parameters.

The control statements are discussed, as follows:
  • SYSUT1 DD and SYSUT2 DD define input PDSEs, PDSE1, and PDSE2. Because no DCB values are specified, the DCB values that were specified in creating the data sets will be used.
  • SYSIN DD defines the control data set, which follows in the input stream.
  • COMPARE TYPORG=PO indicates that the input data sets are PDSEs.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014