Page 1 of 1
Assign memory dynamically for an array
Posted:
Tue Jul 06, 2010 3:49 pm
by pavanmf
is it possible Assign memory dynamically for an array ?
Re: Arrays
Posted:
Tue Jul 06, 2010 9:12 pm
by Anuj Dhawan
"Dynamically" could mean many things and that would need little more explanation from your part.
Keep in mind, COBOL is a complied language - and you need to tell it everything before compilation. I'm not sure but it looks like you'd to look at the explanation of DEPENDING ON clause in COBOL reference manuals, probably that will help in your quench, as of now.
Re: Arrays
Posted:
Tue Jul 06, 2010 11:39 pm
by abhishek rai
i think it is not possible directly,but you can pass the index number for array through SYSIN or Proc.
Re: Arrays
Posted:
Wed Jul 07, 2010 3:48 pm
by pavanmf
Thanks for your information..
Re: Arrays
Posted:
Sun Jul 18, 2010 11:45 am
by Anuj Dhawan
abhishek rai wrote:i think it is not possible directly,but you can pass the index number for array through SYSIN or Proc.
I'm not sure how would this work for the "definition of dynamic arrays"?