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 ?    19 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Last statement of any rpg program is lr?

618


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?

637


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

592


What is open data path?

583


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

588






How many maximum record format a logical file have?

588


What is the batch job?

574


How to change the batch job to interactive job?

580


What is the interactive job?

581


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

603


What is the primary file?

586


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

530


What is the use of member in pf?

539


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

590


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

629