Is it possible to create a logical file whose Physical file
is not in same library?

Answers were Sorted based on User's Feedback



Is it possible to create a logical file whose Physical file is not in same library?..

Answer / ankur jain

Yes, we can.....
But both the libraries should be defined in the library
list ...... otherwise compilation error will occur while
compiling the logical file..

Is This Answer Correct ?    11 Yes 0 No

Is it possible to create a logical file whose Physical file is not in same library?..

Answer / amit

Yes..for that u have to specify the actual data path in
keyword PFILE

Like

A R A1 PFILE(AMIT/A2)
A K CODE

Then this will create the LF A! for A2 PF...

Is This Answer Correct ?    6 Yes 1 No

Is it possible to create a logical file whose Physical file is not in same library?..

Answer / nagavarapu muralidhar

Yes, Just put the user library in which you want to create
on top and followed by other library in which physical file
is located.

provided the first library should not have physical file.

Then try to create the logical.

Is This Answer Correct ?    1 Yes 0 No

Is it possible to create a logical file whose Physical file is not in same library?..

Answer / megha

Yes , we can create logical file from a pf in different
library. Only proble here is that when we tried access the
data from this LF , the data will be accessed from that
libary not from the LibrayList

Is This Answer Correct ?    1 Yes 0 No

Is it possible to create a logical file whose Physical file is not in same library?..

Answer / vijay

Yes you can create a LF on the Physical file present in any other library except QTEMP. you cannot create a LF on the physical file present in QTEMP

Is This Answer Correct ?    2 Yes 2 No

Is it possible to create a logical file whose Physical file is not in same library?..

Answer / samul

It can possible that PF may be in other lib....

Just go though the basic concept first and then place ur
questions...

Is This Answer Correct ?    8 Yes 10 No

Post New Answer

More DB400 Interview Questions

There are six records in a file and we are going to update that records and used commit operation when it complete the update but suppose when it updating the third record,a error occured and operation failed.Is previously two records will be update or whole operation will be rollback? Please confirm it.

2 Answers  


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  


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

3 Answers   Accenture, Cognizant, eFunds,


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

3 Answers  


how to update physical files using normal logical file

4 Answers  






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

7 Answers  


In how many ways we can create a logical file?`

5 Answers  


what is open data base command

1 Answers   Active Brains, Cognizant, CSC, CTS,


How to read a pf in reverse(from last record to first) using cl?

0 Answers  


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

2 Answers   Cap Gemini,


How to insert more than one record to a pf at a time?(Bulk insert to a pf)

9 Answers  


Can anybody tell why Journalling is compulsary before Commitment Control?

2 Answers  


Categories