Hello,
I am trying to dynamically allocate files on Unix on z/os. There will be multiple files generated for each input record and all the output files will have same DDNAME. I am able to allocate these file but all the output records are written in single file.
I am closing the file after each record is written and allocating a different file again, but still the records are in same file. how to write multiple files for multiple input records using BPXWDYN? Please help
TIA
Heisenberg
01 W-STRING-ALLOC PIC X(200) VALUE 'FREE DD(OTFILE)'.
CALL BPXWDYN USING W-STRING-ALLOC