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 

MAXSORT Syntax

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


Joined: 17 Aug 2007
Posts: 20
Topics: 9

PostPosted: Tue Sep 25, 2007 12:04 pm    Post subject: MAXSORT Syntax Reply with quote

hi,

can anyone please provide me the MAXSORT syntax.
I want to sort the millions of record.
Back to top
View user's profile Send private message
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Tue Sep 25, 2007 12:48 pm    Post subject: Reply with quote

Looking at the DFSort manual I could not see a MAXSORT keyword - MAX yes, MAXLIM yes but no MAXSORT. Is it SYNCSORT you use?
_________________
Utility and Program control cards are NOT, repeat NOT, JCL.
Back to top
View user's profile Send private message
Frank Yaeger
Sort Forum Moderator
Sort Forum Moderator


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

PostPosted: Tue Sep 25, 2007 1:01 pm    Post subject: Reply with quote

sonika2008,

Which sort product are you using?

If you're using DFSORT, it does not have a MAXSORT function. I'm not sure why you think you need a MAXSORT function to sort "millions of records". DFSORT can use memory objects, up to 255 work data sets, etc. so sorting millions of records in the normal way is not really a problem unless your resources are constrained to the point that a normal sort won't work. Have you run into a problem sorting the records or are you just assuming you will?
_________________
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
sonika2008
Beginner


Joined: 17 Aug 2007
Posts: 20
Topics: 9

PostPosted: Tue Sep 25, 2007 2:00 pm    Post subject: Reply with quote

I am using the syncsort .I have run the job, and its giving U016 abend .

EXEC PGM=SYNCSORT,
PARM='MSG=AP,DYNALLOC=(SYSDA,NNN)'

can you please tell me what is the max no for NNN is used in DYNALLOC?
Back to top
View user's profile Send private message
Bill Dennis
Advanced


Joined: 03 Dec 2002
Posts: 579
Topics: 1
Location: Iowa, USA

PostPosted: Tue Sep 25, 2007 3:46 pm    Post subject: Reply with quote

Here is a simple MAXSORT but you need to read the manual to understand how the files and options work.
Code:
//* Pre-alloc breakpoint file
//ALLOC   EXEC PGM=IEFBR14                                         
//SYSUT1  DD DSN=USER.BREAKPNT,DISP=(,KEEP),VOL=SER=dasdvl,       
//        SPACE=(1000,(50,50)),UNIT=D330                           
//SORT1    EXEC PGM=SORT,REGION=4M,                               
// PARM=('MAXSORT,TAPENAME=CART',  DYNALLOC CART DEVICES               
//       'MAXMERGE=(7,OC)',        WTOR to confirm 7 tapes for MERGE PHASE             
//       'MAXWKSP=50M')            MAX SIZE OF INTERMEDIATE SORTS 
//SORTBKPT DD DSN=USER.BREAKPNT,VOL=SER=dasdvl,UNIT=D330,         
//            DISP=(OLD,DELETE,KEEP)                               
//SORTIN   DD        input                                             
//SORTOU00 DD     intermediate                                                 
//SORTOU01 DD     intermediate                                                 
//SORTOU02 DD     intermediate                                                 
//SORTOUT  DD      final output                                             

_________________
Regards,
Bill Dennis

Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity.
Back to top
View user's profile Send private message
amargulies
Beginner


Joined: 10 Jan 2007
Posts: 123
Topics: 0

PostPosted: Tue Sep 25, 2007 4:27 pm    Post subject: Reply with quote

sonika2008 wrote:
can you please tell me what is the max no for NNN is used in DYNALLOC?

In SyncSort for z/OS 1.1 and later, the maximum number is 255.

sonika2008 wrote:
I have run the job, and its giving U016 abend

Is there a critical error (WERnnnA) posted in the SyncSort message output? If so, please post it.
_________________
Alissa Margulies
SyncSort Mainframe Product Services
201-930-8260
zos_tech@syncsort.com
Back to top
View user's profile Send private message Send e-mail
sonika2008
Beginner


Joined: 17 Aug 2007
Posts: 20
Topics: 9

PostPosted: Wed Sep 26, 2007 2:25 pm    Post subject: Reply with quote

Thanks for your response.
My job run successfully , I used 200 in DYNALLOC for SYSDA.
but my concerns is I have to execute the 300M records for other tables, so I am looking for other options, and I found that with the help of MAXSORT I can run millinos of records, but not able to find any document or JCL of MAXSORT.
Back to top
View user's profile Send private message
amargulies
Beginner


Joined: 10 Jan 2007
Posts: 123
Topics: 0

PostPosted: Thu Sep 27, 2007 12:40 pm    Post subject: Reply with quote

Quote:

not able to find any document or JCL of MAXSORT.

Please contact me offline and I would be happy to assist you in obtaining the requested documentation.
_________________
Alissa Margulies
SyncSort Mainframe Product Services
201-930-8260
zos_tech@syncsort.com
Back to top
View user's profile Send private message Send e-mail
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