Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to refine sort order on DDName

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: How to refine sort order on DDName
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 Moderator


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

PostPosted: Thu Nov 09, 2006 1:21 am    Post subject:
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    Post subject: Re: How to refine sort order on DDName
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    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts LMINIT problem - not finding DDNAME Danielle.Filteau CLIST & REXX 7 Tue Sep 19, 2017 9:57 pm
No new posts OC4 in SORT Mohan Kothakota DFSORT/ICETOOL 2 Tue Sep 12, 2017 6:30 pm
No new posts SORT Trailer Count - LRECL Output co... amorante DFSORT/ICETOOL 5 Tue Aug 29, 2017 8:57 pm
No new posts Sorting on text - but in non-alphabet... Roy Ware SYNCSORT 5 Wed Aug 23, 2017 9:15 pm
No new posts Changing sort Card Dynamically vickey_dw DFSORT/ICETOOL 5 Sat Aug 19, 2017 2:33 pm

Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us