What will happen if a variable is declared as below..
Explain with an example? Working storage section:-
01 WS-VARX PIC X(10) VALUE 'ABCDEFGHIJ'.
01 WS-VARN REDEFINES WS-VARX PIC 9(5) VALUE '12345'.
What will happen I want Display WS-VARX and WS-VARN?
Answer Posted / reena
The Redefined clause cannot contain a Value Clause.
i.e. it should only be WS-VARN REDEFINES WS-VARX PIC 9(5).
Is This Answer Correct ? | 12 Yes | 1 No |
Post New Answer View All Answers
What is the difference between PIC 9.99 and 9v99 in COBOL?
) how do u code after getting data?
What is static and dynamic call in cobol?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
Write the code to count the sum of n natural numbers.
what are decleratives in cobol?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
What are various search techniques in cobol? Explain.
What is the local-storage section?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
) what is the difference between AID and HANDLE AID?
Write a program that uses move corresponding.
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
How are the next sentence and continue different from each other?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?