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
how do you reference the rrds file formats from cobol programs
What is the difference between goback, stop run and exit program in cobol?
What is the difference between Global and External Variables?
what happens if parmparameter passes zero bytes to the program
what are decleratives in cobol?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
In COBOL programming, what is PERFORM? What is VARYING?
What rules are followed by the search verb.
Give some examples of command terminators?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
What the difference is between continue and next sentence?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
Write the code to count the sum of n natural numbers.
What is an in line perform? When would you use it? Anything else you wish to say about it.
how do you reference the printer file formats from cobol programs