can we use 77 level no for Redefines?if we use give an
example?

Answers were Sorted based on User's Feedback



can we use 77 level no for Redefines?if we use give an example?..

Answer / mr. cooooool

Hi..........

Yes, We can use 77 level in Redefines.
But make sure the redefining variable & Redefined variable must be defined with level 77.

77 A pic x(5) value 'delhi'.
77 B redefines A pic 9(5).


Thanks.

Is This Answer Correct ?    15 Yes 0 No

can we use 77 level no for Redefines?if we use give an example?..

Answer / krishna rao

yes we can use.but the redefine and redefued level numbers
should be equal.

Is This Answer Correct ?    1 Yes 1 No

can we use 77 level no for Redefines?if we use give an example?..

Answer / mrudula

No, level number 66 is used only for RENAMES the elementary data items

Is This Answer Correct ?    3 Yes 8 No

Post New Answer

More COBOL Interview Questions

How to define variable 9(20) in COBOL, because compiler does not allow us to declare variables with Pic 9(18). Can anyone please let me know the answer... I know one answer to this question which is to use Compiler option Arith (Extend) during Compilation. It extends the maximum limit to 9(32)..Just wanted to know if there is any other way to extend this?

4 Answers   CSC, TCS,


What is the LINKAGE SECTION used for?

4 Answers  


) How do you access the migrate the data from production region to development region

1 Answers   IBM,


What are the various section in data division and briefly explain them.

0 Answers  


If I want to increase the Limit in GDG. What should I do?

2 Answers   IBM,






Consider the following: 77 W-NUM PIC 9 VALUE 0 ------ MOVE 1 TO W-NUM PERFORM PARA-X UNTIL W-NUM > 9. ------ PARA-X ADD 1 TO W-NUM How many times PARA-X is executed ?

14 Answers   Accenture, TCS,


What is the difference between Call and a Link?

0 Answers  


What is Redefines clause?

8 Answers  


what is the use of keep and pass in disp

1 Answers  


after udatingg first 110 rows, my job abends. now how do i change my cobol program so that when i restart the Job it will start updating from 111th row ( i.e in next run I di=ont want to update those 110 rows which are already been updated in the first run before job abend)

7 Answers   Allianz, Wipro,


How to replace the GOTO statement in COBOL without changing the structure of program. e.g. consider following code... I.D. E.D. D.D. P.D. compute C = A + B. GOTO para 100-display. compute D = C - D. GOTO 200-display. some other logic...... ........ GOTO 300-para. ...... ...... GOTO 400-para. Now I want to replacce all GOTO statements without changing the structure and otput of program.

6 Answers   Accenture,


what is record label is empty or standard in file description of data division?

2 Answers   HCL,


Categories