Cisco Cisco Workload Automation 6.3 User Guide

Page of 78
28
Defining SAP Jobs
Copying Job Steps from an Existing SAP Job
Selecting the 
External Program
 option displays the 
SAP Job Step Details
 dialog with an 
External Program
 
tab. Define a new external program job step by entering the appropriate information. 
Selecting the 
External Command
 option displays the 
SAP Job Step Details
 dialog with an 
External Command
 
tab. Define a new external command job step by entering the appropriate information. 
If the connection is to a BW instance, two additional job step options are available. Selecting the 
Infopackage 
(BW)
 option displays the 
SAP Job Step Details
 dialog with an 
Infopackage
 tab. Define an infopackage job step 
by entering the appropriate information. 
Selecting the 
Process Chain (BW)
 option displays the 
SAP Job Step Details
 dialog with a 
Process Chain
 tab. 
Define a process chain job step by entering the appropriate information.
Note: 
No other job steps can be added to a job if an infopackage or a process chain job step is selected.
Clicking 
Edit Step
 after selecting a job step displays the 
SAP Job Step Details
 dialog showing the characteristics 
of the job step.
Clicking 
Delete Step
 deletes a selected job step.
Clicking the 
Move Up 
or 
Move Down 
button changes the sequence in which the selected job step is executed.
Clicking the 
Clear
 button, deletes the job steps displayed in the 
SAP Job Steps
 pane.
If job creates children, evaluate status of both parent and children
 – Selected by default, this option 
ensures that the status of the parent job cannot be evaluated until all of the child jobs it generates have completed. 
This means that the success of the parent job is determined by the success of its children. A child job that completes 
abnormally will ensure that the parent job completes abnormally also. If this option is cleared, the status of the parent 
job is determined as soon as it completes regardless of the status of its children. This means that the success of the 
parent job is independent of the successful completion of its children. 
Include application log in the job output
 – Deselected by default. When selected and if a program creates an 
application return code that writes entries to the applicaiton log, the applicaiton returns code and the content of the 
log is displayed. The 
Save Output
 option on the 
Job Definition
 dialog must be set to 
Append
 or 
Replace with 
Summary Only
 option deselected.
10.
Click 
OK
.
Copying Job Steps from an Existing SAP Job
You can create a new SAP job in CWA based on a CCMS job that has already run or has been scheduled with a unique 
SAP job ID. The new job will either be linked to the original job or it will be a copy of the original.
To copy job steps from an existing job:
1.
Click 
Import
 to load the job steps from the SAP job entered in the 
Copy Existing SAP Job 
list to the CWA 
database. 
2.
Click 
Link
 to display data in the 
SAP Job Steps
 pane from the SAP job in the 
Copy Existing SAP Job
 list. This 
creates a link to the job’s definition in the SAP database. 
Linked Jobs vs. Imported Jobs
If your new job is linked to the original job, it refers back to the original definition when it runs. If you make changes to 
the job steps of a linked job, the changes are made directly to the SAP database. 
If your new job is imported from an existing job, the data is copied to the CWA database and any changes apply to the 
copy, not the original SAP job. Importing a previously run (or scheduled) job is equivalent to using the original job as a 
template, so the new job has no further connection to the original job.