How do I link an existing logical file to it's Physical
File without recompiling?

Answer Posted / paddy

The above answer is correct, but why do u want to link the LF?
It is already based on the PF only(a view on PF only).
Unless u have changed the LF, u dont need to use CHGLF.

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of record level identifier?

722


How to call one program from another program in RPG? please help me with the code

1255


what is the necessary keyword needed to scroll subfile records?

695


1.Load an runtime array of length 99 from the pf and you want to handle all the possible errors?

2367


what happens when sflsiz = sflpag? What are the advantages and disadvantages?

706






if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.

2189


how do I play {insert rpg system here}?

579


what was the robotech rpg?

680


If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?

611


1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?

489


How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...

1306


When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?

496


What is a record lock error?

1259


How can we know running job is batch or interactive?

647


How would display prime numbers using CL program?

5672