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


Please Help Members By Posting Answers For Below Questions

How to change the batch job to interactive job?

580


How to know the particular record in pf with out reading?

592


What is the difference between access path and open data path?

597


What is the interactive job? What is the batch job? How to change the batch job to interactive job?

629


What is the use of member in pf?

540






How many maximum record format a logical file have?

588


What is the interactive job? What is the batch job?

588


In a CL Program after executing a SQL SP how to receive a Output value from the SP. Just to make it clear I am sending 2 input and 1 output parameter to the SQL Stored Procedure. Now while receiving it output parm it is failing.

2131


What is the interactive job?

581


When we create a pf and did not fill up maint parameter, then by default which access path will the system take & why?

570


How to find the list of source physical files in a library?

622


How to retrieve a physical file after deleting that?

588


What is the purpose of the chain and setll and setgt?

592


What is the batch job?

574


How to update physical file using logical file with example?

582