Answers

Question and Answer:

  Home  IBM DB400

⟩ How to add a field to a PF and compile it without loss of data?

First Add the fields whatever you want

then use CHGPF command

Physical file . . . . . . . . . > MyPf

Library . . . . . . . . . . . MyLib

System . . . . . . . . . . . . . *LCL

Source file . . . . . . . . . . MYSourceFile

Library . . . . . . . . . . . MyLib

Update the Physical file.No need to compile again.

 129 views

More Questions for you: