Pls could you provide me an ICETOOL card to suffice the following:
LRECL 72, Format FB
File contains set of 17 rows from 001 to 017 per customer_Id level. Customer_id at 001.. rows 42 to 60.
................
---+----1----+----2----+----3----+----4----+----5----+----6----+----7
03560P00000000 001123456789124Customer_Id_19bytes
03560P00000000 002EMPLOYER_Name
03560P00000000 003Address_Details
03560P00000000 004DEFAULT
06560P00000000 01000000000000012341002000000195019 51 <--Check & remove zeroes
06560P00000000 011Customer_Name
06560P00000000 012Address XXXX
06560P00000000 013 Address XXXX
06560P00000000 014 Address XXXX
06560P00000000 015
06560P00000000 016REFUND
06560P00000000 017Product_Name Case_Id
..................
---+----1----+----2----+----3----+----4----+----5----+----6----+----7
03560P00000000 001123456789124Customer_Id_19bytes
03560P00000000 002EMPLOYER_Name
03560P00000000 003Address_Details
03560P00000000 004DEFAULT
06560P00000000 01000000000000012341002000000195019 51 <--Check & remove zeroes
06560P00000000 011Customer_Name
06560P00000000 012Address XXXX
06560P00000000 013 Address XXXX
06560P00000000 014 Address XXXX
06560P00000000 015
06560P00000000 016REFUND
06560P00000000 017Product_Name Case_Id
..................
Requirement is to remove these set of 17 rows whenever the detail record at 010 is succeeded by 000000000000 (12 bytes) , ie, when COND (26,3, CH, EQ'010') and when (29,12,CH,EQ'000000000000') then build a new file excluding these and allowing all other sets of 17 rows in the new file.
Regards,
Saurabh