I have a production job which executes daily, this job executes a proc, which has around 15 steps: but this proc contains FTP step, which needs to be executed only during the last working day of the month. This is implemented using the logic which is given below:
Proc contains this sybolic parameter, which is included in the FTP step,
These steps are also executed only during month end...
but in the step185, parameter COND=(&COND174,(1,GE,step180))
will become false if any one condition is false and executes the abend step, i.e if COND174 is nullified, the job will abend even though ,(1,GE,step180) condition is true, which is an OR operation, I want to bypass this step until both conditions yields FALSE result, please advise on how we can do this.
Joined: 23 Nov 2006 Posts: 19270 Location: Inside the Matrix
Do you have a resolution for this?
If not, you might consider changing the original job to conditionally submit the FTP processing as a new job via the internal reader. The current method of detecting month-end would remain the same.
The current FTP step would become an IEBGENER step to submit the validation, ftp, and abend steps as the "new" job.
While using the internal reader is quite handy, it is not acceptable in all production environments. I'd recommend talking with your scheduling people to see if the internal reader is ok or if the "new" job should be automatically run at month via your scheduling software - if installed.