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
RULES OF REDEFINES CLAUSE The rules shown below govern the use of the REDEFINES clause: (i) The level-number of data-name-1 and data-name-2 should be identical. (ii) Exce

Occurs Clause: Let us establish tables with the help of an illustration. Assume that there are ten different types of income-tax rates that are read from some input medium and

START STATEMENT: The START statement places the files to the initial logical record whose record key satisfies the condition specified by the KEY phrase. The access mode shoul

READ STATEMENT: The aim of this verb is to make available the next logical record from the input file. It is important to note the meaning of the "next" logical record in the

Block Size: The normal practice is to group a number of consecutive records to form that is termed as a block or a physical record. The number of records in a block is frequen

GIVING    file-name-5. The input files to be merged through the MERGE statements which are specified in the USING phrase. These files should be sequential files and should be

SIMPLE MERGE VERB: Like sorting, the merging of files is often required in different commercial application. It is likely to merge two or more files with the help of one MERGE

PROGRAM FOR ELECTRICITY BILL: An electricity company supplies electricity to 4 types of customers coded 1, 2, 3 & 4.The rate schedule for customers is shown in one table as

B (Blank Insertion) : The occurrence of a B anyplace in the picture will insert a space character in the edited data. There can be more than one B in the picture. Examples: