IBM DB400 Question:
Download Job Interview Questions and Answers PDF
How to update physical files using normal logical file?
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? |