How do define dynamic array in cobol.
Answer / Mitan Verma
In COBOL, you cannot directly define a dynamic array (an array whose size is not known at compile time). However, you can use the ALLOCATE and DEALLOCATE statements to dynamically allocate and free memory for an array during runtime.
| Is This Answer Correct ? | 0 Yes | 0 No |
) how do u code after getting data?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
What is the Linkage section? What is the Use and Why the parm length use alway "PARM-LENGTH PIC S9(4) or PIC S9 (4) COMP." any reason?.Please let me know any one... Cheers,Prasad
01 xxx pic 9(4). 01 yyy pic 9(6). move 123456 into yyy. move yyy to xxx. display yyy. what would be the value of yyy
What is "Call by content" and "call by reference"?
how can count the number of character in feild ?? suppose for instance i have a feild with value ' rajesh sarkar' then how can v count the number of characters whitout spaces...........
what is qualification on occurs clause?
why we are using set in searchall?
what are the error codes in cobol, db2, cics, vsam , and jcl
Describe the difference between subscripting and indexing ?
When the working storage variables get allocated? a.At Compile time b.At starting of the run time c.At end of the run time. d.None of these
What is SSRANGE, NOSSRANGE ?