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


Please Help Members By Posting Answers For Below Questions

What is an in line perform? When would you use it? Anything else you wish to say about it.

639


How do you reference the following file formats from cobol programs?

689


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

407


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

693


What is the difference between structured cobol programming and object alternativelyiented cobol?

746






What is the difference between PIC 9.99 and PIC9v99?

769


Are you comfortable in cobol or jcl?

633


What is length is cobol?

639


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

679


What is difference between static and dynamic call in cobol?

766


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

812


Write a program to enter and display the names of students in a class using the occurs clause.

642


How do you get the data to code the BMS macro?

1470


What are various search techniques in cobol? Explain.

639


Which Search verb is equivalent to PERFORM…VARYING?

677