Illustration of renames clause, COBOL Programming

Illustration of Renames clause:

In the illustration, PAT-OTHER-THAN-BASIC will become a fresh group consisting of DEARNESS-ALLOWANCE, HOUSE-RENT & MTHLY-INCENTIVE. Keep in mind that the new group overlaps on two original groups, viz., part of FIXED-PAY and the whole ADDITIONAL-PAY. These overlapping are allowed given the elementary items are all contiguous. In a same way IT-AN-DEDUCTIONS has two elementary items PF-DEDUCT and IT-DEDUCT. This latest group is formed out of the original group deductions. Alternatively, the similar thing can also be completed in the original description itself by placing the IT-AND-PF-DEDUCTIONS at level 04 under DEDUCTIONS. The accurate syntax of the RENAMES clause is as shown below:

66  data-name-1 RENAMES daa-name-2 THRU data-nmae-3

 

Posted Date: 10/17/2012 2:20:22 AM | Location : United States







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

Write discussion on Illustration of renames clause
Your posts are moderated
Related Questions
How do I move a single QUOTE to a field or set the value clause? "''" does not work?

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

PROGRAM FOR PERFORM ...UNTIL We have to write a program to find the sum of "n" natural numbers. Identification division. Program- id. PerfUntil. Environment division.

RESERVE clause: This clause indicates the number of buffers to be used for the file. Integer-1 specifies this number. ORGANIZATION/ACCESS clause: These two clause

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

GO TO, STOP RUN: The GO TO verb is used to completely transfer the control to elsewhere in the program. Its form is as shown below: GO TO procedure-name As a result o

NONSTANDARD CLAUSES: The various clauses explained above are as per the ANSI standard. Also, most compilers provide for additional nonstandard clauses to meet the specific nec

Example of File-control: The assign clause assigns a specific physical peripheral device name to a file. The physical peripheral device are machine-dependent. We use the devic


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