Difference between index and subscript, COBOL Programming

What is the difference b/w index and subscript?

Subscript indicates to the array occurrence whereas index is the displacement (in no of bytes) from the beginning of the array. An index can only be modified using PERFORM and SEARCH and SET.

Posted Date: 9/1/2012 12:21:24 AM | Location : United States







Related Discussions:- Difference between index and subscript, Assignment Help, Ask Question on Difference between index and subscript, Get Answer, Expert's Help, Difference between index and subscript Discussions

Write discussion on Difference between index and subscript
Your posts are moderated
Related Questions
There are some restrictions when these procedures are used. (i) The Procedure should not contain any SORT/MERGE statement. (ii) An explicit transfer of the control outside

RULES FOR INDEXED TABLES: The rules of indexing a table with an INDEXED phrase are as shown below: (1) If indexing is completed for any one level of a table, then indexing

CONDITION - COBOL Programming: The condition is an entity which at one point of time can have only one of the two values - true or false. As we already know that, the IF verb

FILE STATUS clause: This clause has been involved in the above syntax for completeness. The ORGANIZATION, REVERSE, ACCESS and STATUS clause can be specified in any order.

calculate simple interest


calculate simple interest

Comparison of Nonnumeric Operands: A nonnumeric operand can be compared to the other nonnumeric operand according to the rules as shown below: (i) Fields of Equal Sizes:

PROGRAMS FOR REDEFINES CLAUSE: We have to write a simple program to explain the REDEFINES clause at 01 level. identification division. program- id. Redef. environment

SUBTRACT VERB: The SUBTRACT verb is used to subtract one, or the sum of two or more numbers from one or more numbers and to store the result. The form of the SUBTRACT verb