/
Directory Listing for UNIX Server from zOS
Directory Listing for UNIX Server from zOS
Directory Listing for UNIX Server from z/OS
This example demonstrates executing a simple UNIX command from z/OS using the COMMAND option, as opposed to the SCRIPT option.
The UNIX ls command is executed in the example. The ls command writes the file listing to its standard out, which is redirected to the UCMD Manager on z/OS. The UCMD Manager writes the standard out to ddname UNVOUT.
//jobname JOB CLASS=A,MSGCLASS=X,NOTIFY=&SYSUID //* // JCLLIB ORDER=SBI.UNV.SUNVSAMP //* //STEP1 EXEC UCMDPRC //SYSIN DD * -cmd "ls -l /opt/universal/bin" -host hostname -userid username -pwd password /*
SYSIN Options
The SYSIN options used in this example are:
Option | Description |
---|---|
Command to be executed on the remote system. | |
Host name or IP address of the remote system on which to execute the script. | |
Remote user ID with which to execute the command. | |
Password for the user ID. |
Components
Universal Command Manager for z/OS
, multiple selections available,
Related content
Directory Listing for UNIX Server from zOS
Directory Listing for UNIX Server from zOS
More like this
Directory Listing for UNIX Server from zOS
Directory Listing for UNIX Server from zOS
More like this
Directory Listing for UNIX Server from zOS
Directory Listing for UNIX Server from zOS
More like this
Directory Listing for UNIX Server from zOS
Directory Listing for UNIX Server from zOS
More like this
Directory Listing for Windows Server from zOS
Directory Listing for Windows Server from zOS
More like this
Directory Listing for Windows Server from zOS
Directory Listing for Windows Server from zOS
More like this