
RESET
9-18 User Reference
Connectivity Systems, Inc.—Copyright © 2006
Use Pursuant to Company Instructions
Example The following restart job example shows JMCL parameters working
together.
// JOB EXAMPLE TYPRUN=RESTART,RESET,TIME=240
* JMCL HOLD
// OPTION LOG &1=PAYROLL
* JMCL &2=PAYROLL
* JMCL GOTO=STEP2
// ASSGN SYS001,DISK,VOL=VOLUME,SHR
// DLBL SORTWK1,'==.SORTWK1(P)'
// EXTENT SYS001
// DLBL SORTIN,'&1.INPUT'
// DLBL SORTOUT,'&2.OUTPUT'
// EXEC SORT DATA
sort statements
/*
* JMCL NAME=STEP2
* JMCL IF=(DATE EQ **-**-01,TIME LT 19-00-00),GOTO=STEP3
// DLBL INPUT,'&1.INPUT'
statements
* JMCL NAME=STEP3
statements
/&
RESET resets any JMCL parameters established in a previous job. The
TIME parameter limits the execution of the job to 4 hours.
Since the example is a restart job, GOTO bypasses the first step, which
completed successfully in a previous execution. GOTO is placed after the
symbolic replacement definitions so that the definitions remain in effect.
The DATA parameter allows BIM-EPIC to bypass the sort control
statements, SYSIPT data. TYPRUN=RESTART is specified so that the
sort work area in the bypassed step is deleted. The data was retained in the
previous execution because of JMCL HOLD, specified in the second
statement.
The * JMCL NAME=STEP2 statement defines the point at which
processing should resume after the GOTO branch. The next statement
tests the date and time. If it is the first of the month and earlier than 7:00
p.m., BIM-EPIC branches to the statement
* JMCL NAME=STEP3. If either condition is false, processing continues
with the // DLBL INPUT statement.
Both the &1 and &2 symbols are replaced with PAYROLL.
Comentarios a estos manuales