Thank you Kolusu, I am going to try it,
Best Regards, Jack On Wed, 28 Sept 2022 at 14:20, Sri h Kolusu <skol...@us.ibm.com> wrote: > >> I am using OUTREC IFTHEN=(WHEN=( I have been reading the DFSORT > Application Programming Guide but I have not been finding what I need. As > far as I can tell, as soon as one of the IFTHEN=(WHEN is met, all the > others are ignored. So, how do I test different positions on a INREC/OUTREC > statement? > > Jack, > > You need to use HIT=NEXT which Specifies that IFTHEN processing should > continue even if the logical expression is true. By default (if HIT=NEXT is > not specified), IFTHEN processing stops if the logical expression is true. > > Thanks, > Kolusu > DFSORT Development > IBM Corporation > > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN