search cancel

convert #JI statements to an AGJOB System Agent

book

Article ID: 188617

calendar_today

Updated On:

Products

CA 7 Workload Automation

Issue/Introduction

Currently, we have a UUJMA job utilizing #JI statements depending on what SCHID the job runs.
Is there a way to convert #JI statements to an AGJOB System Agent?

 

Environment

Release : 12.0

Component : CA-7

Resolution

You can use #JI cards in both UUJMA and SYSTEM agent jobs. Below is a sample system agent job with #JI cards:
 

CMDNAME "D:\TIAAPROCS\POT2030D.CMD" 
#JI,ID=001                          
ARGS INPUT1                         
#JI,ID=002                          
ARGS INPUT2                         
INTERACTIVE YES                     
EXITCODE 0000 SUCCESS               
EXITCODE 0-9999 FAILURE             
#JEND