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

The maximum no of INCLUDE statements


IBM Mainframe Forums -> JCL & VSAM
Post new topic   This topic is locked: you cannot edit posts or make replies.
View previous topic :: View next topic  
Author Message
varalakshmi.G

New User


Joined: 04 Jun 2007
Posts: 55
Location: Hyderabad

PostPosted: Mon Mar 10, 2008 4:34 pm
Reply with quote

Hi All,

I need to create one o/p file from i/p file based on some conditions.

I have 1500 conditions.
So that I divided these into 4 control cards and gave these 4 in JOB like

//SYSIN DD DSN=TEST.EMP.CTLCRDS(EMPCARD1),DISP=SHR
// DD DSN=TEST.EMP.CTLCRDS(EMPCARD2),DISP=SHR
// DD DSN=TEST.EMP.CTLCRDS(EMPCARD3),DISP=SHR
// DD DSNTEST.EMP.CTLCRDS(EMPCARD4),DISP=SHR
First I gave INCLUDE and END in every Control card at that time it is taking the first control card only.Then I removed INCLUDE from the last 3 control cards and END from first 3 control cards then it is giving WER002A EXCESS CARDS

Lakshmi
Back to top
View user's profile Send private message
mkk157

Active User


Joined: 17 May 2006
Posts: 310

PostPosted: Mon Mar 10, 2008 5:27 pm
Reply with quote

Hi,



Quote:
I have 1500 conditions


Wonder ?


Can you describe those 1500 conditions so that one may suggest you an alternative instead of using 1500 conditions.

First of all have you tried giving all the INCLUDE's in one control-card ?
Back to top
View user's profile Send private message
varalakshmi.G

New User


Joined: 04 Jun 2007
Posts: 55
Location: Hyderabad

PostPosted: Mon Mar 10, 2008 6:25 pm
Reply with quote

Hi

I am tried by giving all the conditions in one control card then only it is giving excess cards.

Regards,
Lakshmi
Back to top
View user's profile Send private message
Alissa Margulies

SYNCSORT Support


Joined: 25 Jul 2007
Posts: 496
Location: USA

PostPosted: Tue Mar 11, 2008 8:31 pm
Reply with quote

Lakshmi,

There is no numerical limit to the number of comparisons that can be in an INCLUDE or OMIT statement. The limitation is based upon your system resources, specifically MINCORE. (Mincore is a subset of your below the line resources.)

For a JCL invoked sort, you can pass PARM='MINCORE=nK' on the EXEC statement, where n is the value you would like to specify for MINCORE in Kilobytes. If this is a program invoked (internal sort), then you can pass the MINCORE PARM via the $ORTPARM DD.

Try passing MINCORE=512K and then increase in 256K increments if necessary. If you are still encountering a problem after 2048K, please let me know and I would be happy to assist you further.

For example,
Code:
//STEP1 EXEC PGM=SORT,PARM='MINCORE=512K' 
or
Code:
//$ORTPARM DD *
MINCORE=512K
Back to top
View user's profile Send private message
varalakshmi.G

New User


Joined: 04 Jun 2007
Posts: 55
Location: Hyderabad

PostPosted: Tue Mar 11, 2008 11:12 pm
Reply with quote

Hi Alissa,

Thank you for your help.Now it is working after giving the PARM='MINCORE=512K'


Thank you all.

Regards,
Lakshmi.G
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   This topic is locked: you cannot edit posts or make replies. View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts SORT ERROR PARAMETER VALUE EXCEEDS M... DFSORT/ICETOOL 12
No new posts Relate COBOL statements to EGL statement All Other Mainframe Topics 0
This topic is locked: you cannot edit posts or make replies. Sort to include records of file 2 int... Java & MQSeries 1
Search our Forums:

Back to Top