Directory Listing for Windows Server from zOS

Directory Listing for Windows Server from z/OS

This example demonstrates executing a simple Windows command from z/OS using the COMMAND option, as opposed to the SCRIPT option.

The Windows DIR command is executed in this example. The DIR 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.


SYSIN Options

The SYSIN options used in this example are:

Option

Description

-cmd

Command to be executed on the remote system.

-host

Host name or IP address of the remote system on which to execute the script.

-userid

Remote user ID with which to execute the command.

-pwd

Password for the user ID.

Components

Universal Command Manager for z/OS