What will happen if a variable is declared as below..
Explain with an example?
Working storage section:-
01 WS-VARX PIC X(9) VALUE SPACES.
01 WS-VARN REDEFINES WS-VARX PIC 9(9).
Answer Posted / ezhilenthi
It wont show any Abend, the main purpose of REDEFINES
clause is to use the same storage area with one or more
data item with different sizes and PIC 's. We will face
Abend if we try to MOVE WS-VARN TO WS-VAR.
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
Write a program that uses move corresponding.
Explain how you can characterize tables in cobol?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
Write a program to explain size error.
How many sections are there in data division in COBOL?
What rules are to be followed while using the corresponding options?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
What is the difference between Call and a Link?
Can you please let me know the centre name of INS certification in Kolkata.
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
how do you reference the rrds file formats from cobol programs
What is Pic 9v99 Indicates in COBOL?
What is the compute verb? How is it used?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?