I'm having a problem with the logic of my syncsort statements. On a certain input file, I' am evaluating 9 fields. First I want the first byte (a 2 byte field) equals to "50". Then, I am searching a certain value on the remaining 8 fields. And I want to pick up all record/s which has record type 50 and contain value on any of the remaining fields.
Joined: 14 Jun 2006 Posts: 331 Location: Jacksonville, FL
Emman,
I also noticed you have a length of 15 on all your OR'ed statements and are only providing 9 positions of character data to check ('OSUP2905 ' is 9 positions), so try: