Remote Execution via Universal Command - Examples
Introduction
The Remote Execution examples illustrated in these pages are specific to the operating systems supported by Universal Agent.
Links to detailed technical information on appropriate Universal Agent components are provided for each example.
Note
In order to keep the examples as clear as possible, they do not check for error conditions. If any example is adopted for production use, it is recommended that you add appropriate error processing.
Remote Execution Examples - z/OS
- Back up UNIX Directory to z/OS Dataset
- Restore UNIX Directory Backup from z/OS Dataset to UNIX Directory
- Directory Listing for UNIX Server from z/OS
- Directory Listing for Windows Server from z/OS
- Provide Network Status of Remote UNIX from z/OS
- Use UNIX tee Command to Store stdout to Local Server and z/OS
- Use an Encrypted Command File for User ID and Password on z/OS
- Override Standard z/OS IO File ddnames
- Override z/OS Standard Files with Procedure Symbolic Parameters
- Specifying UCMD for z/OS Options with the EXEC PARM
- Executing an Existing Windows .bat File from z/OS
- Using Manager Fault Tolerance from z/OS
- Restarting a Manager Fault Tolerant UCMD Manager on z/OS
- Automatically Create a Unique z/OS Command ID Using CA-Driver Variables
- Automatically Create a Unique z/OS Command ID Using Zeke Variables
- Automatically Create a Unique z/OS Command ID Using OPC Variables
- Universal Submit Job from z/OS to IBM i Using Remote Reply Facility
- Executing Universal Return Code within a Script via UCMD Manager for z/OS
- Executing URC and UMET within a Script via UCMD Manager for z/OS
- Using Encrypted Command File on z/OS
Remote Execution Examples - Windows
- Back up UNIX Directory to Windows
- Restore UNIX Directory Backup from Windows to UNIX
- Provide Network Status of Remote UNIX from Windows
- Redirect Standard Out and Standard Error to Windows
- Start UNIX Background Process from Windows
- Redirect Standard Input from Initiating System on Windows
- Universal Submit Job from Windows to IBM i
- Using Encrypted Command File on Windows
Remote Execution Examples - UNIX
- Provide Network Status of Remote Windows from UNIX
- Redirect Standard Out and Standard Error to UNIX
- Redirect Standard Input from Initiating System to UNIX
- Redirect Standard Input in UNIX Background Process
- Issue Universal Submit Job from UNIX to IBM i
- Using Encrypted Command File on UNIX
Remote Execution Examples - IBM i
- Provide Network Status of Remote Windows from IBM i
- Execute Script to Provide Network Status of Remote Windows from IBM i
- Display Library with Manager Fault Tolerance Active Using USBMJOB
- Universal Submit Job from zOS to IBM i
- Using Encrypted Command File on IBM i
Note
These examples reference the IBM i commands by their untagged names. If you are using commands with tagged names to run Universal Command, substitute the tagged names for these untagged names. (For information on tagged names, see UCHGRLS (Change Release Tag) Program.)