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

I am getting S00F abend when i try to compare two variable
of different pic class,one variable is of 9(09) and another
is S9(09) comp-3.

First i moved the data from S9(09) comp-3 to 9(09), but no
luck. So i tried to move the data from S9(09) comp-3 to X
(09) and move to 9(09). I am getting same error message,
Please help me to find solution for this ptoblem.

ERROR MESSAGE - "The system or user abend S00F R=NULL
was issued."

Answer Posted / eugene

You can't use move when doing math operations with
different data types / presentations.
Try compute statement to convert one of the numbers to the
same presentation as another one and then compare.

Like, A - pic
B - comp-3
Define W as comp-3

Compute W = A

compare W and B

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc

2532


What is link edit in cobol?

1148


Write the code implementing the perform … varying.

1012


What is the difference between external and global variables in COBOL?

1355


What is difference between static and dynamic call in cobol?

1295


What is the difference between PIC 9.99 and PIC9v99?

1277


For rewrite, why is it mandatory that file needs to be opened?

1061


how to access the file from prodution from changeman tool and to submit a file to production

7440


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

1185


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

1142


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

1053


What is comp-1 and comp-2?

1183


I have a File that has duplicate records. I need only those records that occur more than thrice.?

9742


What are the pertinent COBOL commands?

3103


What is rmode(any) ?

1181