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



what is dynamic array in cobol? what is the difference b/w array and table in cobol?..

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

what is dynamic array in cobol? what is the difference b/w array and table in cobol?..

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

Post New Answer

More COBOL Interview Questions

) How do u handle errors in BMS macro

0 Answers   IBM,


which is better either static call or dynamic call? and why?

5 Answers   HCL,


Suppose i have a Cobol field of 10 byte. it contains a decimal sign.How to know where is the point location?

1 Answers  


Which of the following files can be OPENed in all the 4 modes? The four modes are INPUT, I-O, OUTPUT and EXTEND. (a) INDEXED (b) RELATIVE (c) SEQUENTIAL (d) All of the above

7 Answers   TCS,


Why do we use COMP-3 variables for computation, when we know that they are non displayable fields and require additional MOVE to numeric field before we populate it in output Reports?

1 Answers   Accenture,






What is the output generated by the following code? 01 GRP-I. 05 SUBFLD1 PIC XX VALUE "AB". 05 FILTER PIC X(6) VALUE SPACES. 01 GRP-2 REDEFINED GRP-1. 05 SUB-FLD2 PIC XX. 05 SUB-FLD3 PIC XX. 05 FILTER PIC X(4). IF SUB-FLD1 NOT = SPACES DISPLAY "SUBFLD1" MOVE "ABBCCD" TO GRP-1 IF SUB-FLD3 = SPACES DISPLAY "SPACES" ELSE DISPLAY "SUBFLD3" DISPLAY "END" ELSE DISPLAY "SPACES" DISPLAY "END". (a) SUBFLD1 SUBFLD3 END (b) SPACES END (c) SUBFLD1 END (d) SUBFLD1 SPACES

7 Answers   TCS,


How do define Dymanic array in cobol how do u define single demensional arry and multidymensional arry in ur cobol.

4 Answers   Cap Gemini,


plz,could any one tell me? what about EBCDIC in cobol?briefly?

1 Answers  


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

0 Answers   HCL,


in how many mode we can open a file ?

4 Answers  


s9(18) comp-3:: What is the size of memory it takes internally?

4 Answers  


what will happen if i give program name and member name as different? program runs successful or w'll abend?

5 Answers   CTS,


Categories