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 are the pertinent COBOL commands?
Which mode is used to operate the sequential file?
What is redefines clause in COBOL?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
What is the LINKAGE SECTION used in COBOL?
How do you differentiate between cobol and cobol-ii?
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.
I have a File that has duplicate records. I need only those records that occur more than thrice.?
what is amode(24), amode(31), rmode(24) and rmode(any)?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
What is difference between static and dynamic call in cobol?
How are the next sentence and continue different from each other?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
How do you reference the following file formats from cobol programs?