When we use any keyword like FIFO,LIFO, at file level but whenever we check by runqry we couldn't find answer in FIFO,LIFO,FCFO etc so how we check the answer.

Answers were Sorted based on User's Feedback



When we use any keyword like FIFO,LIFO, at file level but whenever we check by runqry we couldn�..

Answer / satyabrata

UNIQUE: A record cannot be entered or copied into a file if its key value is same as the key value of a record already existing in the file.

FIFO: The duplicate key records will retrieved in first in first out order.
LIFO: The duplicate key records will retrieved in last in first out order.
FCFO: The duplicate key records will retrieved in first changed first out order.

Is This Answer Correct ?    1 Yes 0 No

When we use any keyword like FIFO,LIFO, at file level but whenever we check by runqry we couldn�..

Answer / vivek dwivedi

Use the DSPF command to check effect of LIFO,FIFO

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More DB400 Interview Questions

How to update physical file using logical file with example?

0 Answers  


I want to change the attribute of field or want to add new field in existing PF but condition is format level identifier should not change, is it possible?

9 Answers   Mind Tree, TCS,


what is open data base command

1 Answers   Active Brains, Cognizant, CSC, CTS,


Can we concatenate fields in physical file? If yes how can we do?

0 Answers  


what is use of self join and which cases you will use this join

1 Answers   TCS,






what is error handling concepts in cl

3 Answers   Active Brains,


one physical file can have how many max of logical files? what is the primary file?

3 Answers   Four soft,


How can we handle errors in RPG?

4 Answers  


How to know the perticular record in pf with out reading?

2 Answers   Cap Gemini,


How to retrieve a physical file after deleting that ? what is keyword used for that....??

6 Answers  


When u create a PF and did not fill up Maint parameter, then by default which access path will the system take & why

2 Answers   HCL,


In a CL Program after executing a SQL SP how to receive a Output value from the SP. Just to make it clear I am sending 2 input and 1 output parameter to the SQL Stored Procedure. Now while receiving it output parm it is failing.

0 Answers   Nous,


Categories