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

how many bytes do SPPPP999 will store?

18 Answers  


What is an in-line perform ?

4 Answers   Accenture,


The order of precedence of arithmetic operators in an expression can be overridden with the use of (a) [] (b) () (c) {} (d) Any of the above

3 Answers   TCS,


01 xxx pic 9(4). 01 yyy pic 9(6). move 123456 into yyy. move yyy to xxx. display yyy. what would be the value of yyy

13 Answers   HSBC,


What is file status 92?

3 Answers  


Hi all, I have a following requirement to write the cobol program. I have to load the 129 variables from input sequential file which are in excel sheet to the cobol inernal table. and after loading into table i have to compare this data with the business file. here compare means controlling the data whether the format(numeric,alpha) is same in the business file and in the table??? i have the same data in input and business file. could anyone please give me any idea of the logic?// i have all the 129 different variables(129rows,1 column)is there .

4 Answers   IBM, Syntel, TCS,


i have a sequencial file contains multiple records, i want to extract one row which contains various fields like order number,date,warehouse,.ect.. in to the another file by accepting the order number from jcl. how can i do it. pls help me..

4 Answers   CGI,


Can you please let me know the centre name of INS certification in Kolkata.

0 Answers  


hi, can you ppl tell me, how to check whether the rewrite we gave for the ksds file is successful or not in the program.? i gave rewrite, the rewrite code is executing and maxcc=0 but updation doenot happen in the file?

1 Answers   CGI,


which is better comp or comp-3 in terms of memory utilization?

6 Answers  


DATAONLY, MAPONLY functionality?

1 Answers   IBM,


What is the difference between perform … with test after and perform … with test before?

0 Answers  


Categories