Sort condition with valriable field length

Support for NetApp SyncSort for z/OS, Visual SyncSort, SYNCINIT, SYNCLIST and SYNCTOOL
apjohn1986
Posts: 16
Joined: Mon Jan 31, 2011 12:26 pm
Skillset: beginner
Referer: friend

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

BillyBoyo
Global moderator
Posts: 3805
Joined: Tue Jan 25, 2011 12:02 am
Skillset: Easytrieve Plus, Cobol, Utilities, that sort of stuff
Referer: Google

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.


  • Similar Topics
    Replies
    Views
    Last post