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 |
In the JCL, how do you define the files referred to in a subroutine ?
When is inspect verb is used in cobol?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
how can i see junk values in dclgen or in hostvariable of comp ?
how to crack cts interview apps? NOVEMBER 21 2010
If I want to increase the Limit in GDG. What should I do?
Is it possible to mutliply a comp variable with an comp-3 variable. Will there be any error if i do it?
How to find whether a Flat file is empty or not without Reading a file in COBOL Program. (not using JCL)
There is a variable with value 19446. Requirement is to convert it to 194.46. I tried it by doing divide by 100 and my receiving field data type is 9(03)v99. But the output is 194. I am not getting the decimal value. Could anyone pls let me know how to get this done?
what is redefines? where it can be effectively use for the purpose of memory utilization? give an example?
How can I tell if a module is being called DYNAMICALLY or STATICALLY?
What will happen if we move SPACES to numeric field and ZEROES to alphabetic field?