Include records with special characters
Posted: Fri Aug 09, 2013 3:30 pm
I would like to extract from a file only records in which there is at least one character that is not a letter or a number or character point.
Records that contain only letters, numbers, and the point should not be written in output
The data set is RECFM=FB and LRECL=790.
Input
****** ***************************** Top of Data ******************************
000001 AAAAAA
000002 1233455
000003 ABC1234
000004 A.B
000005 A\BC
000006 ;:è
****** **************************** Bottom of Data ****************************
Output
****** ***************************** Top of Data ******************************
000001 A\BC
000002 ;:è
****** **************************** Bottom of Data ****************************
Thanks
Max
Records that contain only letters, numbers, and the point should not be written in output
The data set is RECFM=FB and LRECL=790.
Input
****** ***************************** Top of Data ******************************
000001 AAAAAA
000002 1233455
000003 ABC1234
000004 A.B
000005 A\BC
000006 ;:è
****** **************************** Bottom of Data ****************************
Output
****** ***************************** Top of Data ******************************
000001 A\BC
000002 ;:è
****** **************************** Bottom of Data ****************************
Thanks
Max