Define Job, Run Job, Get Output, and Purge Job
Define Job, Run Job, Get Output, and Purge Job
This example uses an existing job in an SAP system as a model and creates a copy.
The newly created job then is started. Universal Connector waits for the job to finish, and then writes the joblog to standard error and the spoollists to standard out.
Finally, the job and its output are purged from the SAP system.
usap -sub -j SAMPLE1 -b 10080901 -start -wait -purge -userid sapuser -pwd sappwd -dest BIN_HS0092 -client 800
Command Options
The command options used are:
Command Options | Description |
---|---|
Submit command which defines a job to an SAP system. The lack of a job definition file indicates that the definition will use an existing job as a model. That job will be identified by -jobname and -jobid. | |
Specification that the job should be started. | |
Causes Universal Connector to wait for the job to complete. | |
Specification that the job and its associated output are to be purged from the SAP system. | |
External SAP user ID with which the command is executed. | |
Password for the user ID. | |
Destination name in the saprfc.ini file. | |
SAP client number. |
Components
Universal Connector for SAP for UNIX