There is an input file which contain some input records ,deleted records
and some pair of input and deleted records,I want to write the three into different ps files
example of input records:
I - 00037000325697D10603000434040PRINGLES PAPRIKA 200G
I - 00037000325703D10603000438590PRINGLES CHS&ONION 200G
I - 00038785010532W10603000007661AUSSIE MEGA INS COND 250
D - 00038785010532W10603000007661AUSSIE INS.DLY.COND.250M
I - 00038785010532W12132000007661AUSSIE MEGA INS COND 250
D - 00038785010532W12132000007661AUSSIE INS.DLY.COND.250M
D - 03171310006352W10712000411063LE PIAT D'OR WHITE 75CL X12
D - 03171310006352W52877000411063LE PIAT D'OR WHITE 75CL X12
D - 03171310006352W53274000411063LE PIAT D'OR WHITE 75CL X12
can any one of u help me out in this it would be a great help if u do so
It's not clear what you want to do. You show I records as both insert records and paired records, and D records as both paired records and delete records, but you don't explain the criteria you're using to decide which they are. You need to explain the rules for going from input to output.
Also, give the RECFM and LRECL of your input file.