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
What is inspect in cobol ?
what is search and searchall?what is the diffrence between them?give an best example?
Explain the configuration section of a cobol program with examples of syntax.
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
how to refer the data field?
Write a program that uses move corresponding.
What rules are followed by the search verb.
What is an in line perform? When would you use it? Anything else you wish to say about it.
How arrays can be defined in COBOL?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
What is amode(31)
Write down the divisions of cobol program?
What is redefines clause in COBOL?
Describe the cobol database components?
Explain how to differentiate call by context by comparing it to other calls?