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

WHAT IS DECIMAL DATA ERROR IN RPG IV...WHEN WILL IT HAPPENS?

Answer Posted / priya

Decimal data error occurs primarily when numeric field receives invalid values/numbers. The same goes for the case of parameter passing.

When the file is opened by a program and the record containing the invalid data is read, you will not get an error.

But if the field containing the invalid data is read in the program, and some arithematic operation is performed with that value it gives decimal data error.
For eg by being the Factor1 of a MOVEx operation, or either factor in an ADD, SUB, DIV, MULT etc., or on the right-hand side of an EVAL, or if it is involved in a WRITE or UPDATE operation -- then it will be checked, and then the program will fail.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is RETURN CURSER LOCATION in subfile?

1536


How to Define a Procedure in RPG?

1677


what is sflinz and sflrna?

1463


give three main purposes of file specification ?

1669


records can be read/update/deleted with which file?

1035


what is the disadvantage of using global variable?

1150


what are the three types of keywords associated with printer file ?

1635


how do you pass parameters in cl?

1734


what is the necessary keyword for non-join logical file?

1763


what is full form for dds?

1160


what does dfu program you to do on a record?

1179


What is difference between rename and prefix?

994


How can we read file using curser? how to define a curser?

1271


how to write code for singlepage in sqlrpgle with update ?

2781


define the purpose of the *bcat function?

1466