Page 1 of 1

STEPXXX FLUSH

PostPosted: Fri Dec 28, 2007 7:02 pm
by pawelo
Hi all

I got a cyclic job, that merges several files and creates one on output. Works well, but ... :)
When one of files does not exist, job ends with strange "FLUSH" word instead of RC.
I'd like to stop this cyclic job in case flush occurs (By "STOP" i mean stop cycle, that job will not be in state "waiting schedule" after bad run).
Is it somehow possible through either JCL or SCH ?

Best regards!

Re: STEPXXX FLUSH

PostPosted: Fri Dec 28, 2007 8:29 pm
by pawelo
As usual change was nice and small.
In sch definition for my job i had stop condition such as
IF ANYSTEP ENDS WITH RC > C0004 DO STOPCYCL.
i changed it to
IF ANYSTEP ENDS WITH RC NOTOK DO STOPCYCL.

and from now, when step020 ends with flush signal, jcl ends and stopps cycle :)
question closed.
:D

Regards

Re: STEPXXX FLUSH

PostPosted: Mon Dec 31, 2007 1:50 pm
by arunprasad.k
What Utility you are using?

It would be great if you could post your error messages and some sample code.

Arun.