Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 / manju

Hi,

Sruthi's answer is completely wrong.
Guys, If you are not clear with the answer then please dont
post it. This website is refered by many and you may lead
them to wrong direction. Even if you post when you are not
clear, then mention it clearly that you are not sure about
the answer and ask somebody else's suggestion to correct if
that is wrong. Dont post the wrong answer as such you are
sure.

The answer for the above question is:

Yes, S0C7 is data exception, However it is no where related
with move statement. Move statement (Alphanum or Alpha to
Num) and (Num to Alphanum or Alpha) never give you any
abend or error. The move happens either ways.

the simple answer for the above question is "No" you wont
get any abend for the above move statement.

S0C7 comes only when you use Alphabetic feild for
arithmatic operation OR a Numeric feild containing an
alphabet and used for arithmatic operation.

I dont think i am wrong here.. If anybody feels please
correct me.


Thanks,
Manju.

Is This Answer Correct ?    10 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

1186


What is Pic 9v99 Indicates in COBOL?

1178


What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?

1118


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

1954


Explain what you understand by passing by value.

1099


Can a Search can be done on a table with or without Index?

1235


What is a SSRANGE and NOSSRANGE?

1416


Difference between array and sub-script ?

1604


How are the next sentence and continue different from each other?

1225


What is the difference between Global and External Variables?

1294


Name the sections present in data division.

1175


What is a report item?

1093


Write the code implementing the perform … varying.

1013


if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.

6452


How arrays can be defined in COBOL?

1136