how can i know logical file belongs to which physical file
without source?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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.

2130


What is the batch job?

574


How many maximum record format a logical file have?

588


How to read a pf in reverse(from last record to first) using cl?

603


What is open data path?

583






Suppose I have a pf, it contains 5 members, how to access particular member data from logical file? What is the use of member in pf?

626


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?

7449


What is FORMAT keyword and its use?

206


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

588


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?

636


How to index LF by relative record no (RRN)

2832


What is the use of member in pf?

539


How to change the batch job to interactive job?

580


What is the interactive job?

581


Can we concatenate fields in physical file? If yes how can we do?

590