what is file information data structure?



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

Post New Answer

More RPG400 Interview Questions

I have 1000 records in a file. I would like to generate 10 identical reports from this record with same format (structure of records) how do I do this?

1 Answers   IBM,


how to find whether a date format is valid or not in RPG400 not in RPGILE.Can you please write the coding for this sir,i'm new to AS400.Please help.

2 Answers   iGate,


When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?

0 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,


Can AnyOne tell me how to read join logical file in rpg from starting to end?

2 Answers  






Suppose we have 10 records with same name and we are reading using READE,after 4 record i have to use CHAIN what is the output

3 Answers  


How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...

0 Answers  


Interviewer asked me write down DDS for load all subfile .can anybody write dds

0 Answers  


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,


Can we possible to key with the date field?

1 Answers   IBM,


You have a *USE authority on a Library and *All authority on a file in that Library.Can you change the data in that file?

1 Answers  


Hi, can any one tell me :IN CASE OF SINGLE PAGE FILE HOW WILL I LOAD THE PREVIOUS PAGE WITHOUT THE USE OF SFLCLR INDICATOR ?

3 Answers   IBM,


Categories