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
 

 

The maximum no of INCLUDE statements

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: The maximum no of INCLUDE statements
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    Post subject:
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    Post subject:
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: 500
Location: USA

PostPosted: Tue Mar 11, 2008 8:31 pm    Post subject:
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    Post subject:
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.    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 Include/omit with "ALL" pa... mgl DFSORT/ICETOOL 6 Wed Jun 14, 2017 2:31 pm
This topic is locked: you cannot edit posts or make replies. How to pass the previous month date i... Suganya87 DFSORT/ICETOOL 5 Mon Oct 31, 2016 4:13 pm
No new posts INCLUDE condition questions van bui DFSORT/ICETOOL 1 Thu Jun 30, 2016 9:52 am
No new posts Symbolic Parameters in SYSIN DD state... madishpa DFSORT/ICETOOL 3 Mon Jun 27, 2016 6:23 pm
No new posts Extracting Information from DD Statem... Charles Wolters All Other Mainframe Topics 7 Wed Apr 13, 2016 10:21 pm


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