Restrict File Size created by WRKQRY

5 pts.
Tags:
AS/400
AS/400 file specification
RUNQRY
WRKQRY
How to restrict file size created using RUNQRY ?

e.g. Created the query using WRKQRY to join 2 transaction file and output type selected is databasefile. We don't have the exact primary key to relate 2 files, hence we are not sure about the no. of transaction expected from this query. Can we restrict the output file size, as these file are created by system.

 

 

 



Software/Hardware used:
AS/400
ASKED: September 29, 2011  5:39 AM
UPDATED: March 31, 2012  1:02 AM

Answer Wiki

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

This is a question that is easily answered if you can use SQL. Du you have the STRSQL command available?

Discuss This Question: 1  Reply

 
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
  • TomLiotta
    Potentially, you might restrict the execution of such queries to a user profile that has a MAXSTG() limit to restrict how much space may be consumed by that profile. In the future, it would also be better never to use WRKQRY again. Use QM queries instead; these will run queries through SQL. You can get better control over SQL processes. An example attribute you can set for a QM query user is "Maximum number of rows allowed on interactive run". WRKQRY is an old interface. I quit using it around 20 years ago. Since then, most new features have been made available to QM queries while WRKQRY has been relatively stable. Tom
    125,585 pointsBadges:
    report

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