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...


whn do i get soc7 abend while moving alphanumeric to
numeric or while moving numeric to aplhanumeric please
reply ASAP?

Answers were Sorted based on User's Feedback



whn do i get soc7 abend while moving alphanumeric to numeric or while moving numeric to aplhanumer..

Answer / b.rajesh

SOC7 abend error will occur when we pass ALPHANUMERIC to
NUMERIC
ex:-
01 a pic x(6) value 'rajesh'.
01 b pic 9(6).
procedure division.
move a to b.
it shows SOC7 error.
SOC7 abend error will NOT occur when we pass NUMERIC to
ALPHANUMERIC
ex:-
01 a pic 9(6) value '901090'.
01 b pic x(6).
procedure division.
move a to b.

Is This Answer Correct ?    14 Yes 4 No

whn do i get soc7 abend while moving alphanumeric to numeric or while moving numeric to aplhanumer..

Answer / y.prasanthi

When we provide invalid data i.e, alphanumeric to numeric
bcz alphanumeric contains characters also but numeric
contains only numbers.

Is This Answer Correct ?    5 Yes 0 No

whn do i get soc7 abend while moving alphanumeric to numeric or while moving numeric to aplhanumer..

Answer / adarsha

i agree a bit with Y.prasanthi's answer..

> when we move any value say date from numeric to alpha
numeric.. SOC7 will not occur.. but when you do any
logical/arithmetic calculations on it.. SOC7 will appear !

Is This Answer Correct ?    7 Yes 2 No

whn do i get soc7 abend while moving alphanumeric to numeric or while moving numeric to aplhanumer..

Answer / himanshu mistry

ASAP == As Soon As Possible..

Is This Answer Correct ?    2 Yes 2 No

whn do i get soc7 abend while moving alphanumeric to numeric or while moving numeric to aplhanumer..

Answer / murthy

adarsha is 100% correct
tnq adarsha

Is This Answer Correct ?    0 Yes 0 No

whn do i get soc7 abend while moving alphanumeric to numeric or while moving numeric to aplhanumer..

Answer / nishu

No soc7 error is not for moving numeric to alphanumeric and vice-versa, soc7 means 'bad data',it means if u are providing any arithmetic operator in place of numeric or alphanumeric data.
If you move numeric to alphanumeric value than it wont show any error,but it will give unpredictable results.

Is This Answer Correct ?    0 Yes 0 No

whn do i get soc7 abend while moving alphanumeric to numeric or while moving numeric to aplhanumer..

Answer / raju

What is ASAP(what does it mean) ?

Is This Answer Correct ?    0 Yes 1 No

whn do i get soc7 abend while moving alphanumeric to numeric or while moving numeric to aplhanumer..

Answer / lalitha

Alphanumeric to numeric - provided the alphanumeric field
has charachters also in it.

Is This Answer Correct ?    1 Yes 5 No

whn do i get soc7 abend while moving alphanumeric to numeric or while moving numeric to aplhanumer..

Answer / adithya

SOC 7 ABEND WIL GET WHN WE PASS NON-NUMERIC TO NUMERIC DATA TYPE

IT IS NOT POSSIBLE TO PASS NUMERIC TO ALPHANUMERIC

Is This Answer Correct ?    3 Yes 7 No

Post New Answer

More COBOL Interview Questions

In a COBOL II PERFORM statement, when is the conditional tested, before or after the perform execution?

3 Answers  


A s9(4). B v9(4) value 0.21 can i move this?

3 Answers  


i want to enter the name 'pandu' into ur table how?

1 Answers   Fidelity,


I am sending values a and b with pic x(10) and pic x(10) by using call statement. In linkage section, I am receiving values with pic x(10) and pic x(11). Will my program fail? will it be compile error or run time abend?

3 Answers  


what if any ,is the syntex error in the following piece of code 01 B PIC A(7) 02 C PIC 9(4) ........ IF(B NUMERIC) ADD 10 TO C a.the condition in the if statement is wrong b.noting is wrong c.because C is initialised.ADD 10 TO C is wrong d.both B and C shoud have same size.

5 Answers   TCS,


How can we increase the size of an existing PDS to include more no. of modules.

3 Answers  


How to find whether a Flat file is empty or not without Reading a file in COBOL Program. (not using JCL)

9 Answers   Bank Of America,


what is the use of outrecord?

0 Answers  


File status must be checked both while opening and reading the file or only while reading the file?

2 Answers  


01 WS-NAME PIC X(10) OCCURES 2. by this we can get ws-name 2 times. My qustion is how can we access the second name

5 Answers   TCS,


TYPES OF SORTINGS. which is more prefarable.

2 Answers   Syntel, TCS,


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

0 Answers  


Categories