Hi ,
I have 5 fields in a flat file named as x with a delimiter as '|' .
I pass this expression as a PATTERN SEARCH string as mentioned below ;
'(O\|[^F]\|X\|[^Y]\| *\|)'
I intend to create a new file y out of x for those records which satisfies the above PATTERN MATCH , but it fails to bring some of the records in the new file as explained below .
This search string is able to bring all values for which field_2<> F
or
field_4<> Y , but is not able to bring those records for which the fields are NULL.
Any help
Sac .
I have 5 fields in a flat file named as x with a delimiter as '|' .
I pass this expression as a PATTERN SEARCH string as mentioned below ;
'(O\|[^F]\|X\|[^Y]\| *\|)'
I intend to create a new file y out of x for those records which satisfies the above PATTERN MATCH , but it fails to bring some of the records in the new file as explained below .
This search string is able to bring all values for which field_2<> F
or
field_4<> Y , but is not able to bring those records for which the fields are NULL.
Any help
Sac .