IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to use MAXSORT for data higher then 43GB?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
asarolia

New User


Joined: 27 Mar 2008
Posts: 3
Location: Mumbai

PostPosted: Wed Aug 27, 2008 6:02 pm
Reply with quote

Hi

I need to sort a sequence file having number of records higher then 7 Million.

Can anyone help out me in using MAXSORT technique.


Thanks,
asarolia
Back to top
View user's profile Send private message
karthikr44

Active User


Joined: 25 Aug 2007
Posts: 235
Location: Chennai

PostPosted: Wed Aug 27, 2008 6:19 pm
Reply with quote

HI,

The following example will help u.

Code:

//PSTP0010  EXEC PGM=IEFBR14               
//BKPTDATA  DD DSN=DEV2.RK.BKPT.DATA,       
//             DISP=(,CATLG,DELETE),       
//             UNIT=SYSDA,                 
//             SPACE=(CYL,(1,1))           
//* PSTP0020  -  SORT,PARM='MAXSORT'                                 
//PSTP0020 EXEC PGM=SORT,PARM='MAXSORT,MAXWKSP=MAX'       
//SORTIN   DD  DSN=EAGL.DOHBXAPP.E1CLAIM1.AUG23,DISP=OLD 
//         DD  DSN=EAGL.DOHBXAPP.E1CLAIM2.AUG23,DISP=OLD 
//SORTOUT  DD DSN=DEV2.USAF.CAM.PROBLEM.NAME.BORROWER,         
//             DISP=(NEW,CATLG,DELETE),                       
//             UNIT=CART,VOL=(,,,255),                         
//             SPACE=(CYL,(15,15),RLSE),                       
//             DCB=(RECFM=VB,LRECL=3312)                       
//SORTWK01 DD UNIT=SYSDA,SPACE=(CYL,(400,75))                 
//SORTWK02 DD UNIT=SYSDA,SPACE=(CYL,(400,75))                 
//SORTWK03 DD UNIT=SYSDA,SPACE=(CYL,(400,75))                 
//SORTWK04 DD UNIT=SYSDA,SPACE=(CYL,(400,75))                 
//SORTBKPT DD  DSN=DEV2.RK.BKPT.DATA,DISP=(OLD,KEEP)       
//SORTOU00 DD  DSN=DEV2.RK.PERM.OU00,                   
//             DISP=(,KEEP,KEEP),                           
//             UNIT=(CART,,DEFER),                         
//             LABEL=RETPD=5                               
//SORTOU01 DD  DSN=DEV2.RK.PERM.OU01,                   
//             DISP=(,KEEP,KEEP),                           
//             UNIT=(CART,,DEFER),                         
//             LABEL=RETPD=5                               
//SORTOU02 DD  DSN=DEV2.RK.PERM.OU02,                   
//             DISP=(,KEEP,KEEP),                           
//             UNIT=(CART,,DEFER),                         
//             LABEL=RETPD=5                               
//SYSOUT   DD  SYSOUT=*                                     
//SYSUDUMP DD  SYSOUT=*                                     
//SYSIN    DD  *                                           
  SORT FIELDS=(88,09,CH,A)                                 
//*



Change sortin, sortout and SYSIN. Other than no need to change anything.
Also check whether CART unit is available at ur shop.

Regards
R KARTHIK
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Thu Aug 28, 2008 3:40 pm
Reply with quote

And here is another related link -

ibmmainframes.com/about32748.html
Back to top
View user's profile Send private message
Alissa Margulies

SYNCSORT Support


Joined: 25 Jul 2007
Posts: 496
Location: USA

PostPosted: Wed Sep 03, 2008 12:24 am
Reply with quote

asarolia wrote:
Can anyone help out me in using MAXSORT technique.

If you still require help with coding your MAXSORT application, please feel free to contact SyncSort Mainframe Product Services directly and we would be happy to assist you further.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Store the data for fixed length COBOL Programming 1
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
No new posts JCL EXEC PARM data in C Java & MQSeries 2
Search our Forums:

Back to Top