Using Encrypted Command File - z/OS
Using Encrypted Command File on z/OS
For z/OS, the Universal Command Manager -encryptedfile option specifies the ddname in the JCL that references the location of the Uencrypted file.
//UCM#000 JOB CLASS=A,MSGCLASS=X,NOTIFY=&SYSUID
//*
// JCLLIB ORDER=#HLQ.UNV.SUNVSAMP
//*
//STEP1 EXEC UCMDPRC
//UENCRYPT DD DISP=SHR,DSN=TEST.UENFILES(TESTPWD)
//COMMANDS DD *
DIR
//SYSIN DD *
-host 10.252.2.232
-userid "testid"
-encryptedfile UENCRYPT
-script COMMANDS
SYSIN Options
The SYSIN options used in this example are:
Option | Description |
|---|---|
List of one or more hosts upon which a command can run. | |
User ID or account with which to execute the remote command. | |
Encrypted command file. | |
Local script file to execute on the remote system. |