Ovrdbf and Opnqryf and Cpyfrmqryf

i use the above statements in a clp program but the cpyfrmqryf is slow - how i can speed it up?
my format option is *nochk.
for opnqryf - I have specified *seqonly 32k
for ovrdbf - i have records to force a write 32k, seqonly-32k, records retrieved at once 32k

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

Processing your response...

Discuss This Question: 3 &nbspReplies

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

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

I would need more information to determine where the performance problem occurs, i.e., approx number of records selected, size of file being queried, batch or interactive process, slow as in seconds or minutes. Performance trade-offs between using opnqryf or a logical is dependent upon usage frequency and development resources. My experience regarding performance usually allows the OS to determine the optimal method rather than forcing operations. What is the significance of 32k?

Have you tried the app w/o specifying the 32k? I still do not know how many recs are involved. I did decrease processing time by 90 minutes using the OPTIMIZE(*MINWAIT) parameter in the OPNQRYF command for an application. Generally, I prefer to let the OS calculate optimization figures.

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

Processing your reply...

Ask a Question

Free Guide: Managing storage for virtual environments

Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!

To follow this tag...

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