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

WHICH REPLY CODE IS USED BT sftp ? ... (e.g.226 is used by FTP IF FILE IS TRANSFERED)

2103


how can you check for a records existence without causing and i/o (chain/read)?

1994


what is the purpose of the indara keyword?

1676


what is a program described file in rpg?

1643


what are the various types of device files?

1575


how will you find a string using pdm?

1089


which indicator is used for read?

1072


WHAT IS AS/400 SYNORIO?

3310


how many levels are there in a physical file?

1699


What Does 'sr' In Columns 7-8 Of C Specs Mean?

1641


what is a primary file?

1631


how does the runqry show the output?

1345


what is rpg fixed logic cycle?

1125


can you have multiple key lists for a single file ?

1602


how to write *pssr ?

1026