how to update physical files using normal logical file
Answer Posted / keshar jain
HI,
To Update physical file in RPG use opcode UPDATE.
example
FLF1 IF E k DISK
key1 Setll LF1
READ LF1
UPDATE LF1
Note: Logical file should be simeple logical file. We can't
update physical file with help of Join logical file.
| Is This Answer Correct ? | 9 Yes | 5 No |
Post New Answer View All Answers
What is FORMAT keyword and its use?
What is the batch job?
How to change the batch job to interactive job?
How to know the particular record in pf with out reading?
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?
How to find the list of source physical files in a library?
How to read a pf in reverse(from last record to first) using cl?
How to index LF by relative record no (RRN)
What is the use of member in pf?
What is the difference between access path and open data path?
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 update physical file using logical file with example?
What is the primary file?
How many maximum record format a logical file have?
There is one string as A B C and wanted to display string as Shri A Shri B Shri C, how we can do this in sql? If we have around 100 values in string like this, each value should be displayed with initials as Shri.