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

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

File Description for the Relative and Indexed Files: The FD entry for a relative or an indexed file is similar to that of a sequential file. Some compilers do not permit varia

FILE DESCRIPTION- FIXED-LENGTH RECORDS: The normal characteristics of a file are explained in the file description (FD) entry of the DATA DIVISION.

REWRITE STATEMENT: As in the situation of a relative file, the REWRITE statement needs that the file should be opened in the I-O mode, and if the SEQENTIAL access mode is spec

PROGRAM FOR IF :   We have to write a program to check whether the given number is ODD or EVEN. Identification division. Program- id. Ifst. Environment division.

Edit Characters for Numeric Data: The characters below can be used in the PICTURE clause to indicate the editing.   Z    *  $  -    +    CR    DB    .    ,    B    O    /

When using the accept verb in cobol is it possible to assign something other then "SYSIN" for a ddname?

Illustration of Perform with varying option: A) Perform para-3 varying the k from 1 by 1 until k > 10. Here para-3 will be constantly executed 10 times (For k=1,2,3, .....1

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