Is it possible to create a logical file whose Physical file
is not in same library?

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to update physical file using logical file with example?

579


What is the use of member in pf?

533


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

577


How to index LF by relative record no (RRN)

2826


What is the difference between access path and open data path?

590






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?

614


I have a pf, it contains 5 members, how to access particular member data from logical file?

522


What is the batch job?

564


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.

2121


What is the interactive job?

572


How to find the list of source physical files in a library?

610


How many maximum record format a logical file have?

575


How to know the particular record in pf with out reading?

584


How to retrieve a physical file after deleting that?

576


Last statement of any rpg program is lr?

607