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 / ankur
after redefining we can also move alphabetic to numeric or
numeric to alphabetic field . mathematical operation is
different . if we go for that it will give s0c7.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
What is difference between static and dynamic call in cobol?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
what is the use of outrecord?
Write a program to explain size error.
Write a program to enter and display the names of students in a class using the occurs clause.
Explain how you can characterize tables in cobol?
How can you get the ksds file records into your cobol program?
Write some characteristics of cobol as means of business language.
Which division and paragraphs are mandatory for a COBOL program?
What are declaratives and what are their uses in cobol?
What are the different rules for performing sort operation?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
) How do u handle errors in BMS macro?
Write the code implementing the perform … varying.