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
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

File volatility: File volatility associates to the number of times the updating of records are needed during some time period. File interrogation: Some files hold re

RULES FOR OCCURS CLAUSE: The rules apply for the OCCURS clause and the subscripts are as shown below. (1) The integer in the OCCURS clause should be a positive integer.


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.

Comparison of Numeric Operands: We are well-known with the kind of the relational condition where both the operands are numeric. The comparison in this situation is algebraic

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

Sign - Picture clause: The numeric data item can be signed or unsigned. If a numeric data is regarded as unsigned then during the execution these unsigned data items are treat

BLOCK CONTAINS CLAUSE: Integer -1 of the BLOCK CONTAINS clause indicates the block size either in terms of records or in terms of characters. For illustration, BLOCK CONTAINS

Comparison of the Numeric Operand with Nonnumeric Operand: The numeric operand can be compared to the nonnumeric operand subject to the restrictions which are as follows.