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
Why occurs cannot be used in 01 level in COBOL?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
What are the different rules of SORT operation?
What is a scope terminator give example?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
what is the difference between COBOL2 AND COBOL390?
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
Write a program to explain size error.
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
what are decleratives in cobol?
Which mode is used to operate the sequential file?
What are literals?
What is the difference between goback, stop run and exit program in cobol?
Write the code implementing the perform … varying.
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc