STREAM

1.Enter the following command to invoke the EDIT subsystem:

:EDITOR

2.Enter the ADD command, then add job ￿le commands, as sho wn:

/ADD

1 !JOB SMITH,USER.TECH

2 !COMMENT THIS JOB RUNS THE MONTHLY UPDATE PROGRAM

3 !FILE INPUT01=TRANS.DATA.ENGR

4 !FILE MASTER;DEV=TAPE

5 !FILE OUTPUT=NEWFILE.PUB.TECH

6 !RUN UPDPROG

7!EOJ

8 //

Note that the ￿rst command is the JOB command and that an exclamation poin t (!) precedes each command.

3.Enter the KEEP and END commands to sa ve your ￿le and terminate the EDITOR subsystem:

/KEEP MYJOB,UNN /END

Scheduling streamed jobs

When you schedule a job for future execution, it en ters the SCHED state. When the speci￿ed time arrives, the job en ters and remains in the WAIT state until the system allo ws the job to execute. You can specify the time a job is to enter the WAIT state in absolute or relativ e time. The di￿erences are as follows:

Absolute

You specify an exact time for the job using the AT parameter

 

with or without the DAY or DATE parameter.
RelativeYou specify a time o￿set from the curren t time using the IN

 

parameter.

If the time that you specify is the same as the curren t time, your streamed job logs on immediately . If the time that y ou specify is earlier than the current time and you do not specify DAY and DATE, a warning message

2-292 MPE/iX Commands