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
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.
i want a program using by if, evaluate , string, unstring, perform, occurs?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
What is the difference between goback, stop run and exit program in cobol?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
Write a program that uses move corresponding.
State the various causes of s0c1, s0c5 and s0c7.
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
What is report-item in COBOL?
What is perform what is varying?
What is the compute verb? How is it used?
What is amode(31)
What do you understand by psb and acb?
What is the local-storage section?