OPNQRYF AS/400 (RPGILE)

50 pts.
Tags:
OPNQRYF
RPG ILE
Dear all, i am done one program in this program one data base file which are Master file and it's use all day and lot of records are there, my program make the report it taking too much time, i am want to use OPNQRYF but it s not posible in master file because it's use some time any other option or logic for less time to get report please let me know Thanks  

Software/Hardware used:
OPNQRYF AS/400 (RPGILE)

Answer Wiki

Thanks. We'll let you know when a new response is added.

If the file is that large and it takes to long to build the access path on the fly, just create a LF and keep the access path maintained.
If you are useing OPNQRYF for record selectionj and for sequence. create the LF in the sequence you desire and the OPNQRYF will run faster because it will use the existing access path and just have to do dynamnic selection.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following