Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Array maximum in Assembler

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & ASSEMBLER
Author Message
delly999

New User


Joined: 12 Jan 2007
Posts: 9
Location: Ontario, Canada

PostPosted: Mon Jun 23, 2008 8:47 pm    Post subject: Array maximum in Assembler
Reply with quote

Hi All,

Are there array maximums in assembler?
I know in PL/I the max for arrays are 32767. Is this the same for assembler, or is there some other number?

Thanks in advance
Back to top
View user's profile Send private message
References
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 3153
Location: italy

PostPosted: Tue Jun 24, 2008 12:28 am    Post subject: Reply to: Array maximum in Assembler
Reply with quote

there is no concept of array in assembler icon_biggrin.gif

all You have is...
a storage area ( static or getmained )
an algorithm to address a byte inside this storage area- more or less optimized

so I would say that the maximum size is that of the largest getmain
Back to top
View user's profile Send private message
delly999

New User


Joined: 12 Jan 2007
Posts: 9
Location: Ontario, Canada

PostPosted: Tue Jun 24, 2008 3:31 am    Post subject: Reply to: Array maximum in Assembler
Reply with quote

Cool.

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

New User


Joined: 23 Nov 2007
Posts: 16
Location: Chennai

PostPosted: Tue Jun 24, 2008 8:54 am    Post subject: Re: Array maximum in Assembler
Reply with quote

delly999 wrote:

I know in PL/I the max for arrays are 32767. Is this the same for assembler, or is there some other number?

Thanks in advance


I personally have seen arrays with more than 32767. Infact we have a program in our system that supports 95000 array elements. How do u say max for array is 32767 in PL/1
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & ASSEMBLER All times are GMT + 6 Hours
Page 1 of 1