/
Define Job, Run Job, Get Output, and Purge Job

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

/wiki/spaces/UA73/pages/3778891

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.

/wiki/spaces/UA73/pages/3778898

Specification that the job should be started.

/wiki/spaces/UA73/pages/3770505

Causes Universal Connector to wait for the job to complete.

/wiki/spaces/UA73/pages/3778954

Specification that the job and its associated output are to be purged from the SAP system.

/wiki/spaces/UA73/pages/3778689

External SAP user ID with which the command is executed.

/wiki/spaces/UA73/pages/3778940

Password for the user ID.

/wiki/spaces/UA73/pages/3778724

Destination name in the saprfc.ini file.

/wiki/spaces/UA73/pages/3778945

SAP client number.

Components

/wiki/spaces/UA73/pages/3769915

/wiki/spaces/UA73/pages/3769913

Related content