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 / soumya santosini patnaik
soc7 abend occurs because according to move rules
alphaneumericfields can be moved to numeric fields only
when alphanumeric field consists of numeric data only.
| Is This Answer Correct ? | 0 Yes | 5 No |
Post New Answer View All Answers
Define static linking and dynamic linking.
What are declaratives and what are their uses in cobol?
Write down the divisions of cobol program?
What is the usage of comp fields in cobol?
What is amode(31)
) what is the difference between AID and HANDLE AID?
how to refer the data field?
What are the different types of condition in cobol and write their forms.
What are all the divisions of a COBOL program?
What are literals?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
What are the access modes of START statement?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
What guidelines should be followed to write a structured cobol prgm?
How do we get current date from system with century in COBOL?