View previous topic :: View next topic
|
Author |
Message |
chakrapani.itte
New User
Joined: 23 Jan 2008 Posts: 4 Location: india
|
|
|
|
How to define dynamic arrays in PL/I |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
Code: |
dcl arr1(siz1,siz2) fixed bin controlled ;
siz1 = 8 ;
siz2 = 14 ;
allocate arr1 ; |
|
|
Back to top |
|
|
chakrapani.itte
New User
Joined: 23 Jan 2008 Posts: 4 Location: india
|
|
|
|
Thanks e.s |
|
Back to top |
|
|
chakrapani.itte
New User
Joined: 23 Jan 2008 Posts: 4 Location: india
|
|
|
|
What is the max size that we can go for dynamic allocation |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
it depends on the max region size allowed |
|
Back to top |
|
|
chakrapani.itte
New User
Joined: 23 Jan 2008 Posts: 4 Location: india
|
|
|
|
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 |
|
|
|