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

How to retrieve a physical file after deleting that?

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  


What is open data path? And what is the difference between access path and open data path?

1 Answers  


Can anybody tell why Journalling is compulsary before Commitment Control?

2 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,


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  


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

0 Answers  


How to know logical file belongs to which physical file without source?

1 Answers  


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

2 Answers   Cap Gemini,


Where the QTEMP library will get created? if the the answer is QSYS, then howcome more than one job can create same library name(QTEMP) in QSYS? what is the uniqueness of QTEMP? For example, run the below command in different workstation WRKOBJ QSYS/QTEMP And take 8 in the option to check the description. both will have different info. so where(which LIB) exactly the QTEMP is stored?

2 Answers  


hi iam very new to as400. i had created one physical file can any one tell command to enter data in to that

9 Answers   Encore,


How to find the list of source physical files in a library?? Is there any way to get a list??

5 Answers   Infosys,


Categories