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 Limit duplicate records in the SORT pshongal SYNCSORT 6 Mon Nov 21, 2016 12:54 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm
No new posts Not able to compress a very large PDS Hervey Martinez JCL & VSAM 7 Fri Nov 04, 2016 5:57 pm
No new posts Sort records based on numeric field. Alks SYNCSORT 2 Wed Oct 19, 2016 10:14 pm
No new posts How to delete second instance from Fl... Gunapala CN DFSORT/ICETOOL 6 Tue Oct 18, 2016 11:42 pm


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