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



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

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

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

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

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

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

wht is packed decimal in cobol

2 Answers  


what is meaning by design document? who can repared for this?

5 Answers   TCS,


give the examples for strings and unstrings in cobol

2 Answers   IBM,


what is label record is standard or omitted in file description of data division?

3 Answers   TCS,


i have the following varibles in the working storage 05 ws-A PIC X(30) VALUE 'ABCDEFGHIJKLMNOPQRESTUVWXYZ ' 05 WS-B REDEFINES WS-A 10 WS-B1 PIC X(10). 10 WS-B2 PIC 9(10). 10 WS-B3 PIC X(10). If I Display B1, B2 and B3 respectively, what is the value displayed in B2

9 Answers  






what is subscript in cobol?give realtime example?

2 Answers   Wipro,


Write the syntax of a two dimensional array?

8 Answers   Honeywell, Xansa,


How many times the loop runs here 01 a pic 9(2) value 10. perform para1 a times stop run. para1: move 20 to a.

3 Answers  


what is a zoned decimal data type and how it will be stored?

2 Answers   IBM,


If by mistake we MOVE a working storage variable into LINKAGE area. What will happen??

4 Answers   Accenture,


given the following piece of code: CALL SUB-PGM USING A, B, C. CALL SUB-PGM USING A, C, C. (a) Both CALL statements will always produce same result. (d) Both CALL statements may produce different result. (c) Compile-time error because SUB-PGM is a dataname. (d) Compile-time error because A, B, C are used twice.

2 Answers   TCS,


1.What is the limit of linkage section?

4 Answers  






Categories