Hi all,
I'm new to REXX.
I need to split the I/P file based on a string (Policy number) in the I/P file into multiple O/P files based on the policy number. All the records pertaining to a particular policy number should get into one O/P file. But, the number of different policies is not known before the run. The O/P files need to be allocated dynamically using a suffix in the file name. The O/P files created should be equal to the number of different policies in the Input file.
Can someone help how I can do it using REXX.
Thank you.