Posted: Wed Jun 08, 2011 8:19 am Post subject: FILE-AID BATCH with Multiple IF statements and NE Conditions
I need to skip couple of records from a big file based on the following conditions (Around 20 similar conditions, but for sample I gave only three sets). Due to NE condition with ORIF, it never goes to other than first set of IF conditions:
//SYSIN DD *
$$DD01 USER IF=(35,NE,C'1967714'),IF=(65,NE,C'20110320'),
IF=(347,NE,C'20110428'),
Joined: 26 Nov 2002 Posts: 12377 Topics: 75 Location: San Jose
Posted: Wed Jun 08, 2011 10:25 am Post subject:
vemurusatya,
It is always a good idea to check for positive conditions instead of conditions. You can use an INCLUDE COND with sort and it would be easy. If you need help converting it ,then show us the complete control cards and we will show you a way to convert it to DFSORT control cards.
Kolusu
PS : Questions of this type should be posted in the Utilities forum. I am moving this topic
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum