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

hi dudes.....can any one help me..... what is SET TO TRUE all about,anyway?

1 Answers  


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

5 Answers  


when COMP-3 is preferrable?

3 Answers   Patni,


Difference between cobol and cobol-ii?

0 Answers  


how many bytes does s9(15) occupy in comp1 comp2 and comp3 ?

4 Answers   TCS,






What is the problem of ordered sequential files access?

0 Answers  


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

4 Answers  


How many bytes do a s9 (7) comp-3 field occupy?

1 Answers  


can you declare redefine in level 01?

8 Answers   Patni,


have in 100 records in a file i want to move only matched records to one output_file1 and nonmathed records are moved to another output_file2 ... any one can provide logic code

3 Answers  


What is R-mode and A-mode?

3 Answers   TCS,


Write some characteristics of cobol as means of business language.

0 Answers  


Categories