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


Example 5: Write EBCDIC Labels in Different Densities

z/OS DFSMSdfp Utilities
SC23-6864-00

In this example, serial number TAPE1 is placed on a tape volume, and serial numbers 001234 and 001235 are placed on two tape volumes. The labels are written in EBCDIC at 800 and 1600 bits per inch, respectively.
  //LABEL5   JOB  ...
  //STEP1    EXEC PGM=IEHINITT
  //SYSPRINT DD  SYSOUT=A
  //LABEL1   DD  DCB=DEN=2,UNIT=(tape,1,DEFER)
  //LABEL2   DD  DCB=DEN=3,UNIT=(tape,1,DEFER)
  //SYSIN    DD  *
  LABEL1  INITT   SER=TAPE1
  LABEL2  INITT   SER=001234,NUMBTAPE=2
  /*
The control statements are as follows:
  • LABEL1 DD and LABEL2 DD define two tape volumes to be used in the labeling operation.
  • SYSIN DD defines the control data set, which follows in the input stream.
  • LABEL1 INITT places the serial number TAPE1 on the tape volume defined in LABEL1 DD. LABEL2 INITT places the serial numbers 001234 and 001235 on the tape volume defined in LABEL2 DD.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014