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
 

 

ICE151A Error

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
cpuhawg

Active User


Joined: 14 Jun 2006
Posts: 331
Location: Jacksonville, FL

PostPosted: Wed Aug 04, 2010 6:53 pm    Post subject: ICE151A Error
Reply with quote

I received this error when running an ICETOOL step:

Code:

ICE151A 0 TOO MANY *INCLUDE IFTHEN 0 CONDITIONS


What is the maximum number of INCLUDE conditions the program may use?

Are there any keyword parameters to increase the amount of storage available for the INCLUDE statement?
Back to top
View user's profile Send private message

sqlcode1

Active Member


Joined: 08 Apr 2010
Posts: 578
Location: USA

PostPosted: Wed Aug 04, 2010 7:25 pm    Post subject:
Reply with quote

cpuhawg,

Quote:
What is the maximum number of INCLUDE conditions the program may use?

It depends upon your conditions. This is because, it has more to do with storage space available for condition checking than the total number of conditions.

One way to resolve ICE151A is to use multiple IFTHEN WHEH condition with INREC or OUTREC depending upon your requirement or use SPLICE.

Refer to below...
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ICE1CM20/2.2.147?SHELF=&DT=20060721170811&CASE=

Also, please refer to below post for the discussion on similar topic.
http://www.ibmmainframes.com/post-69561.html

Thanks,
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Wed Aug 04, 2010 7:26 pm    Post subject:
Reply with quote

you've been around long enough to perform searches. check this link
Back to top
View user's profile Send private message
cpuhawg

Active User


Joined: 14 Jun 2006
Posts: 331
Location: Jacksonville, FL

PostPosted: Wed Aug 04, 2010 8:52 pm    Post subject: Reply to: ICE151A Error
Reply with quote

Thanks for the links.

The problem I'm having is I've got two ICETOOL steps within about 3000 lines of REXX code and the program is working correctly, until I hit the INCLUDE limitation. The INCLUDEs look like this except there are about 800 of them.
Code:

  SORT FIELDS=COPY                                                     
  INCLUDE COND=((54,8,CH,EQ,C'DEFAULT1'),OR,                           
                 (54,8,CH,EQ,C'AD1234  ',AND,63,1,SS,EQ,C'R,U,C,A'),OR,
                 (54,8,CH,EQ,C'AD1235  ',AND,63,1,SS,EQ,C'R,U,C,A'),OR,
                 (54,8,CH,EQ,C'AD1236  ',AND,63,1,SS,EQ,C'R,U,C,A'),OR,
                (54,8,CH,EQ,C'ABCD#123'))                             
 OUTFIL FNAMES=ACCESS,OUTREC=(1:1,130,131:87C' ')                     


I could used IFTHEN/WHEN or SPLICE, but that would cause the program to take the 1.4 million record input file and duplicate (or write) it within the REXX as I'm trying to get my selected records.

After reading the provided links, I altered the control cards slightly and was able to get past the ICE151A error. Instead of "63,1,SS,EQ,C'R,U,C,A')", I changed it to "63,1,CH,NE,C'-')" to accomplish the same selection and keep it within the program limitation.

FILEAID has an option called MAXENT that allows a user increase the storage set aside for IF parameters.
Back to top
View user's profile Send private message
Skolusu

Senior Member


Joined: 07 Dec 2007
Posts: 2205
Location: San Jose

PostPosted: Wed Aug 04, 2010 10:01 pm    Post subject:
Reply with quote

cpuhawg,

If your intention is to filter out records from a master file based on another file , JOINKEYS is an apt solution than generating hundreds of include conditions like that.
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 -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am
No new posts FINDREP Syntax Error seahawk789 DFSORT/ICETOOL 4 Thu Mar 09, 2017 10:11 pm
No new posts INVOKE WEBSERVICE error danik56 CICS 11 Thu Mar 09, 2017 11:52 am
No new posts Row not found Sql error GaganGarg DB2 7 Tue Mar 07, 2017 6:29 am
No new posts DB2 SQL Error: SQLCODE=-440, SQLSTATE... kishpra DB2 1 Sat Feb 18, 2017 2:31 am


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