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? when it will come and how to achieve(rectify) this error please give me solution as well as code

Answers were Sorted based on User's Feedback



what is decimal data error? when it will come and how to achieve(rectify) this error please give me ..

Answer / anusha

Reason
The program gives the decimal data error if a Numeric value is passed from a numeric field to a non numeric field.
It usually occurs if the values are passed from one program to another.

How to avoid
Initialize a value to the field by INZ
The size and Decimal format of the passed and the passing parameter should be the same.

Is This Answer Correct ?    4 Yes 3 No

what is decimal data error? when it will come and how to achieve(rectify) this error please give me ..

Answer / swapan dey

A PGM can goes to a msgwait condition if it has occur any error i.one of them is datadecimal error.dump the pgm it will throw an error message if it is not handle through pgm just go to that particuller line no rectifies the wrong value passsed intoo it then compile the pgm once again it will run .

Is This Answer Correct ?    3 Yes 4 No

Post New Answer

More RPG400 Interview Questions

can i use UPDDTA command in rpg program in which contains a file

1 Answers   TCS,


how can an indexed file be used as arrival sequence in RPG?

3 Answers   IBM,


i want to retrieve record b/w 2 dates in as400

2 Answers   L&T,


How to handle duplicate error handling in RPG?

0 Answers  


How to call one program from another program in RPG? please help me with the code

0 Answers   HCL,


I want to add 10 days in current date. how it is possible in CL program...?

11 Answers   CSC,


What is the Record Address file. How can we use it in RPG program?

4 Answers  


how to run only 10 modules of existing N modules in service program in RPGILE ?

3 Answers   Wipro,


what is commitment control?explain about it?

1 Answers   HSBC,


There is a excel sheet having details of Old account number and new account number. I need to update these details in my AS400 files. i.e. all the records having old account number should be replaced with new account number. There can be 100 or 200 or 300 PFs...no fix files known. how can we do this?Solution should be performance oriented

3 Answers   Cap Gemini, IBM,


how to retrieve particular field records from a physical file,say i have a physical file called 'employee' in it i have to retrieve the records of a field 'admin' present in pf 'employee' using rpg,but i should not use logical file or openquery file.

3 Answers   iGate, Wipro,


In how many ways a session/device error occurs,,, and what is the remedy for it?

3 Answers  


Categories