Joined: 26 Apr 2004 Posts: 4650 Location: Raleigh, NC, USA
Sushanth, I think that whether or not you know REXX is irrelevant. I think that it's more important that you know how to define and use ISPF File Tailoring logic. What language you ultimately choose to use to call those ISPF services is rather unimportant.
If you know how to use File Tailoring, fine. If you want to use ISPF Libray Management (LM) Services in a program, fine. If you don't, than maybe you should consider some other method. Keep in mind that IEBPTPCH is only for PDS's that are RECFM=FB and LRECL=80. The overall task seems relatively simple:
- Read a record from the input file.
- Create a job that uses IEBPTPCH and SORT to format the output to your specific requirements, along with the unique dataset names that you required for your output.
- Submit that job.
- Go back and do the same thing for the next record.