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


Please Help Members By Posting Answers For Below Questions

) How do u handle errors in BMS macro?

1429


What is the difference between binary search and sequential search?

641


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

709


Write a cobol program making use of the redefine clause.

733


What kind of error is trapped by on size error option?

740






What are the rules of the move verb?

707


Which mode is used to operate the sequential file?

669


Can a Search can be done on a table with or without Index?

803


what is amode(24), amode(31), rmode(24) and rmode(any)?

703


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

1906


Give some examples of command terminators?

759


What is amode(31)

724


what is difference between cobol and cobol/400

21567


What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

717


What is redefines clause in COBOL?

851