Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Dynamic array allocation

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
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    Post subject: Dynamic array allocation
Reply with quote

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

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10310
Location: italy

PostPosted: Wed Jan 23, 2008 2:57 am    Post subject: Reply to: Dynamic array allocation
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    Post subject:
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10310
Location: italy

PostPosted: Wed Jan 23, 2008 3:06 am    Post subject: Reply to: Dynamic array allocation
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts REXX - Dynamic file Creation d_sarlie CLIST & REXX 7 Tue Jun 27, 2017 7:30 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm
No new posts VSAM Space Allocation mrgnndhmk JCL & VSAM 7 Sat Apr 22, 2017 12:42 am
No new posts Dynamic split of files under groups sril.krishy DFSORT/ICETOOL 4 Mon Apr 17, 2017 1:09 pm
No new posts Dynamic array request/response contai... Suja.Sai CICS 2 Tue Jan 24, 2017 11:37 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us