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 / mallikarjun
if you use redefines in your statement the numeric
declaration will be over rided and stored as charechter, i
have testing this practically
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Explain about different table spaces.
what is the difference between COBOL2 AND COBOL390?
Why occurs cannot be used in 01 level in COBOL?
What are the pertinent COBOL
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
What is the difference between external and global variables in COBOL?
What is a SSRANGE and NOSSRANGE?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
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 can you get the ksds file records into your cobol program?
What are the cobol coding sheets?
How do u write test cases?
) what is the difference between AID and HANDLE AID?
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
i need a small 3d program using inline and outline.