when would you prefer logical file than opnqryf?



when would you prefer logical file than opnqryf?..

Answer / pratap thakur

The physical file you are working with very large, creating and using a logical file will allow an application to perform faster than using an open query file.Since access paths created by open query files are temporary, applications that use an access path frequently will be more efficient using a logical file, since the access path will not have to be rebuilt every time the file is open.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More IBM AS400 AllOther Interview Questions

what the purpose of ovrdta, ovrata keywords?

1 Answers   IBM,


Explain this error: "all record formats for externally-described file abcd ignored or dropped due to error; file ignored."?

0 Answers  


what is the maximum number of subfiles that can specified in a display file ?

1 Answers   IBM,


I am a fresher. I got project on AS 400. Can any body suggest the best book for learning of it.

1 Answers  


Job is running in production 24/7 how do u debug that running job ?

1 Answers   Wipro,






Hi Friends, I need immediately answer for this: Senario is that,I am selecting records from the display and window subfile on the basis of Reason Code and some more fields but spool file not showing the same records which i have selected by display and window subfile. Q.What could be the causes(resons)to not show records properly (just selected in the display file and Window subfile)according the selection criteria of the records. Q.What would be the solutions to show records properly in the spool file just as selected in in the display file and window subfile according to the selection criteria.

1 Answers   IBM,


a program variable coded in an embedded sql statement is referred to as?

1 Answers   IBM,


What is the purpose of CHGPF (Change physical file) command?

1 Answers  


how can i get the cursor position in display screen to to display my window?

5 Answers  


What is source physical file?

1 Answers  


what is a logical file?

1 Answers   IBM,


If i change any file through application after entering data , how to check which file is updated through applications . For call stack we takes esc 3 then we chose 11..But What is answer of below qtn..?

0 Answers   IBM,


Categories