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

if a dataset is already created with fixed length but after that i want to change fixed length to variable length then how is it possible

3 Answers   IBM,


Why there is no questions in this column?

6 Answers  


I want to declare a field with data type Double in my COBOL program. how shall i do that ?

5 Answers  


How do get the result of your program directly on your pc?

0 Answers   UST,


I have the file which is having the extension no as records. sample file will look like below. 2310 3410 3256 4350 3781 5408 I need to replace the record which is starting with 3 to 5 (i.e) 3410 to 5410. How can we do it through cobol and cobol-db2 program? I need the possible logic?

5 Answers   RBS,






what are the limitations of Inline Perform?

3 Answers   Zensar,


how do you define single dimensional array and multidimensional array in your cobol?

0 Answers  


Can a Search can be done on a table with or without Index?

0 Answers  


how to know that the file has 300 records how to acess it?

0 Answers   Hewitt, TCS,


What does the initialize statement do ?

2 Answers  


if someone is using my file,how can i find which user id is using?

4 Answers  


01 b pic +9(4) How many bytes it will take for storage???

2 Answers  


Categories