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


Example 13: Multiple Control Statements with NUMBTAPE

z/OS DFSMSdfp Utilities
SC23-6864-00

In this example, three tape volumes 001200, 001201, and 001202 are to be rekeyed with the same key labels specified for the first REKEY control statement with NUMBTAPE specified. The second control statement specifies one tape SL8000 to be rekeyed with different key labels. Note, that KEYLABL2 and its associated KEYENCD2 are omitted, thus the same key label and encoding mechanism values specified for the KEYLABL1 and the KEYENCD1 keywords are used for both key labels.
  //TAPEJOB	JOB	…
  //STEP1	EXEC	PGM=IEHINITT
  //SYSPRINT	DD	SYSOUT=A
  //REKEY6	DD	UNIT=(TAPE,1,DEFER)
  //REKEY7	DD	UNIT=(TAPE)
  //SYSIN	DD	*
    REKEY6	REKEY	SER=001200,NUMBTAPE=3,
				KEYLABL1=firstkeylabel,KEYENCD1=L,
				KEYLABL2=secondkeylabel,KEYENCD2=H
    REKEY7	REKEY	SER=SL8000, 
				KEYLABL1=differentfirstkeylabel,KEYENCD1=L,
  /*
                                                                                              

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014