Renames clause, COBOL Programming

RENAMES CLAUSE:

At times re-grouping of an elementary data items in a record may be essential so that they can belong to the original as well as to the latest group. This is only possible in COBOL by the use of the RENAMES clause. The illustration below describes the use of the RENAMES clause.

1865_RENAMES CLAUSE.png

66  PAY-OTHER-THAN-BASIC RENAMES DEARNESS-ALLOWANCE THRU

MTHLY-INCENTIVE

66  IT-AND-PF-DEDUCTIONS RENAMES PF-DEDUCT THRU IT-DEDUCT

 

Posted Date: 10/17/2012 2:18:38 AM | Location : United States







Related Discussions:- Renames clause, Assignment Help, Ask Question on Renames clause, Get Answer, Expert's Help, Renames clause Discussions

Write discussion on Renames clause
Your posts are moderated
Related Questions
VALUE CLAUSE: The value clause defines the preliminary value of the data item. Normally initialization will be completed just before the first statement in the procedure di

Example of Class condition: Let the BASIC-PAY be a data name in the card record defined with picture 9(5) V99. By reading the card we can test the value of the BASIC-PAY to ma

Buffers: The Modern computers are able of handling I-O operations independent of the CPU by means of the hardware termed as data channel. For illustration, if two buffers a

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.

Currency Sign - edit characters for numeric data: $ (Currency Sign): The single currency sign can appear at the leftmost place of a picture. In that situation the $ cha

Example of constructing an arithmetic expression: An arithmetic expression may be proceeded by a + or - sign. These operations are known as unary + or unary - operators. Il

Write a COBOL IF sentence to use the values of numeric variables EXAM and COURSEWORK , both assumed to be with format PIC 999 and in the range 0 to 100 and to move the value:

MERGE VERB WITH OUTPUT PROCEDURE: Like the sort verb, the merge verb can also have an output procedure. The syntax of the MERGE verb is as shown below:   The r

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

Common form of the READ statements: Format 1 is the common form of the READ statements. Format 2 is used when the access mode is either random or dynamic. For illustration,