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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

2970


Describe the cobol database components?

904


what happens if parmparameter passes zero bytes to the program

1885


Why would you use find and get rather than to obtain?

908


What the difference is between continue and next sentence?

877


Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.

2245


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

1058


In which area will you utilize 88 level items in cobol?

904


How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

976


Explain how to differentiate call by context by comparing it to other calls?

920


What is the difference between comp and comp-3?

903


What is the Purpose of Pointer in the string?

836


When is inspect verb is used in cobol?

928


here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

7321


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

1004