what is file information data structure?
Answer / vishwa natri
File Information Data structure (INFDS) can be defined for each file to make file exception/ error information available to the program.
A file information data structure contains predefined subfields that identify:
the name of the file for which the exception/error occurred.
the record being processed when the exception/error occurred or the record that caused the exception/error.
The last operation being processed when the exception/error occurred.
The status code. The RPG routine in which the exception/error occurred.
| Is This Answer Correct ? | 0 Yes | 0 No |
How to handle duplicate error handling in RPG?
How many program bind in one module....
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?
1.Load an runtime array of length 99 from the pf and you want to handle all the possible errors?
during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.
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.
1.Are there any errors in the following statement?If so then list them.DTAARA is a data area having a field EMP # and EMPNO is a field in the file EMPPF.Which has one record. READ EMPPF IF %FOUND(EMPPF) IN DTAARA EVAL EMP#=EMPNO OUT DTAARA ENDIF
Can we trigger an rpg program which has user interaction with display file when updating a file using the command ADDPFTRG?
Why Rpg/400 is Famous?
Have a join logical file with more than one members with different record formats. So how can we read the different members from this file and also how we can read the different record format from the join logical?
what procedure should we use to find whether the following operations are successful or not setll setgt chain read reade readp pls tell with example i'm not lazy to read the manual or not lazy to do anything.but sometimes i cannot understand the things given in manual in high level english its little bit complicated for me,i can't understand their way of writing thats why i ask these questions here and find the solution in simple words that i can understand thats the real reason sir.sorry if i had hurt you or disturbed you.please understand my situation.
Delete FileName at first statement in RPG.