can we use 77 level no for Redefines?if we use give an
example?
Answers were Sorted based on User's Feedback
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 |
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 |
Answer / mrudula
No, level number 66 is used only for RENAMES the elementary data items
Is This Answer Correct ? | 3 Yes | 8 No |
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?
What is the LINKAGE SECTION used for?
) How do you access the migrate the data from production region to development region
What are the various section in data division and briefly explain them.
If I want to increase the Limit in GDG. What should I do?
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 ?
What is the difference between Call and a Link?
What is Redefines clause?
what is the use of keep and pass in disp
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)
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.
what is record label is empty or standard in file description of data division?