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
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 |
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 |
How do you fetch current date in normal cobol pgm and in cobol-db2 pgm?
how can we code index in an array of cobol pgm?
Which is the best IBM mainframe Training Institute in Ameerpet, Hyderabad
How to resolve the soc4 and soc7 errors?
Difference between ps, esds
consider the following two IF statements: IF X AND NOT Y MOVE A TO B IF Z=1 OR 9 MOVE A TO B select one of the following data divusion entries which gives identical results for both the above IF statements a.01 Z PIC 9 88 X VALUE 1.9 88 Y VALUE 0.2 THRU 8 b.01 Z PIC 9 88 X VALUE 0.2 THRU 8 Y VALUE 1.9 c.01 Z PIC 9 88 X VALUE 1.9 88 NOT-Y VALUE 0.2 THRU 1.9 d.none of yhe above
In which area will you utilize 88 level items in cobol?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
in cobol perform stmt whether it first checks the condition or not
What are different file OPEN modes available in COBOL?
How we copy a program from production region to development region.What is the process & syntax ?
How does IDMS communicate with CICS?