SORT error: What am I doing wrong here?

2010-02-16 Thread Farley, Peter x23353
Why do these SORT control statements: SORT FIELDS=(5,30,CH,A) INREC IFTHEN=(WHEN=(5,3,CH,EQ,C'XXX'), OVERLAY=(C'YYY')) Result in an error message INREC RDW NOT INCLUDED and sort abend U0016? What I am trying to do is sort a VB file on columns

Re: SORT error: What am I doing wrong here?

2010-02-16 Thread Frank Yaeger
Peter Farley wrote on 02/16/2010 08:27:21 AM: Why do these SORT control statements: SORT FIELDS=(5,30,CH,A) INREC IFTHEN=(WHEN=(5,3,CH,EQ,C'XXX'), OVERLAY=(C'YYY')) Result in an error message INREC RDW NOT INCLUDED and sort abend U0016? What I am trying to do is sort a VB file on

Re: SORT error: What am I doing wrong here?

2010-02-16 Thread Farley, Peter x23353
: Tuesday, February 16, 2010 12:27 PM To: IBM-MAIN@bama.ua.edu Subject: Re: SORT error: What am I doing wrong here? Snipped OVERLAY=(C'YYY') defaults the starting position to 1 which overlaps the RDW. You want to overlay the first 3 bytes after the RDW, so your OVERLAY operand should

Re: SORT error: What am I doing wrong here?

2010-02-16 Thread Martin Packer
Martin Packer, Mainframe Performance Consultant, Software Group Worldwide Banking Center of Excellence, IBM +44-7802-245-584 email: martin_pac...@uk.ibm.com Twitter / Facebook IDs: MartinPacker __ And I would've coded my INREC above my SORT. Just for clarity. Martin Packer,

Re: SORT error: What am I doing wrong here?

2010-02-16 Thread Martin Packer
And I would've coded my INREC above my SORT. Just for clarity. Martin Packer, Mainframe Performance Consultant, Software Group Worldwide Banking Center of Excellence, IBM +44-7802-245-584 email: martin_pac...@uk.ibm.com Twitter / Facebook IDs: MartinPacker Unless stated otherwise above: