MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

sort key partially alphanumeric

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
anita_m
Beginner


Joined: 20 Sep 2006
Posts: 41
Topics: 12
Location: Venus

PostPosted: Tue May 22, 2007 4:45 pm    Post subject: sort key partially alphanumeric Reply with quote

If the first few bytes of a XX-KEY on which a file is to be sorted
is numeric and rest are alphanumeric
Code:

5 XX-KEY                             
  10 XX-SERIAL-NUM                 9(7)   
  10 XX-SERV-ID                     X(4)   


then should the sord card be
SORT FIELDS=(1,11,ZD,A) or SORT FIELDS=(1,CH,ZD,A) ?
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12382
Topics: 75
Location: San Jose

PostPosted: Tue May 22, 2007 5:05 pm    Post subject: Reply with quote

anita_m,

Try this

Code:

   SORT FIELDS=(1,11,CH,A)


Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group