A curiosity question.



Support for NetApp SyncSort for z/OS, Visual SyncSort, SYNCINIT, SYNCLIST and SYNCTOOL

A curiosity question.

Postby ranga_subham » Thu Aug 13, 2009 1:37 am

Hi,

With IFTHEN=WHEN I could achieve the below output easiy.

Sort Card:
//SYSIN    DD  *                                     
 SORT FIELDS=COPY                                     
 INREC IFTHEN=(WHEN=(1,1,CH,EQ,C'A'),OVERLAY=(20:1,4))


Output:
ADDD               ADDD
BBBB                   
ACCC               ACCC
AAAA               AAAA
DDDD                   
ACCC               ACCC


Input:
//SORTIN   DD *
ADDD           
BBBB           
ACCC           
AAAA           
DDDD           
ACCC           


What would be the SORT card if I do not want to use IFTHEN=WHEN.

Thanks.
ranga_subham
 
Posts: 279
Joined: Fri Jul 18, 2008 7:46 pm
Has thanked: 0 time
Been thanked: 1 time

Re: A curiosity question.

 

Re: A curiosity question.

Postby dick scherrer » Thu Aug 13, 2009 2:36 am

Hello,

You could always write real code. . .
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times


Return to Syncsort/Synctool

 


  • Related topics
    Replies
    Views
    Last post