STREAM

Sometimes you may enter a stream job in tending it to be in troduced at a certain time, but the system in terprets your entry di￿erently than your intentions, as illustrated in the follo wing examples:

STREAM JOBFILE; DAY=MON;

Since the time speci￿ed (8:00 am) is earlier than

AT=8:00

the current time, JOBFILE will be introduced at

 

8:00 am, Monda y, June 17.

STREAM JOBFILE; DAY=5

Since the day of the month (5) is earlier than

 

the current day (8), the next mon th is assumed.

 

Since no time was speci￿ed, JOBFILE will be

 

introduced on Saturda y, July 6, at 12:00 pm.

STREAM JOBFILE; DAY=31

Since June 31 does not exist, the next mon th

 

is assumed. Since July 31 does exist, this is a

 

legal command. JOBFILE will be introduced on

 

Wednesday, July 31, at 12:00 pm. If July 31 did

 

not exist, this command w ould cause an error.

STREAM JOBFILE; DAY=-2

The -2 means the second to last da y of the

 

month, and since no time w as speci￿ed,

 

the current time is used. JOBFILE will be

 

introduced on Sunday, June 30, at 12:00 pm.

STREAM JOBFILE; DAY=-25

The -25 means the twenty-￿fth day from the

 

end of the month. If one assumes the curren t

 

month, that implies June 6, but June 6 is earlier

 

than the current day; therefore, the next mon th

 

is assumed. JOBFILE will be introduced on

 

Sunday, July 7, at 12:00 pm.

STREAM JOBFILE;

Since the speci￿ed time is earlier than the

DATE=6/8/87; AT=8:00

current time, this command is not permissible,

 

and it causes an error.

STREAM JOBFILE;

The speci￿ed time is later than the curren t

DATE=6/8/87; AT=20:00

time, so this command is permissible. JOBFILE

 

will be introduced on Monda y, June 10, at 8:00

 

pm.

MPE/iX Commands 2-295