how can i know logical file belongs to which physical file
without source?
Answers were Sorted based on User's Feedback
Answer / vinay pawar
No Its not the correct answer... if you do a DSPDBR on a
logical file it wont show you the name of the physical file
that it is based on. Rather you need to use DSPFD on the
logical file. DSPDBR on a physical file will show the names
of all the LF files based on that PF.
| Is This Answer Correct ? | 45 Yes | 0 No |
Answer / tim austin
if you enter dspfd tgi3500l1
you will get a display part of which is seen below which
will tell the name and location of the physical file. But
if you use smart naming convention as seen here you wouldnt
need any command because our shop ends all physical files
with pf and all logicals with l1 l2 l3 etc thereby
providing he answer in the file name
Files accessed by logical file PFILE
File Library LF Format
TGI3500PF CJTPRODDAT TGI3500L1
| Is This Answer Correct ? | 3 Yes | 0 No |
How to know logical file belongs to which physical file without source?
Define interactive jobs and batch jobs
When we create a pf and did not fill up maint parameter, then by default which access path will the system take & why?
what is the difference between adding keys & constraints into a phisical file
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.
how to know total no of records in pf with out using sql??????
Is Constent can be define as a key field?
what is multiple member pf
I have a pf, it contains 5 members, how to access particular member data from logical file?
How can we handle errors in RPG?
what is error handling concepts in cl
what is open data base command
1 Answers Active Brains, Cognizant, CSC, CTS,