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
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
What is the difference between external and global variables in COBOL?
Describe the cobol database components?
What are the access modes of START statement?
Write the code to count the sum of n natural numbers.
What is the Purpose of POINTER Phrase in STRING command in COBOL?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
What are the different rules to perform a Search?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
How do u write test cases?
How can you get the ksds file records into your cobol program?
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
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 variable block file formats from cobol programs
What are the different rules for performing sort operation?