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

what is the difference between COBOL2 AND COBOL390?

2441


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

705


Whats the difference between search & search ALL?

5237


Write the code to count the sum of n natural numbers.

696


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

648






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?

5355


For rewrite, why is it mandatory that file needs to be opened?

616


How to use the same COBOL program in Batch and CICS on lines? explain with an example

1906


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

746


) How do u handle errors in BMS macro

1498


What are the pertinent COBOL

2035


What is a scope terminator give example?

650


which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1014


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

733


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

697