The DECRYPT function takes an encrypted tape and copies the data to a new tape, decrypting the data in the process. If the encrypted tape has more than one volume, DECRYPT takes the first volume.
Note that locateblock information on a decrypted tape does not match stored locateblock information, either on the tape or on a disk directory. For library maintenance tapes with disk directories, you can either decrypt to a different serial number, which causes the on-disk directory not to be referenced, or you can use the RECREATE_DIR function to re-create the directory. For DMS tapes, you can similarly re-create the directory or force DMS to not use the locateblock information.
In a typical decrypt, the serial number of the output tape remains unchanged. In order to change the serial number of the output tape, you can use the AS clause.
The passphrase supplied must be the same passphrase given during the encryption process.
Examples
The following are examples of commands using the DECRYPT function:
-
U TSU DECRYPT MYTAPE(PASS) TO NEW
-
U TSU DEC ENCTAP (MEMEME) AS NEWTAP TO TAPE
Sample Run
The following is an example of the output of a DECRYPT run.
U TSU DECRYPT MYENC(PASS) TO NEWTAP #RUNNING 15824 DECRYPTING FROM TAPE [MYENC ] ON MT32 SUCCESSFULLY DECRYPTED MYENC TO [NEWTAP] ON MT33 DECRYPT COMPLETED FROM TAPE [MYENC ] ON MT32 #ET=27.9 PT=0.1 IO=14.3