Ohh trust me Billy, I'd love to have a word with the guy who suggested this design...
Keeping that aside, what I am doing now is submitting the SORT step as a seperate job using IEBGENER immediately after the step in which the member containing SORTOUT is created; a small hurdle here though; my member name (I mean the member containing the SORTOUT and not the member containing the SORT JCL), is going to change on every run of the code generating the SORTOUT (this is because different member for different files; this is to facilitate multiple instances of the COBOL to run in parallel creating different o/p SORTOUTs).
Is there a way to pass a symbolic parameter through IEBGENER, which can then be used to resolve symbolics in the submitted (through IEBGENER) JCL.
Thanks again.