>>After RTFM, I see you have the sequence incorrect. Elardus,
Not really. DFSORT does NOT care about the sequence of the keywords. You can have them in any order. OP's original statement is just missing a continuation character which Dave betten( thanks Dave) pointed out. By adding the continuation character he should be able to get the desired results without making any additional changes So OP's original statements are good provided that he added the continuation character hyphen (- ) before 73rd byte ----+----1----+----2----+----3----+----4----+----5----+----6----+----7--- //TOOLIN DD * SELECT FROM(SORTIN) TO(SORTF1) ON(16,50,CH) DISCARD(SORTF2) FIRST - USING(CTL1) /* Ron Thomas wrote : >>>I have given as below, but still the issue is there SELECT FROM(SORTIN) TO(SORTF1) ON(16,50,CH) DISCARD(SORTF2) FIRST - USING(CTL1) Ron, Are you sure you added the continuation character before 73rd byte ? Show us the complete error messages after you added the continuation character. Thanks, Kolusu DFSORT Development IBM Corporation IBM Mainframe Discussion List <[email protected]> wrote on 06/02/2017 06:53:34 AM: > From: Elardus Engelbrecht <[email protected]> > To: [email protected] > Date: 06/02/2017 06:54 AM > Subject: Re: DFSORT Error message > Sent by: IBM Mainframe Discussion List <[email protected]> > > Ron Thomas wrote: > > After RTFM, I see you have the sequence incorrect. > > Change > > > SELECT FROM(SORTIN) TO(SORTF1) ON(16,50,CH) DISCARD(SORTF2) FIRST > > USING(CTL1) > > to > > SELECT FROM(SORTIN) TO(SORTF1) DISCARD(SORTF2) ON(16,50,CH) FIRST - > USING(CTL1) > > Let us know if this works or not? > > Groete / Greetings > Elardus Engelbrecht > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
