Joined: 22 Apr 2006 Posts: 6258 Location: Mumbai, India
- For empty file, you can code a step using IDCAMS/SORT, based upon the RC of this step you can EXECute the "back-up" step, with COND.
but the problem is if any steps added in between then need to change the second proc also.
- Do you add "other" steps just after 103 ? If so, probably giving a different name to this step or keeping the step number big enough so that it doesn't need any cahange even if some other step is sandwiched, might help..