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


Please Help Members By Posting Answers For Below Questions

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.

3718


i want a program using by if, evaluate , string, unstring, perform, occurs?

4061


How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

712


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

720


What is the difference between goback, stop run and exit program in cobol?

929






System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

1588


Write a program that uses move corresponding.

673


State the various causes of s0c1, s0c5 and s0c7.

664


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?

700


What is report-item in COBOL?

711


What is perform what is varying?

709


What is the compute verb? How is it used?

661


What is amode(31)

724


What do you understand by psb and acb?

665


What is the local-storage section?

682