How to update physical files using normal logical file?

Submitted by: Administrator
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.
Submitted by: Administrator

Read Online IBM DB400 Job Interview Questions And Answers