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 am going to Display the WS-VARX and WS-
VARN?
Answer Posted / siva
WS-VARX = 12345FGHIJ
WS-VARN = 12345
| Is This Answer Correct ? | 1 Yes | 14 No |
Post New Answer View All Answers
what is the use of outrecord?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
How do you reference the fixed block file formats from cobol programs
) How do u handle errors in BMS macro
What is link edit in cobol?
Name some of the examples of COBOl 11?
What are the different rules for performing sort operation?
What is the difference between PIC 9.99 and PIC9v99?
Why did you choose to work with ibm mainframe cobol programming?
What are the cobol coding sheets?
what is the difference between COBOL2 AND COBOL390?
What is the difference between next sentence and continue in cobol programing language?
What are the various section in data division and briefly explain them.
What is perform what is varying?