>In any case, switching over to >Prime-style dimensioned arrays gives you much more flexibility as it only >consumes a single "slot" in the VARTAB.
Flexibility, yes, but they do not always perform as well across levels of call statements. When redimensioning is desired, they are really handy. When that is not a requirement, static arrays may be the better choice. I think Mark B. and Jim T. proved that back when release 7 was born. Regards, LeRoy F. Dreyfuss Advanced Technical Services - U2 Technology Analyst IBM U2 Data Management Solutions Tel: 303-672-1254 Fax: 303-294-4832 Mobile: 720-341-4317 External email: [EMAIL PROTECTED] WWW: http://www.ibm.com/software/data/u2/support www.ibm.com/software/data/u2/support - Open, Query, Update, Search - Online! Don't miss out on the IBM DB2 Information Management Technical Conference September 19-24, 2004 - Las Vegas, NV Glenn Herbert <[EMAIL PROTECTED] centialsoftware.c To om> [EMAIL PROTECTED] Sent by: cc [EMAIL PROTECTED] stserver.u2ug.org Subject Re: [U2] RE: [UV] merge sort 07/26/2004 02:17 PM Please respond to u2-users I believe that the actual number of elements in a (PICK-Style) dimensioned array is limited by the number of consecutive "slots" available in the VARTAB, which starts out with 64K "slots", and decreases for each variable, etc, defined. In practice you could have a dimensioned array of 64K, but really that's not possible since it's usual for a program to have numerous variables; 32K is more believable. In any case, switching over to Prime-style dimensioned arrays gives you much more flexibility as it only consumes a single "slot" in the VARTAB. At 04:02 PM 7/26/2004, you wrote: > From memory the maximum number of elements in a dimensioned array is > 16384. This is documented in one of the manuals; again from memory I > think it's the UniVerse System Description. ------- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/ [demime 1.01d removed an attachment of type image/gif which had a name of graycol.gif] [demime 1.01d removed an attachment of type image/gif which had a name of pic09028.gif] [demime 1.01d removed an attachment of type image/gif which had a name of ecblank.gif] ------- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
