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


Example 12: Multiple REKEY Control Statements

z/OS DFSMSdfp Utilities
SC23-6864-00

In this example, two tape volumes, 005000, and SL8000, are to be rekeyed. Each tape volume is to be rekeyed with different set of key labels and encoding mechanisms.
  //TAPEJOB	JOB	…
  //STEP1	EXEC	PGM=IEHINITT
  //SYSPRINT	DD	SYSOUT=A
  //REKEY4	DD	UNIT=(TAPE,1,DEFER)
  //REKEY5	DD	UNIT=(TAPE)
  //SYSIN	DD	*
    REKEY4	REKEY	SER=005000,												KEYLABL1=firstkeylabel,KEYENCD1=L,
				KEYLABL2=secondkeylabel,KEYENCD2=H
    REKEY5	REKEY	SER=SL8000, 
				KEYLABL1=differentfirstkeylabel,KEYENCD1=L,
				KEYLABL2=differentsecondkeylabel,KEYENCD2=H
  /*
                                                                                              

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014