What is the difference beetween Arrays and Tables in Cobol?
please dont give the answer that arrays in cobol
terminology is called tables......




Answers were Sorted based on User's Feedback



Answer / obul

Storing the similar type of data in contiguous memory
locations is called an Array and storing the different type
of data in contiguous memory locations is called Table in COBOL.

Is This Answer Correct ?    8 Yes 1 No

Answer / jeet

Arrays are basically used to store data which are of
similar type in contiguos memory locations.
Tables on the other hand you can think it as a list which
is used for lookup/referencing, for example when doing a
SEARCH/SEARCH ALL.

Is This Answer Correct ?    7 Yes 4 No

Answer / ravendra singh

we can use subscript with array but in the other hand with
table we can use indexing. we can perform search with array
by using subscript but with the table we can use both
subscript and the indexing searching an element into table.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer



More COBOL Interview Questions

What is the difference between SEARCH and SEARCH ALL?

6 Answers   Cognizant,


how many maximum no of variables can be declared in linkage section ?

1 Answers   HCL,


How to Pass table from a cobol program to another cobol program and how to use that table in called program

8 Answers   Patni, SunGard,


can we use variable picture clause as xx.99 in cobol.

3 Answers  


what modification we need to do in jcl if we use sort in cobol? I mean whether we need to include tempary file used for sorting in assign statement?

3 Answers   TCS,






How to read the last 100 records from a COBOL file. The file contains N number of records.

11 Answers   IBM,


wht happens if we dnt give scope terminator ?

4 Answers   TCS,


How do u find the programs calling the given module, without having doing 3.13 on loadlib/source library?

2 Answers  


How to use the same cobol program in Batch and CICS onlines ? Please expalin with an example. Thanks in advance.

1 Answers  


I have two files , file1 is input file it contains 10,20,30,....,records but i want to display the records in file 2 as reverse order .how can we do by using jcl& cobol(dont use array) please any one can tell me the answer

3 Answers   IBM, GreenTree,


how would find total records in files using seqientional

1 Answers   HSBC,


How do you code Cobol to access a parameter that has been defined in JCL?

3 Answers  






Categories