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
How do i write a simple cobol programming that works

ADD VERB: The ADD Verb can be used to find the sum of two or more numbers and to store the sum.  The ADD verb takes any one of the two forms as shown below:

Valid and Invalid Word - Cobol words: Valid Word             Invalid Word & Reason emp-sal                  -pay   ( it starts with a hyphen)  TOTAL MARK (blank space em

FILE-CONTROL: The FILE-CONTROL paragraph names each and every file and identifies the first medium through file control entries. The basic format of a file control entry is gi

Example of read statement: Illustration: READ OLD-MASTER AT END MOVE ZERO TO END-OF-RECORDS. As a result of this statement, generally the next record from the OLD-MAST

PICTURE specification: The size of a group item is equivalent to the total of the sizes of all the subordinate elementary items. The group item class is alphanumeric. The i

single program how may when statement has used


PROGRAM FOR SCREEN SECTION WITH FILES: identification division.   program- id.   environment division.          input-output section.   file-control.     select

RELATIVE FILES: The Files that are stored on a direct access storage medium like magnetic disk are frequently known as direct access files. The COBOL supports three different