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 |
Why we create the Physical File Member?
Which keyword is used both in subfile and subfile control record format of a DSPF?
Can anybody tell why Journalling is compulsary before Commitment Control?
What is open data path?
How to update physical file using logical file with example?
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?
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 ?
what is the difference between adding keys & constraints into a phisical file
can any one tell me what is meant by PSSR? Kindly elaborate it...
Last statement of any RPG pgm is LR?
I had created one physical file tell me command to enter data in to?
Suppose I have a pf,it contains 5 members,how to access particular member data from logical file ?and what is the use of member in pf?