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

Handling large size of SORT control card in JCL


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

New User


Joined: 18 Apr 2006
Posts: 22

PostPosted: Fri Nov 10, 2006 12:42 pm
Reply with quote

Hi,

I am using a JCL for SORT in which the control card for SORT will be created dynamically by a COBOL program.

Code:

//R070 EXEC PGM=SORT,PARM='MINCORE=4096K'
//SORTIN DD DSN=&P..ADD841MP.R065.JOBSTEP(0),
//  DISP=SHR
//SORTOUT DD DSN=&P..ADD859MP.R020.JOBSTEP,
//  DISP=SHR
//SYSIN DD DSN=ENDEVOR.&PROD..CNTLCARD(ADD855S1),
//  DISP=SHR
//      DD DSN=&P..ADD859MP.R060.CTRLFILE,
//  DISP=SHR


Where
&P..ADD859MP.R060.CTRLFILE is the file created dynamically.

When this file size is larger job abends.

How I can handle this problem with the large size of SORT control card?

Even I tried with maximum value for MINCORE parameter.

Thanks
kalai
Back to top
View user's profile Send private message
Alain Benveniste

New User


Joined: 14 Feb 2005
Posts: 88

PostPosted: Fri Nov 10, 2006 6:20 pm
Reply with quote

kalai,

What kind of control cards do you create and what is the abend msg ?

Alain
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Fri Nov 10, 2006 10:41 pm
Reply with quote

Which sort product are you using (ICExxxs messages = DFSORT, WERxxxs messages = Syncsort)?

By "file size" do you mean LRECL? What is the RECFM and LRECL of the two SYSIN files when the job works? What is the RECFM and LRECL of the two SYSIN files when the job doesn't work?
Back to top
View user's profile Send private message
kalais

New User


Joined: 18 Apr 2006
Posts: 22

PostPosted: Wed Nov 15, 2006 10:26 am
Reply with quote

Hi,
By file size I meant the number of records in the the SYSIN file
P.ADD859MP.R060.CTRLFILE.
At the time of abend it got 13527 records.

Details on abend
--------------------
ABEND: S000 U0016
ABEND MESSAGE: WER002A EXCESS CARDS

Details on SYSIN file
-----------------------
RECORD LENGTH: 80
RECFM: FB

Please help me on this.

Thanks,
Kalai
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Wed Nov 15, 2006 11:31 pm
Reply with quote

That's a Syncsort message. I'm a DFSORT developer. I can't help you with Syncsort.
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 Need to set RC4 through JCL SORT DFSORT/ICETOOL 5
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts JCL sort card - get first day and las... JCL & VSAM 9
No new posts Using Dynamic file handler in the Fil... COBOL Programming 2
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
Search our Forums:

Back to Top