DBM Reporting or DBM via BTI Possibilities via Batch (BTI)?
search cancel

DBM Reporting or DBM via BTI Possibilities via Batch (BTI)?

book

Article ID: 250233

calendar_today

Updated On:

Products

CA 7 Workload Automation

Issue/Introduction

What are the batch keywords to add a CA 7 job to the database and schedule it to run on Mondays, Wednesdays and Fridays, but not on the last day of the month and not on the second Tuesdays of the month, then requiring the scheduled job to trigger a successor job?  Is it possible to modify the database via BTI?  What are the keywords for the above?

Resolution

Yes, the CA 7 Database can be populated, modified via the Batch Terminal Interface (BTI).  The batch keywords are different than the online keywords.  The batch keywords can be located in the Database Maintenance Guide for each panel.  Below are sample input to add a CA 7 job to the database and schedule it to run on Mondays, Wednesdays and Fridays, but not on the last day of the month and not on the second Tuesdays of the month, then requiring the scheduled job to trigger a successor job:

ADD,JOBA,SYSTEM=JOBA,JCLID=025,RELOAD=N,OWNER=REGLVL1,JOBNET=PROD
SCHD                                                      
JOB                                                       
EDIT                                                      
ADD,SCHID=010,ROLL=D,INDEX=+000,TIME=(1300,0010),WEEKLY=Y,
DAYS=(,X,X,,,,)                                           
ADD,SCHID=020,ROLL=D,INDEX=+000,TIME=(1300,0010),WEEKLY=Y,
DAYS=(,,,X,X,,)                                           
ADD,SCHID=030,ROLL=D,INDEX=+000,TIME=(1300,0010),WEEKLY=Y,
DAYS=(,,,,,X,X),MONTHLY=Y,RDAYS=/-0                       
SAVE                                                      
SAVE,JOB=JOBA,SCAL=7D       
DBM                                                                   
RESOLV,SCAL=7D,TEST=NO,JOB=JOBA                                    
SCHD                                                                  
TRGR                                                                  
UPD,JTRG,JOB=JOBA,OPT=A,TJOB=JOBB,SCHID=000,QTM=0010,LEADTM=0000