Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Handling large size of SORT control card in JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Handling large size of SORT control card in JCL
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    Post subject:
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 Moderator


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

PostPosted: Fri Nov 10, 2006 10:41 pm    Post subject:
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    Post subject: MORE DETAILS ON THE SORT ABEND
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 Moderator


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

PostPosted: Wed Nov 15, 2006 11:31 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORT to unpack a feild shr_amar DFSORT/ICETOOL 7 Fri Jul 07, 2017 4:32 am
No new posts How to write Specific Fields from Mul... Padhu SYNCSORT 6 Thu Jul 06, 2017 10:26 am
No new posts Optimize sort inrec parse vishwakotin DFSORT/ICETOOL 6 Mon Jun 26, 2017 11:15 pm
No new posts XML Parse for large file muralikrishnan_new COBOL Programming 3 Mon Jun 12, 2017 12:50 pm
No new posts Reduce CPU Times for Join Sort santoshn SYNCSORT 12 Sat Jun 10, 2017 1:40 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us