And of course, the standard make a fool of myself in public and immediately find a solution involving adding a sequence number field is working for me.
> -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[email protected]] > On Behalf Of Gibney, Dave > Sent: Tuesday, May 15, 2018 2:52 PM > To: [email protected] > Subject: Should be easy with SORT :) I thought (: > > I have a file with say 4 records: > FDRABR.VZ21RS2.C1000n00 D05809 > FDRABR.VZ21RSC.C1000n00 D05547 > FDRABR.VFNTCA2.C1000n00 D06255 > FDRABR.VFNTCAT.C1000n00 D06244 > > I want a file that is > Record1||Record3 > Record2||Record4 > That is: > FDRABR.VZ21RS2.C1000n00 D05809 FDRABR.VFNTCA2.C1000n00 D06255 > FDRABR.VZ21RSC.C1000n00 D05547 FDRABR.VFNTCAT.C1000n00 D06244 > > I can't seem to come up with a working SORT incantation to accomplish this, > I'd also be happy with using another always available IEBxxx, etc. utility. > I'd > rather not Rexx or any other actual programming language. > > Syncsort (MFX) FWIW, but DFSORT control should work also. > > Dave Gibney > Information Technology Services > Washington State University > > > ---------------------------------------------------------------------- > 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
