When and how can we use index & subscript ?

Answers were Sorted based on User's Feedback



When and how can we use index & subscript ?..

Answer / shibin shah k j

wen we need to access array we need to use these two...
index with pointer ...

Is This Answer Correct ?    1 Yes 0 No

When and how can we use index & subscript ?..

Answer / suman kumar

1.Wen u use array commands search we use index,idex
is nothing but displacement position of array
2.Wen u use perform loop we use subscript, subscript is
nothing but a number

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More COBOL Interview Questions

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

3 Answers   IBM, TCS,


is this below syntax correct? CALL 'subprg' using A,B Please help

2 Answers  


What is the difference between Structured COBOL Programming and Object Oriented COBOL ?

1 Answers  


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

0 Answers  


Hi All, Can anyone tell me how we can MOVE value of a X(19) variable to a S9(17) COMP-3 variable? Answer with an Example will be of great help.

6 Answers   EDS,






Describe the cobol database components?

0 Answers  


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

3 Answers  


i have two file, each file having : file1 is having 2 fields field1 field2 file2 is having 3 fields field1 field2 field3 my req is to make it one file like: field1 field2 field1 field2 field3 if anyone know please send me syntax, i tried this with DFSORT but could not succeed.

9 Answers   Syntel,


How to increase the logical record length of existing PS file?

7 Answers  


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

0 Answers   EDS,


what is the meaning of pic 9(09)v99-

4 Answers   HSBC,


What does the IS NUMERIC clause establish ?

2 Answers  


Categories