Nireesha234 wrote:Using COBOL or JCL, it's just practically not possible to allocate O/P files dynamically.
It's certainly doable either way, either building dynamic JCL or using dynamic allocation calls in a COBOL program.
Let me ask. Is this a one-time ad-hoc project that you won't need to use again? How much data are you talking about here (don't forget that REXX is very inefficient for large amounts of data)? Is this going to be run in the foreground or in batch? How well-versed are you with using TSO commands?