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 |
When will DUMP & DEBUG be ignored?
1.String operatio such as moving the characters to the variables? 2.what are the building functions for check file longs? 3.which of the following methods will make externally describe file fields available to a program? A: A/copy statement that specifies the library file and member of the field reference file source code B: A data structure definition specification that names the file on the EXTNAME keyword C: A data structure definition specification that names the file on the IMPORT keyword? D: A Definition specification for each desired field with the REFFLD keyword
In single page subfile,if I select the mutiple options in 1 page and without pressing enter,I press rollup key (pagedown).In such case how I can handle it in rpg becasue in single page we have to handle it in pgm. It would be helpful if any one answer with coding
4 Answers Infinite Computer Solutions,
Can anybody tell me the setps to create .csv file in IFS folder on AS/400. I also need to know how I can send this .csv file to PC in xls sheet.....?
what will happen two jobs have same name are submitted
How would display prime numbers using CL program?
suppose i i am changing / updating record of subfile and i want to change the record in reverse order . means i want to change the bottom record first and so on through readc . how i do it please any one explain .
CAN WE READ RECORDS WITHOUT USING SETLL,READ,CHAIN IN RPG?
if there is pf in two libraries and there is a logical file based on the PF, how to find the pf on which the pf is based.
How can we read a particular record from the database file which is not having DDS (Flat File). For example, there are 100 records in the flat file. How can we retrive 15th record in RPG/400 program (Without using CL)
Can anybody tell me that why we use option(*nodebugio)in H- Spec?
what is meant by record lock.how records are locked.what is the purpose of record lock.if records are locked what happens.how to find out which record is locked.