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

Job is in MSGW while reading the input file and writing a new record / updating a reacod due to Duplicate data error. What action would you take ( C D I R )...?

4 Answers  


I want to declare the number of elements of an array dynamically in RPGLE ? Is it possible? If yes, then how do I do it ?

2 Answers  


Thanks gagan for your answer,i'm new to as400,i don't know embedded sql in rpg.can you send me the coding for the below mentioned question in embedded sql rpg. 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.

2 Answers   iGate,


IN RLU what are the record level keyword is used?

5 Answers   iGate, TCS,


how do u find whether a record is locked or not??/

5 Answers   CTS,


A particular job executing on the iS is not behaving as expected and is operating in an environment in which it can be debugged. What commands would you use to debug and observe the program?

2 Answers   IBM,


1. I have2 records in a PF. READ PF DO DSPLY EMPNO RETRN DSPLY EMPNO ENDDO What was the output 2. SETON LR vs RETURN 3. Primary File 4. How to delete a deleted spaces 5. How to read a PF in reverse order in CL 6. I have a object in Lib A, B and C. But it shows in D Lib..Why? 7.

4 Answers   HCL,


how do I declare a table or array in rpg iv?

0 Answers   IBM,


How to set on/off a group of indicators in a single statement?

3 Answers  


WHERE DO WE USE COMIT KEYWORD IN AN RPG PROGRAM? YOU MADE SOME CHANGES TO DATABASE BUT YOU DON'T WANT TO SAVE THOSE CHANGES NOW? HOW DO YOU HANDLE THIS ONE?

2 Answers  


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

3 Answers  


please help me answer to this question what is the difference between the binding and srvpgm in ilerpg?

4 Answers   HCL,


Categories