whn do i get soc7 abend while moving alphanumeric to
numeric or while moving numeric to aplhanumeric please
reply ASAP?
Answer Posted / b.rajesh
SOC7 abend error will occur when we pass ALPHANUMERIC to
NUMERIC
ex:-
01 a pic x(6) value 'rajesh'.
01 b pic 9(6).
procedure division.
move a to b.
it shows SOC7 error.
SOC7 abend error will NOT occur when we pass NUMERIC to
ALPHANUMERIC
ex:-
01 a pic 9(6) value '901090'.
01 b pic x(6).
procedure division.
move a to b.
| Is This Answer Correct ? | 14 Yes | 4 No |
Post New Answer View All Answers
what is difference between cobol and cobol/400
) how do u code after getting data?
What is report-item in COBOL?
What guidelines should be followed to write a structured cobol prgm?
What is perform what is varying?
In COBOL, what is the different between index and subscript?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
What are various search techniques in cobol? Explain.
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
Write a program to enter and display the names of students in a class using the occurs clause.
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
What is the Purpose of Pointer in the string?
how do you reference the rrds file formats from cobol programs
what is amode(24), amode(31), rmode(24) and rmode(any)?
How to remove 2 duplicate records and copy only one using job control language?