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

Array maximum in Assembler


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
delly999

New User


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

PostPosted: Mon Jun 23, 2008 8:47 pm
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
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Jun 24, 2008 12:28 am
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: 13
Location: Ontario, Canada

PostPosted: Tue Jun 24, 2008 3:31 am
Reply with quote

Cool.

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

New User


Joined: 23 Nov 2007
Posts: 17
Location: Chennai

PostPosted: Tue Jun 24, 2008 8:54 am
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts Build dataset list with properties us... PL/I & Assembler 4
No new posts Finding Assembler programs PL/I & Assembler 5
No new posts How Can I Recall a Migrated Data Set ... PL/I & Assembler 3
No new posts step by step trace 4 ISPF dialog call... TSO/ISPF 17
No new posts COBOL Ascending and descending sort n... COBOL Programming 5
Search our Forums:

Back to Top