How to add a field to a PF and compile it without loss of data?
Answer Posted / m.gupta
First add the field to existing pf for that u can do like this
2)Press 2 option for edit mode
3)Then go to the editor then u add the field in that editor what ever field u want
4)press f10 and write 'FILE' for saving file
5)Then u can write 'CHGPF'
6) Physical file . . . . FILE DEPT
Library . . . . . . MVLGUPTA2
System . . . . . . . . . . . . . SYSTEM *LCL
Source file . . . . . . SRCFILE QDDSSRC
Library . . . . . . MVLGUPTA2
7)Then click enter enter for 2 times
8)Then click UD and insert data
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
What is open data path?
I have a pf, it contains 5 members, how to access particular member data from logical file?
What is the batch job?
Where the QTEMP library will get created? if the the answer is QSYS, then howcome more than one job can create same library name(QTEMP) in QSYS? what is the uniqueness of QTEMP? For example, run the below command in different workstation WRKOBJ QSYS/QTEMP And take 8 in the option to check the description. both will have different info. so where(which LIB) exactly the QTEMP is stored?
What is the use of member in pf?
What is the primary file?
When we create a pf and did not fill up maint parameter, then by default which access path will the system take & why?
How to find the list of source physical files in a library?
How to change the batch job to interactive job?
How to read a pf in reverse(from last record to first) using cl?
Suppose I have a pf, it contains 5 members, how to access particular member data from logical file? What is the use of member in pf?
Last statement of any rpg program is lr?
What is the interactive job? What is the batch job?
What is the difference between access path and open data path?
What is the interactive job?