Page 1 of 1

Maximum Size for 88-Level Variable

PostPosted: Thu Oct 11, 2012 4:04 pm
by Sankar K
For Example my code should contain the variables as follows:
10 Actual-Values Pic X(7)
88 Valid-Values ABCDEFG, ABCDEFH,... BCDFGHE,... ZZZZZ9

My Query: how many values can I give under a single 88 variable?

Another example:
10 Actual-Values Pic X(7)
88 Valid-Value1 ABCDEFG
88 Valid-Value2 ABCDEFH
:
:
88 Valid-Value100 BCDFGHE
88 Valid-ValueXXXX ZZZZZ9

My Query: how many 88 level variable can I give under a single group variable? What can be the maximum value of 'XXXX'?

Re: Maximum Size for 88-Level Variable

PostPosted: Thu Oct 11, 2012 4:40 pm
by BillyBoyo
Did you look at the Compiler Limits Appendix in the Language Reference?

Although nothing specific for your first question, I don't think there is a limit, and if there is, I don't believe you will ever reach it.

For your second question, no limit. For your third, there is no difference for an 88 specified at group level in any way or situation.

Re: Maximum Size for 88-Level Variable

PostPosted: Thu Oct 11, 2012 8:04 pm
by dick scherrer
Hello and welcome to the forum,

Suggest you read here about the Compiler Limits for the questions you ask:
http://publibz.boulder.ibm.com/cgi-bin/ ... PPENDIX1.2?

Just curious - why is there concern for the limits of 88 entries? If there are so many entries or they are so long, suggest maintaining them externally would be a better design alternative. With so much going on, there would probably be regular maintenance which means going thru the program change process every time.

fwiw.