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
IF I mention stop run in CICS what happens?
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 is rmode(any) ?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
What is the difference between PIC 9.99 and 9v99 in COBOL?
How many sections are there in data division in COBOL?
Which division and paragraphs are mandatory for a COBOL program?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
What rules are followed by the search verb.
Difference between cobol and cobol-ii?
What are the access modes of START statement?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
i need a small 3d program using inline and outline.
What are the different data types in cobol?
Give some examples of command terminators?