IBM DB400 Question:

How to update physical files using normal logical file?

Tweet Share WhatsApp

Answer:

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.

Download IBM DB400 PDF Read All 26 IBM DB400 Questions
Previous QuestionNext Question
One physical file can have how many max of logical files? what is the primary file?How to update physical file using logical file with example?