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

A pf containing 100 records... my query is how to display from 11th record in the pf?

3 Answers  


what is error handling concepts in cl

3 Answers   Active Brains,


i have a PF,it contains 5 members,how to access particular member data from logical file ?and what is the use of member in PF

3 Answers  


what is general and type of general

1 Answers   Active Brains,


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.

1 Answers   Nous,


what is the difference between adding keys & constraints into a phisical file

6 Answers   HSBC,


How can we know that a trigger has been added on a PF? and what is the purpose of adding a trigger?

3 Answers  


can any one pls tell me some differences between a LF and command OPNQRYF?

3 Answers   Accenture, Cognizant, eFunds,


what is multiple member pf

1 Answers   Active Brains,


What is the interactive job? What is the batch job?

1 Answers  


There is one string as A B C and wanted to display string as Shri A Shri B Shri C, how we can do this in sql? If we have around 100 values in string like this, each value should be displayed with initials as Shri.

1 Answers  


can any one tell me what is meant by PSSR? Kindly elaborate it...

1 Answers  


Categories