Remove records according to a list
Posted: Tue Feb 08, 2011 4:54 pm
Hello,
I want to omit all records in a PS-File according to a list of chars in another file and do this using DFSort/Icetool.
Example:
File:
abcdef1234567ghijklmn
abcdef2345678ghijklmn
abcdef3456789ghijklmn
abcdef4567890ghijklmn
File2:
2345678
3456789
I want to omit all records that include the chars in File2 on column 6 length 7. There can be more than one entry in the first file that includes the char in file2. All of them have to be deleted.
The last PTF-Packages has been installed on the mainframe system.
Thank you in advance,
regards,
Oliver
I want to omit all records in a PS-File according to a list of chars in another file and do this using DFSort/Icetool.
Example:
File:
abcdef1234567ghijklmn
abcdef2345678ghijklmn
abcdef3456789ghijklmn
abcdef4567890ghijklmn
File2:
2345678
3456789
I want to omit all records that include the chars in File2 on column 6 length 7. There can be more than one entry in the first file that includes the char in file2. All of them have to be deleted.
The last PTF-Packages has been installed on the mainframe system.
Thank you in advance,
regards,
Oliver