View previous topic :: View next topic |
Author |
Message |
sonika2008 Beginner
Joined: 17 Aug 2007 Posts: 20 Topics: 9
|
Posted: Tue Sep 25, 2007 12:04 pm Post subject: MAXSORT Syntax |
|
|
hi,
can anyone please provide me the MAXSORT syntax.
I want to sort the millions of record. |
|
Back to top |
|
 |
Nic Clouston Advanced
Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
|
Posted: Tue Sep 25, 2007 12:48 pm Post subject: |
|
|
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 |
|
 |
Frank Yaeger Sort Forum Moderator

Joined: 02 Dec 2002 Posts: 1618 Topics: 31 Location: San Jose
|
Posted: Tue Sep 25, 2007 1:01 pm Post subject: |
|
|
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 |
|
 |
sonika2008 Beginner
Joined: 17 Aug 2007 Posts: 20 Topics: 9
|
Posted: Tue Sep 25, 2007 2:00 pm Post subject: |
|
|
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 |
|
 |
Bill Dennis Advanced

Joined: 03 Dec 2002 Posts: 579 Topics: 1 Location: Iowa, USA
|
Posted: Tue Sep 25, 2007 3:46 pm Post subject: |
|
|
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 |
|
 |
amargulies Beginner
Joined: 10 Jan 2007 Posts: 123 Topics: 0
|
Posted: Tue Sep 25, 2007 4:27 pm Post subject: |
|
|
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 |
|
 |
sonika2008 Beginner
Joined: 17 Aug 2007 Posts: 20 Topics: 9
|
Posted: Wed Sep 26, 2007 2:25 pm Post subject: |
|
|
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 |
|
 |
amargulies Beginner
Joined: 10 Jan 2007 Posts: 123 Topics: 0
|
Posted: Thu Sep 27, 2007 12:40 pm Post subject: |
|
|
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 |
|
 |
|
|