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 

Limit of COUNT variable in SORT

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


Joined: 09 Nov 2005
Posts: 33
Topics: 10

PostPosted: Thu Jun 14, 2007 9:55 am    Post subject: Limit of COUNT variable in SORT Reply with quote

Hi all,

I have observed that count variable in SYNCSORT or DFSORT can only hold upto 8 digit number. Is there a way to get the count which can accomodate more than 8 digit?

Nabanita
Back to top
View user's profile Send private message
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Thu Jun 14, 2007 10:16 am    Post subject: Reply with quote

on page 12 of the SORTTOOL pdf at
http://www-304.ibm.com/jct01004c/systems/support/storage/software/sort/mvs/icetool/pdf/sorttool.pdf

DFSORT Count operator can be 0 to 562949953421310.

what version of DFSORT are you using, and are you sure that you have DFSORT. Normally a site has only one, not both.
_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Thu Jun 14, 2007 10:38 am    Post subject: Reply with quote

Nabanita,

There are 2 operators COUNT and COUNT15 supported by both Syncsort and Dfsort (Depending on the version of sort product). COUNT15 handles upto 15 digits. Will this be okay for you (15 digits).

Thanks,
Phantom
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Thu Jun 14, 2007 10:39 am    Post subject: Reply with quote

Nabanita Das,


Look up the parm COUNT15 which allows a right-justified 15-digit field with leading zeros suppressed. Both DFSORT and Syncsort support this parm

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Frank Yaeger
Sort Forum Moderator
Sort Forum Moderator


Joined: 02 Dec 2002
Posts: 1618
Topics: 31
Location: San Jose

PostPosted: Thu Jun 14, 2007 11:53 am    Post subject: Reply with quote

For DFSORT:

COUNT - 8 digits, right justified with leading zeros suppressed

COUNT15 - 15 digits, right justified with leading zeros suppressed

COUNT=(edit) - 15 digit count edited as specified, e.g. COUNT=(M26,LENGTH=13)

COUNT=(to) - 15 digit count converted as specified, e.g. COUNT=(TO=ZD,LENGTH=12)
_________________
Frank Yaeger - DFSORT Development Team (IBM)
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Nabanita Das
Beginner


Joined: 09 Nov 2005
Posts: 33
Topics: 10

PostPosted: Thu Jun 14, 2007 11:30 pm    Post subject: Reply with quote

Wonderful! Thanks to everybody, I got what I wanted. Sorry I forgot to mention that I have syncsort in my shop. I mentioned about DFSORT also as I got to see some sample using DFSORT and giving count only as 8 digit number.

Thanks
Nabanita
Back to top
View user's profile Send private message
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