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

How to refine sort order on DDName


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
kisstian

New User


Joined: 06 Sep 2006
Posts: 6

PostPosted: Wed Nov 08, 2006 11:58 pm
Reply with quote

What I am trying to do is sort by DDName. However, my DD names are in the for of DDOUTX, where X is the number. So, the order I would like to see is something like:

DDOUT1
DDOUT2
DDOUT3
DDOUT4
DDOUT5
DDOUT6
DDOUT7
DDOUT8
DDOUT9
DDOUT10

However, because my seach order is ascending on the whole filed, it is resulting in:

DDOUT1
DDOUT10
DDOUT2
DDOUT3
DDOUT4
DDOUT5
DDOUT6
DDOUT7
DDOUT8
DDOUT9

How can I get around this? Thanks.
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Thu Nov 09, 2006 1:21 am
Reply with quote

Use DFSORT's UFF format for the numbers like this:

Code:

   SORT FIELDS=(6,3,UFF,A)
Back to top
View user's profile Send private message
kisstian

New User


Joined: 06 Sep 2006
Posts: 6

PostPosted: Thu Nov 09, 2006 1:36 am
Reply with quote

Frank,

Thank you so much!
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 -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
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 JCL sort card - get first day and las... JCL & VSAM 9
No new posts Rotate partition-logical & physic... DB2 0
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
Search our Forums:

Back to Top