what is decimal data error? when it will come and how to achieve(rectify) this error please give me solution as well as code
Answer Posted / 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 |
Post New Answer View All Answers
How can we override a file during runtime in rpg?
How Chain operation copies the record's data to the input buffer for the program?
what do you mean by an input subfile, what are the keywords required?
what is an online rpg?
How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
Explain mdt?
what is the necessary keyword needed to scroll subfile records?
How to declare the pull button in AS/400..
what is the difference between do while and do until?
1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.
how does the rpg element work?
How to write record if no field or the field are different in physical file in rpgle ?
how do you use commitment control in rpg?
explain sflclr, sflend, sfldlt, and sflcsrrrn?
what is *place and *auto keyword in prtf ?plz explain