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?

Answer Posted / pramod.r.nair

Whenever a file is changed (by adding or deleting a field),
Format level dentifier is also changed, even if u are using
CHGPF. So all the programs using this file needs to be
compiled again. You can avoid recompiling programs by
setting Format Level Check parameter to *NO in command
CRTPF. But this is not a good method, since it may affect
the program.

Is This Answer Correct ?    18 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is open data path?

555


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?

608


How to change the batch job to interactive job?

559


I have physical file with 100 records,there is no any duplicate records in this pf.based on this pf one logical file I have used.but this lf is viewing only 80 records only of that pf?what is the reason for this?

609


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?

601






How to retrieve a physical file after deleting that?

557


What is FORMAT keyword and its use?

173


What is the primary file?

557


What is the interactive job? What is the batch job? How to change the batch job to interactive job?

602


How to index LF by relative record no (RRN)

2807


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

596


Last statement of any rpg program is lr?

591


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

575


When we create a pf and did not fill up maint parameter, then by default which access path will the system take & why?

548


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?

7380