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 / merguadithya111
var1 is abcde
var2 is also abcde
| Is This Answer Correct ? | 14 Yes | 0 No |
Post New Answer View All Answers
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
What is the usage of comp fields in cobol?
Write down the divisions of cobol program?
What are various search techniques in cobol? Explain.
What is the difference between Global and External Variables?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
What are the cobol coding sheets?
Why occurs cannot be used in 01 level in COBOL?
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
how do you reference the variable unblock file formats from cobol programs
What is the difference between PIC 9.99 and 9v99 in COBOL?
Write a program to explain size error.
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?