What are the situations u have used in ur project for
Subcript and Index ?
1.if u use Subscript why not Index,why u choose Subscript
only?
2.if u use Index why not Subscript,what abt Displacement?

Answers were Sorted based on User's Feedback



What are the situations u have used in ur project for Subcript and Index ? 1.if u use Subscript w..

Answer / app

SUBSCRIPT: No. of occurences of a table is called Subscript.
INDEX: The disposition of the element.
Index can be used in Table data searching and Sorting but
Subscript won't be useful for the above.
Subscript reperesents as a occurence no. it must be
converted to displacement value each time its used so.. it
is less efficent than index.

Is This Answer Correct ?    4 Yes 2 No

What are the situations u have used in ur project for Subcript and Index ? 1.if u use Subscript w..

Answer / talluri

---subcript is a occurence of arry element
---index is a displacement no of an array element

subcript is declared as a variable in wss but index declared
using index by clause

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More COBOL Interview Questions

what is Pic 9v99 Indicates?

2 Answers  


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

7 Answers  


01 a pic s9(5) value '-12345' how it will be stored

7 Answers   ACS,


what are difference organizations in cobol and access mode in cobol? can you expalin what organization means while declaring for ksds,esds,rrds?

1 Answers   HCL,


How do we get current date from system with century?

2 Answers  






In COBOL, what is the different between index and subscript?

0 Answers   TryTechnicals Pvt Ltd,


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

1 Answers   Fidelity,


can we use reference modification an arry.

1 Answers  


What is an in-line perform ?

4 Answers   Accenture,


how can count the number of character in feild ?? suppose for instance i have a feild with value ' rajesh sarkar' then how can v count the number of characters whitout spaces...........

4 Answers   Wipro,


What is the use of intialize verb?

0 Answers  


what is filler and what is use of filler

3 Answers   Syntel,


Categories