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
what is the function of crtdupobj command?
Difference between NOPASS & OMIT?
how can you detect overflow for a print program that prints multiple lines per cycle?
How can we update a specific field in RPG?
different type of cursor?
what is message file?
why do we use readc? What is sflnxtchg?
when are the unique constraints executed?
what are the different types of arrays available in rpg ?
how to pick up the changed records every time in a subfile after the first change made ?
Hi,Please give me the the answer for these quesitons? 1.what is IFS and ICF and RAPE amd DISKET fils? explain with example please? 2.What is the difference between POST AND SPACE OPCODES? 3.Can anybody tell me default printerfile command and object type?
how many printer files maximum can be used in single rpg program?
what is maximum number of arrays allowed in rpg?
how you get the relative record in a subfile in which cursor is located?
what are dds required for subfile?