IBM DB400 Question: Download Questions PDF
How to update physical files using normal logical file?
![IBM DB400 Interview Answer IBM DB400 Interview Question](https://globalguideline.com/public/images/interview/2.png)
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.
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 Interview Questions And Answers
PDF
Previous Question | Next 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? |