|
View previous topic :: View next topic
|
| Author |
Message |
abhay pratap singh
New User
Joined: 22 Nov 2007 Posts: 77 Location: noida
|
|
|
|
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 |
|
 |
dick scherrer
Moderator Emeritus

Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
I believe not.
You could create aligned values in the code and then sort. |
|
| Back to top |
|
 |
superk
Global Moderator

Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
| That data looks like it would be better suited to a SAS program. |
|
| Back to top |
|
 |
abhay pratap singh
New User
Joined: 22 Nov 2007 Posts: 77 Location: noida
|
|
|
|
| That means we can't do it through easytrieve. |
|
| Back to top |
|
 |
dick scherrer
Moderator Emeritus

Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
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 |
|
 |
|
|