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

Dynamic array allocation


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

New User


Joined: 23 Jan 2008
Posts: 4
Location: india

PostPosted: Wed Jan 23, 2008 2:26 am
Reply with quote

How to define dynamic arrays in PL/I
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Wed Jan 23, 2008 2:57 am
Reply with quote

Code:
dcl arr1(siz1,siz2) fixed bin controlled ;
siz1 = 8 ;
siz2 = 14 ;
allocate arr1 ;
Back to top
View user's profile Send private message
chakrapani.itte

New User


Joined: 23 Jan 2008
Posts: 4
Location: india

PostPosted: Wed Jan 23, 2008 3:01 am
Reply with quote

Thanks e.s
Back to top
View user's profile Send private message
chakrapani.itte

New User


Joined: 23 Jan 2008
Posts: 4
Location: india

PostPosted: Wed Jan 23, 2008 3:04 am
Reply with quote

What is the max size that we can go for dynamic allocation
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Wed Jan 23, 2008 3:06 am
Reply with quote

it depends on the max region size allowed
Back to top
View user's profile Send private message
chakrapani.itte

New User


Joined: 23 Jan 2008
Posts: 4
Location: india

PostPosted: Wed Jan 23, 2008 3:15 am
Reply with quote

I am not using any JCL here to allocate the memory.
Its VM/CMS environment,running PLI module using a rexx program.
Any idea what's the max siz of dyn array
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 CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Using Dynamic file handler in the Fil... COBOL Programming 2
No new posts JCL Dynamic System Symbols JCL & VSAM 3
No new posts Synctool-dynamic split job for varyin... JCL & VSAM 7
No new posts COBOL Ascending and descending sort n... COBOL Programming 5
Search our Forums:

Back to Top