what is dynamic array in cobol?
what is the difference b/w array and table in cobol?
Answers were Sorted based on User's Feedback
Answer / harihar
Difference between:
Array is a multiple occurances of a single data item with
same data type.But table can have more than one data item
with different types of data type respectively.
Dynamic Array:
The dynamic array is nothing but no of occurrances of data
item changes dynamically during the program execution.
| Is This Answer Correct ? | 21 Yes | 1 No |
Answer / ram g
array also can have more than one data item with different
data types...
before differentiating b/w array nd table...just thing how
will get table...
absolutely u r rite about dynamic array definition but is
it possible in cobol current version..if yes..then how? plz
dont say occurs depending on ...which is not at all dynamic
array concept...
| Is This Answer Correct ? | 4 Yes | 2 No |
What are the different types of condition in cobol and write their forms.
give the examples for strings and unstrings in cobol
what is the use of outrecord?
In an EVALUATE statement, can I give a complex condition on a when clause?
What is report-item?
can we use COPY statement in w-s section? how?
What are the ways you can generate a copybook?
Can a REDEFINES clause be used along with an OCCURS clause? if yes, 01 WS-TABLE. 03 WS-TABLE-EL OCCURS 5 TIMES PIC X(1) VALUE 'A'. 03 WS-EX REDEFINES WS-TABLE-EL PIC X(5). What can you expect? if no,why?
how many bytes does a s9(12)COMP-4 field occupy?? a.2 b.4 c.8 d.1 ans with reason please
I have a field with data type X(10). I want to perform arithmetic operation on this field? I tried doing it by moving the value into a numeric field. but it didn't work out. I am getting a S0C7 abend. Pls let me know if there is any way of getting this done?
how to remove leading spaces and zeroes in a cobol variable.is there any easy way to do it
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?