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
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 |
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 |
Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?
what was the robotech rpg?
What is the Record Address file. How can we use it in RPG program?
how can we can we the data decimal error?how can we open such file in support
How can you delete a record from a file in RPG without using DELETE oppcode?
use of PUTOVR,OVRDTA,KEEP keywords?
HI,1: What is the function of 'SETON LR' AND '*INLR=*ON ? 2:Can we used "seton lr" OR "*INLR = *ON" in between the program code ? 3:if yes then according to there function the code which is written acter seton lr/ *inlr should not be execute . Can any one tell me why those code get executed ?
How to add 2 new fields in a file? How many ways are there in as400?
How do you know if a record exists without doing a READ and CHAIN?
If record-format name in an externally-described file has already been defined as a file-name.how to solve this?
What does Implicit Open means with respect to a file ? What about the Explicit Open?..what are the major differences between these two?
what is file information data structure?