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 the use of intialize verb?
what is the difference between COBOL2 AND COBOL390?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
What is a scope terminator give example?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
What is an in line perform? When would you use it? Anything else you wish to say about it.
What is the Purpose of Pointer in the string?
Write a program to enter and display the names of students in a class using the occurs clause.
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
What are the different rules to perform a Search?
How many sections are there in data division in COBOL?
i need a small 3d program using inline and outline.
What type of SDLC u followed? Why?
How to know whether the module is dynamical or statistical?