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

ICE151A Error


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
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
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: 577
Location: USA

PostPosted: Wed Aug 04, 2010 7:25 pm
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...
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.
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Getting Error while trying to establi... DB2 3
Search our Forums:

Back to Top