AS400 Questions and Answers

Why would you prefer OPNQRYF than logical file?

The main difference is : Logical file creates permanent object on the system. OPNQRYF creates temporary access path.