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
Illustration of if- else statement: IF OK-BALANCE NEXT SENTENCE ELSE MOVE 2 BALANCE-CODE In this illustration, the OK-BALANCE is a condition name. No action is specific if

PROGRAM FOR MULTIPLY VERB: We have to write a simple program to elaborate MULTIPLY verb. You can also use the edit characters in the program. Identification division. Pr

READ STATEMENTS: The common format for the read statements is as shown bellow. Format 1: READ file-name RECORD [ INTO   identifier ] [  ;  AT   END     imperative-s

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:

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

I uploaded a file from PC to Mainframe, variable LRCL 256. In my COBOL program I defined it as FD INPUT-FILE LABEL RECORDS ARE OMITTED BLOCK CONTAINS 0 RECORDING MODE

BLANK WHEN ZERO: BLANK WHEN ZERO is an editing clause that may be used along with a picture. This will set the whole data item to blanks of its value is equal to zero. Though,

Direct Organization: Besides the relative or indexed organization, also a direct access file can be designed to have what is termed as direct organization.  In this organizati

PERFORM WITH UNTIL OPTION: The format is as shown below: Illustration:  A) Perform p-3 until i > 5. Here p-3 will be executed whenever i B)  Perform p-2 thru