Download Memorex LOCK - VERSION 2-24 Technical information
Transcript
IF and Conditions Example Parameter Definition TIME Specified in hh-mm-ss format. To test only a portion of the date and time, supply only the portion you want to test. You can use asterisks (*) as fillers for beginning parts of the field. For example, to test for the first day of the month, specify IF=(DATE EQ **-**-01). To test for January, specify IF=(DATE EQ **-01). The following provides several examples of IF job statements. * JMCL IF=(HC EQ 99),GOTO=JOBEND * JMCL IF=(PART NE BG,CPU EQ 5),GOTO=BGSTEP // EXEC PHASE1 IF=(CC LT 16) The first statement tests the highest condition code. If the highest condition code is 99, BIM-EPIC branches to the end of the job. The second statement uses the AND condition. If the job is not running in the BG partition but is running on CPU 5, a branch is made to BGSTEP. If neither of these tests is true, the job continues with the EXEC statement. However, PHASE1 only executes if the current condition code is less than 16. 9-12 Connectivity Systems, Inc.—Copyright © 2006 Use Pursuant to Company Instructions User Reference