How to add a field to a PF and compile it without loss of data?
Answer Posted / s.kumar
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.
Is This Answer Correct ? | 24 Yes | 0 No |
Post New Answer View All Answers
What is the batch job?
I have physical file with 100 records,there is no any duplicate records in this pf.based on this pf one logical file I have used.but this lf is viewing only 80 records only of that pf?what is the reason for this?
Can we concatenate fields in physical file? If yes how can we do?
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?
What is the interactive job?
What is the purpose of the chain and setll and setgt?
What is open data path?
How to find the list of source physical files in a library?
How to update physical file using logical file with example?
What is the interactive job? What is the batch job?
How to read a pf in reverse(from last record to first) using cl?
How to know the particular record in pf with out reading?
What is the primary file?
How to change the batch job to interactive job?
How to index LF by relative record no (RRN)