Sort condition with valriable field length



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

Sort condition with valriable field length

Postby apjohn1986 » Fri Aug 15, 2014 12:51 am

Hi,

I have a VB file which has data as below. here i need to sort file based on values before comma (values are not in fixed length). Is this possible in SORT? If so, can you please help with sample sortcard?

8789753457867,BEN
178975345,JOHN
18788879,ROBIN
37564785,WILLAIMS
Thanks,
John
apjohn1986
 
Posts: 16
Joined: Mon Jan 31, 2011 12:26 pm
Has thanked: 3 times
Been thanked: 0 time

Re: Sort condition with valriable field length

Postby BillyBoyo » Fri Aug 15, 2014 1:59 am

Have a look at PARSE in your documentation, there are examples as well, also many here and elsewhere.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times


Return to Syncsort/Synctool

 


  • Related topics
    Replies
    Views
    Last post