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 / mithlesh
It is not possible to move alphanumaric to numaric data type
it will throw soc7 error at runtime.
Sco7 is the abend . which come when mismatch problem
occured.
Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What is an in line perform? When would you use it? Anything else you wish to say about it.
How do you reference the following file formats from cobol programs?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
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 is the difference between structured cobol programming and object alternativelyiented cobol?
What is the difference between PIC 9.99 and PIC9v99?
Are you comfortable in cobol or jcl?
What is length is cobol?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
What is difference between static and dynamic call in cobol?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
Write a program to enter and display the names of students in a class using the occurs clause.
How do you get the data to code the BMS macro?
What are various search techniques in cobol? Explain.
Which Search verb is equivalent to PERFORM…VARYING?