Difference between array and sub-script ?



Difference between array and sub-script ?..

Answer / Sweta Singh

In COBOL, an array is a collection of elements with the same data type that share a common name. A subscript is used to access specific elements within an array by referring to its position in the array. The subscript ranges from 1 to the upper boundary of the array.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More COBOL Interview Questions

9(2).99 how many bytes take? Why . consider as a byte?

2 Answers  


what is jcl approach for programming?

4 Answers   IBM,


i want a program using by if, evaluate , string, unstring, perform, occurs?

2 Answers  


can we use COPY statement in w-s section? how?

3 Answers  


How may divisions are there in JCL-COBOL?

5 Answers   IBM,


Hi................... I have records like this aaaa cccc bbbb And i want output like this bbbb cccc aaaa How can it possible ?. Note:Please make sure records are in unsorted order. somebody plzzz help me.

1 Answers  


Whats the difference between search & search ALL?

4 Answers   IBM,


what is the difference between implicit and explicit scope terminator with example? 

1 Answers  


i want all ERRORS codes in COBOL ,JCL,VSAM ,DB2,CICS

4 Answers   Infosys,


How many bytes will be allocated for the following record description entries? 01 REC-A. 05 A PIC S9(4). 05 B PIC XXXBXXX. 05 C PIC ____9.99. 05 D PIC S9(5) COMP-3. 05 E PIC 9(3) COMP.

16 Answers   IBM, TCS,


What are the ways you can generate a copybook?

2 Answers  


01 text-data pic x(100). move 'xyzdbfrjjg u' to text-data. how to find the value of last index of text-data?

3 Answers   Mind Tree,


Categories