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?

Answers were Sorted based on User's Feedback



1. How can I create a LF using crtlf command based on a particular member in a multimember PF? Wher..

Answer / hit1

ans-1: use crtlf and hit f4 there is a option of phy file and the desire member u wanna use.

Is This Answer Correct ?    3 Yes 1 No

1. How can I create a LF using crtlf command based on a particular member in a multimember PF? Wher..

Answer / harsha sen

2.Yes ,it is possible to know the type of join by DDS.
If we are joining two files,with JREF(primary file) thn it will Inner join.

If we have specified JDFTVAL ,then it will become left outer join.Because all records from primary file will be selected and only matching records from secondary file will be selected.

if we are joining same file ,like,JFILE (PF01 PF01) ,this is a self join.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More DB400 Interview Questions

how to know total no of records in pf with out using sql??????

3 Answers  


I have physical file with 100 records,there is no any duplicate records in this pf.based on this pf one logical file I have used.but this lf is viewing only 80 records only of that pf?what is the reason for this?

0 Answers  


what is dynslt and why we use that command when do we use command

2 Answers   Active Brains, UHG,


Why we create the Physical File Member?

5 Answers  


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

3 Answers   Four soft,






Suppose if a physical file is having 1000 records, but i deleted 500 records from it. Here the concern is can the size of the file changes or it remains the same... kindly help me out with thorough xplanation.... Thanks in-advance...

6 Answers   ABC, TCS,


If we use the file level keywords like LIFO, FIFO, FCFO in a file, can we see the impact of it by doing the run query of the file? if not how can we see the impact of these keywords.

2 Answers  


How to add a field to a PF and compile it without loss of data?

7 Answers  


I had created one physical file tell me command to enter data in to?

1 Answers  


what is open data path? and what is the diff b/w access path and open data path?

3 Answers   Cap Gemini,


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,


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

6 Answers  


Categories