Is it possible to create a logical file whose Physical file
is not in same library?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
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 |
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 |
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?
pls anyone explain about compile time array,pre run time array run time array
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?
how to restrict upon adding the data for field reference file in DB400
What is FORMAT keyword and its use?
YOU CAN DELETE THE RECORD SPACE PERMENANTLY IN PHYSICALFILE THROUGH CL?
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.
hi iam very new to as400. i had created one physical file can any one tell command to enter data in to that
How to retrieve a physical file after deleting that?
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.
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.
I have a PF with out any data but the dependent LF is having data?