Previous Topic: Checking Schedule IDsNext Topic: Other Scheduling Methods


Triggering Other Jobs

We now use the schedule ID 2 to tell CA WA CA 7 Edition to run NAMED after NAMEA on Mondays. We do this triggering by returning to the Job Triggering screen for NAMEA and adding NAMED to it. Enter DB.2.4. When you press Enter, the Job Triggering screen is displayed again:

--------------------------- CA-7 JOB TRIGGERING ---------------------------- FUNCTION: (FORMAT,LIST,UPD) PAGE 0001 JOB: OPT SCHID TRGD-JOB TRGID DOTM QTM LDTM SBTM *---- EXCEPTIONS ----* OPTIONS: A=ADD,D=DELETE,U=UPDATE,*=PROCESSED,?=ERROR PROGRAM: SM75 MSG-INDX: 00 -- DB.2.4 -- yy.ddd / hh:mm:ss MESSAGE: ENTER FUNCTION, TRANSFER OR ENTER A COMMAND ON THE TOP LINE

To display the jobs that NAMEA currently triggers, enter LIST in the FUNCTION field and NAMEA in the JOB field.

When you press Enter, the NAMEA triggering record is displayed:

--------------------------- CA-7 JOB TRIGGERING ---------------------------- FUNCTION: LIST (FORMAT,LIST,UPD) PAGE 0001 JOB: NAMEA OPT SCHID TRGD-JOB TRGID DOTM QTM LDTM SBTM *---- EXCEPTIONS ----* 001 NAMEB 0030 0030 OPTIONS: A=ADD,D=DELETE,U=UPDATE,*=PROCESSED,?=ERROR PROGRAM: SM75 MSG-INDX: 00 -- DB.2.4 -- yy.ddd / hh:mm:ss MESSAGE: LIST FUNCTION SUCCESSFUL END OF DATA REACHED

To trigger NAMED from NAMEA on Mondays, fill in these fields:

FUNCTION:

Change LIST to UPD.

OPT

Tab down to the line below NAMEB and enter A under OPT.

SCHID

Enter 2 because we want to trigger NAMED on Mondays when NAMEA runs under schedule ID 2.

TRGD-JOB

Identify the job that is to run after NAMEA under schedule ID 2: NAMED.

QTM

Specify 15 to indicate that NAMED is late when it has to wait more than 15 minutes before it starts processing.

LDTM

Assume that NAMED takes one hour to process (0100).

When these fields are filled in, press Enter and watch for the UPD FUNCTION SUCCESSFUL message at the bottom of the screen:

--------------------------- CA-7 JOB TRIGGERING ---------------------------- FUNCTION: UPD (FORMAT,LIST,UPD) PAGE 0001 JOB: NAMEA OPT SCHID TRGD-JOB TRGID DOTM QTM LDTM SBTM *---- EXCEPTIONS ----* 001 NAMEB 0030 0030 * 002 NAMED 000 0010 0100 OPTIONS: A=ADD,D=DELETE,U=UPDATE,*=PROCESSED,?=ERROR PROGRAM: SM75 MSG-INDX: 00 -- DB.2.4 -- yy.ddd / hh:mm:ss MESSAGE: UPD FUNCTION SUCCESSFUL ENTER INPUT FOR NEXT REQUEST

The time entries for NAMED are displayed.

The 15 minutes you specified for QTM is automatically rounded down to 10 minutes.

From now on, whenever NAMEA ends successfully on Monday (when it runs under schedule ID 2) NAMED is scheduled.