Illustration of indexed tables, COBOL Programming

Illustration of indexed tables:

Index items defined through the INDEXED phrase of the OCCURS clause are one type of indexes. There can be other type of index items that are defined like data names in the DATA DIVISION with USAGE IS INDEX clause. Note that former we explained only the DISPLAY and COMPUTATIONAL usages. Index is other kind of usage. An index name defined with INDEX usage must not have any picture clause in the entry.

For illustration, the entry

77  I  USAGE  IS  INDEX

defines the index I.

The indexes defined with the usage INDEX are termed as index data items. They are functionally similar to the indexes defined through the INDEXED phrase with the exception that when an index name is defined with the USAGE IS INDEX phrase, the similar index name can be used for subscripts in more than one table or in more than one level of table.

 

Posted Date: 10/18/2012 1:54:14 AM | Location : United States







Related Discussions:- Illustration of indexed tables, Assignment Help, Ask Question on Illustration of indexed tables, Get Answer, Expert's Help, Illustration of indexed tables Discussions

Write discussion on Illustration of indexed tables
Your posts are moderated
Related Questions
ON SIZE ERROR OPTION: Whenever a size error occurs, the contents of the result field after the operation is unpredictable.  Though, the processing is not-terminated and the co

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

MOVE CORRESPONDING: It is frequently required to move some of the data items of one group to some other data items in the other group. If the names of the equivalent data item

Structure of a COBOL Program: Every COBOL program should have the 4 divisions in the order in which they are specified below: 1. Identification division 2. Environment D

PERFORM WITH VARYING OPTION: The format is as shown below:

Can u please let me know how can i use SSA''s in IMS while fetching segments. Thanks, Rajesh

Example of compound condition: In common, a compound condition has the form which is as shown below: Where condition-1 & condition-2 can be any one of the below:

PROGRAM FOR INDEXED SEQUENTIAL FILE CREATION (RANDOM MODE): We have to write a program to create an Indexed Sequential File in random mode for Student particulars. Suppose jus

cobol program for generate a eb bill

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: