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 How to change 'K' or 'M' use Sort vice_versa DFSORT/ICETOOL 5 Thu May 18, 2017 7:11 am
No new posts Adding big TEXT lines to each record ... bshkris SYNCSORT 4 Sat May 06, 2017 1:40 am
This topic is locked: you cannot edit posts or make replies. SORT trick needed bshkris SYNCSORT 6 Tue May 02, 2017 4:35 am
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts SORT JSON type of data maxsubrat DFSORT/ICETOOL 8 Wed Apr 19, 2017 6:01 pm


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