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

Suppose I have a pf, it contains 5 members, how to access particular member data from logical file? What is the use of member in pf?

0 Answers  


How to index LF by relative record no (RRN)

0 Answers  


What is open data path?

0 Answers  


How can i retrieve city while my i have one field address length 60 but i don't know what where is city in this field ?

4 Answers  


Which keyword is used both in subfile and subfile control record format of a DSPF?

8 Answers  






how can we write LF using flatfile.

9 Answers  


Maximum how many fields we can create under a record format of PF?

5 Answers  


How we can't update join logical files?

10 Answers  


how to eliminate the level check error

2 Answers   TCS,


what is multiple member pf

1 Answers   Active Brains,


Why journalling is compulsory before commitment control?

1 Answers  


1. How can I create a LF using crtlf command based on a particular member in a multimember PF? Where I have to specify the member name? 2. How to differentiate between the types of join from a Join logical file DDS. Is it possible to have different types of Join Logical files? 3.Any performance difference between Opnqrf and Embedded SQL? When I should prefer Opnqryf and when SQL? 4. I know access path is the path chosen by the program to retrieve data. It can be of keyed access path or arrival sequence. *IMMED- *IMMED description says access path is updated each time record is added or deleted from a member. - What is updating here? *REBLD - The access path is completely rebuilt each time a file member is opened. The access path is maintained until the member is closed, then the access path is deleted. - I am not able to understand this completely. Could anyone explain these more clearly? 5.What is the purpose of using activation group. I know it is a resource allocator, but other than this any other benefits of using an activation group?

2 Answers   IBM,


Categories