IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

sort on a field whose position not fixed thru eztrieve


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
abhay pratap singh

New User


Joined: 22 Nov 2007
Posts: 77
Location: noida

PostPosted: Tue Dec 04, 2007 7:22 pm
Reply with quote

I have input file(physical sequential) which is having records as mentioned below:

MR-APS
MISTER-ABHAY
MIST-ABC
MIS-XYZW

Is there any option in easytrieve to sort the above file on the basis of field occuring after "-".
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Dec 04, 2007 9:18 pm
Reply with quote

Hello,

I believe not.

You could create aligned values in the code and then sort.
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Tue Dec 04, 2007 9:23 pm
Reply with quote

That data looks like it would be better suited to a SAS program.
Back to top
View user's profile Send private message
abhay pratap singh

New User


Joined: 22 Nov 2007
Posts: 77
Location: noida

PostPosted: Wed Dec 05, 2007 11:22 am
Reply with quote

That means we can't do it through easytrieve.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Dec 05, 2007 8:27 pm
Reply with quote

Hello,

Quote:
That means we can't do it through easytrieve.
No, it just means there is no "automatic" way to do it. You would have to write code to do it.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts Store the data for fixed length COBOL Programming 1
No new posts Need to set RC4 through JCL SORT DFSORT/ICETOOL 5
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Pulling a fixed number of records fro... DB2 2
Search our Forums:

Back to Top