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 / sandy
Mallikarjun is 100% correct
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
how do you reference the rrds file formats from cobol programs
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
How to print 10 to 1 if the input have only 10 digit number?
What are the different open modes available in cobol?
how do you reference the printer file formats from cobol programs
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
Name the divisions, which are available in a cobol program?
What kind of error is trapped by on size error option?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
What is the local-storage section?
Differentiate between structured cobol programming and object-oriented cobol programming.
State the various causes of s0c1, s0c5 and s0c7.
how to refer the data field?