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 to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

2228


What is the difference between external and global variables in COBOL?

1044


Describe the cobol database components?

886


What are the access modes of START statement?

934


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

927


What is the Purpose of POINTER Phrase in STRING command in COBOL?

962


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

1072


What are the different rules to perform a Search?

815


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

987


How do u write test cases?

1820


How can you get the ksds file records into your cobol program?

846


Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks

2596


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

2131


how do you reference the variable block file formats from cobol programs

929


What are the different rules for performing sort operation?

957