soc-7 is a bad data,invalid data.
when ever we are moving the alphabets in the position of
numeric then we got this abend. so my question is if
o1 ws-data pic 9(1) value passing the alphabet some x. then
we got soc-7 or not? i want clarification ?
Answer Posted / jaganmohanreddy
hai manju u said for arthimatic expressions we will get
this abend not only for this when u trying to read file in
cobol it has alphanumeric data but the corresponding field
described in file description has 9(5) something numeric
pic clause we will get this abend just check it once u have
any doubt so soc7 is for invalid data , when u try with
move statemets with data exception u will get runtime error
check it also once, and u said numeric field containg
alphabet using for arthimatic exp then we will get this ,i
have one doubt how numeric filed will contail alphabetic
data just clear my doubt please
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
How you can read the file from bottom?
Explain what you understand by passing by value.
How are the next sentence and continue different from each other?
In COBOL programming, what is PERFORM? What is VARYING?
) what is the difference between AID and HANDLE AID?
Write a program that uses move corresponding.
Have you used comp and comp-3 in your project? And how?
What are the different types of condition in cobol and write their forms.
What is the usage of comp fields in cobol?
What is the difference between next sentence and continue in cobol programing language?
What guidelines should be followed to write a structured cobol prgm?
Which mode is used to operate the sequential file?
what is amode(24), amode(31), rmode(24) and rmode(any)?