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

How do you reference the following file formats from cobol programs?

1151


What are the different open modes available in cobol?

1183


IF I mention stop run in CICS what happens?

2370


What are the pertinent COBOL commands?

3168


Differentiate between structured cobol programming and object-oriented cobol programming.

1143


how do you reference the rrds file formats from cobol programs

1569


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

1115


Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

5738


Mention the guidelines to write a structured cobol program?

1085


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

1163


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

1239


what is difference between cobol and cobol/400

22899


I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

2270


if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need

1345


What is the difference between binary search and sequential search?

1084