This statement encrypts the specified file password and outputs the result to SYSOUT.
Purpose of the statement
A protected file was taken from a system with password encryption and added to a system without password encryption (e.g. with ARCHIVE). The catalog entry of the file contains an encrypted password. The file can consequently only be accessed by someone who specifies the encrypted password.
The ENCRYPTD statement encrypts the original password. In contrast to the ENCPASS statement, the user only regains access to the file by entering the encrypted password, e.g. with ADD-PASSWORD.
Format
ENCRYPTD / ED |
fpassword |
Operands
fpassword
File password consisting of 1 to 4 bytes (see “Format conventions for passwords” (Passwords)).
Example
/start-password ENTER COMMAND NOW : *encryptd c'susi' PASSWORD ENCRYPTED IS = X'9A41632A' *end PASSWORD : NORMAL END /