Describe the difference between subscripting and indexing ?

Answers were Sorted based on User's Feedback



Describe the difference between subscripting and indexing ?..

Answer / padmanabha naidu.p

subscripting specifies the occurence or position of the
array and index specifies displacement.

subscripting can be manipulated by artimetic operations.
index can by manipulated by set ,perform and search
operations.

Is This Answer Correct ?    3 Yes 0 No

Describe the difference between subscripting and indexing ?..

Answer / minhaj

subscript represent the occurence of array.
subscript defined with working storage section.
subscript value can be changed with add,subtract,multiplication.
Index represent first occurence in the array,Index define
along with table entries as part of occus class.
value of index can be changed by the set operator.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More COBOL Interview Questions

Why IBM?

1 Answers   IBM,


explain sorting techniques in cobol program?

0 Answers  


what is the minimum number of lines a Cobol program should have to successfully compile and run

7 Answers  


HELLO FRIENDS, THIS IS JANARDHAN.GADIRAJU, I FACED ONE INTERESTING QUESTION IN COBOL, THAT IS WHAT ARE THE VALUES WE CAN SEE IN HIGHVALUES AND LOWVALUES, CAN U PLEASE GIVE ME THE ANSWER

7 Answers   Patni,


i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this

0 Answers  






What is diff between vsam and db2?what is advantage of db2 over vsam?which is best suited one?

1 Answers   Fidelity,


what is the use of outrecord?

0 Answers  


what is subscript in cobol?give realtime example?

2 Answers   Wipro,


What is the difference between write & move in COBOL?

3 Answers   CSC, HHB,


How many types of sorts are there in cobol?

5 Answers   Cap Gemini,


what is MSGLEVEL?

1 Answers   IBM,


how we can edit records in vsam data set and non vsam data sets

2 Answers   ACS,


Categories