Is it possible to add an keyfield or field to an Physical file without changing its file identifier.
Example : - Say I have an existing physical file which is being used in 5 programs. Now I want to add an additional Keyfield or an field to it and I don't want to recompile the programs.
Answer Posted / prabhu
Yes, After adding the key field try CHGPF.
I believe adding key fields and CHGPF will not change the record identifier so here no need to recompile your programs.
| Is This Answer Correct ? | 1 Yes | 5 No |
Post New Answer View All Answers
hi guys i am new for sqlrpgle, please suggest me good websites and theory and coding. plz plz its very urgent.
What are the mandatory keywords of sub file?
how does union file maintains record formats?
Hello, I have created a CMD type object. In one of the fields in Display file , I would like to see All the Source files present by pass the name of Library. Tried using CHoice(Keyword) and Choicepgm on PARM , but doesn't seems to be working. Any help please..
what do we can do with the embedded sql statements?
What Is The Object Type Of Pf, Lf, Printer File & Display File?
define a output queue?
any one have give AS400 study material? pls pass it to gopalsai789@gmail.com
define a shared access path?
define the purpose of the iter operation?
Why we are not able to perform insert delete and update operation in Join logical file?
What is a query can be displayed without saving it?
what is a primary file?
Difference Between Call & Sbmjob?
Explain this error: "all record formats for externally-described file abcd ignored or dropped due to error; file ignored."?