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 retrieve a physical file after deleting that?
how to see number of logical files depending on a pf?...can we declare more than 20 logical files from a single pf? is it possible
What is the use of member in pf?
How many maximum record format a logical file have?
I have a PF with out any data but the dependent LF is having data?
what is dynslt and why we use that command when do we use command
When we use any keyword like FIFO,LIFO, at file level but whenever we check by runqry we couldn't find answer in FIFO,LIFO,FCFO etc so how we check the answer.
What is the interactive job? What is the batch job? How to change the batch job to interactive job?
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?
what is open data base command
1 Answers Active Brains, Cognizant, CSC, CTS,
What is open data path? And what is the difference between access path and open data path?
Last statement of any RPG pgm is LR?