01 var1 pic x(10)
01 var2 redefines var1 pic 9(10).
then in procedure division
move 'abcde' to var1 then waht is the value of var1 and var2
Answer Posted / adarsh562
abcde.....
0000000000
. indicates blank
| Is This Answer Correct ? | 0 Yes | 6 No |
Post New Answer View All Answers
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
What are various search techniques in cobol? Explain.
what is difference between cobol and cobol/400
How to use the same COBOL program in Batch and CICS on lines? explain with an example
What is the Purpose of Pointer in the string?
IF I mention stop run in CICS what happens?
What is amode(24)?
What is the difference between comp and comp-3 usage?
What rules are followed by the search verb.
Have you used comp and comp-3 in your project? And how?
explain sorting techniques in cobol program?
What are the different types of condition in cobol and write their forms.
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
Name the sections present in data division.