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
Comparing features of oracle rdbms with Mysql

calculate simple interest

REDEFINES CLAUSE: At times it may be found that two or more storage regions defined in the DATA DIVISION are not in use concurrently. In such situations only one storage regio

FILE-CONTROL paragraph for the relative files: The normal format for the SELECT clause for a relative file is as shown below. SELECT  file-name  ASSIGN  TO  implementor-nam

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

Example of Nested if statement: Illustration: Consider the following sentence The nested IF sentence holds two IFs and one ELSE. The IF-ELSE couple has been marke

ON SIZE ERROR OPTION:   If after an arithmetic expression, the result exceeds the highest value which can be accommodated in the result; this error is termed as size error. T

Examples - Edit characters for numeric data: The following illustration illustrates the use of Z editing characters. The character b is used to indicate the space character an

STATEMENTS FOR SEQUENTIAL FILES: A basic operation on a file includes the reading and writing of its records. Whenever the file is sequential, there are three verbs for the

ACCEPT STATEMENT: The ACCEPT statement is used to read the low-volume data from the operator's console, several other hardware device or from the operating system. The common