77 a pic x(4) value '1234' -----> instead of this 'abcd'
77 b pic 9(4) value zeros.
move a to b
what is the answers for both cases?
IS it possible? Give me elementary move rules briefly......
Answer Posted / amarnath reddy
Hi Vinod,
If we move to only numeric values but alphanumeric data
item into numeric data item, We not possible to get any
abend. If we move to alphabetic values (abcd) to numeric
data item we can get the abend soc7.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
What are the different rules for performing sort operation?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
What are different data types in cobol?
Name the divisions, which are available in a cobol program?
Write the code to count the sum of n natural numbers.
What is Pic 9v99 Indicates in COBOL?
Are you comfortable in cobol or jcl?
What is the usage of comp fields in cobol?
Can we redefine the field of x(200) to less than 200?
Can you please let me know the centre name of INS certification in Kolkata.
What is the difference between next sentence and continue in cobol programing language?
IF I mention stop run in CICS what happens?
What is the difference between PIC 9.99 and 9v99 in COBOL?
how do you reference the variable unblock file formats from cobol programs