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


Please Help Members By Posting Answers For Below Questions

what is term cua , saa?

946


what is a primary file?

1039


1. There is a file called Month. Month has 12 members called Jan, Feb, ..., Dec. How to design a rpg code which can access any member and show its content. (User can ask for any member when required)?

403


which type of object is used in db2/400?

643


what are the uses of factor1, factor2 and result field for the rpg operation code parm?

578






how many specifications are there in rpg/400? What are they?

1079


what is the purpose of ovrdta and ovrata keywords ?

881


how will you display a particular page in subfile ?

1044


what are the limitations of cl (compare to rpg) ?

1534


what is arrival sequence?

1097


What is program status data structure(psds) in as400?

598


in conjunction with what other keyword must ovrdta and ovrata be used?

904


under given circumstances, my cgi should link to another site. How to implement this?

572


what is sflinz and sflrna?

1006


the output from my cgi is correctly interpreted by ms internet explorer, whereas netscape navigator would display it as a plain text. What should I do to have also netscape interpreting the html output from my cgi?

559