Can I automatically change MAXACTIVE threads in a Sharepool on the WRKSYSSTS screen periodically

1160 pts.
Tags:
Max Active
Shared pool
Work with System Status
WRKSYSSTS
I wish to change the MAXACTIVE threads in a share pool periodically during the day automatically using a formulae. Iam currently doing in manually every hour. Is it possible to automate this?

Answer Wiki

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

Use the CHGSHRPOOL command.

Use your formula to calculate &ACTLVL, then do: CHGSHRPOOL POOL(*SHRPOOL1) ACTLVL(&ACTLVL)

Is setting the Paging option to *CALC and QPFRADJ to 2 or 3 an option?

Regards,
Scott

Hi Scott,

Thanks very much for the reply.

Iam calculating the ACTLVL using excel, by storing active jobs values displayed using the WRKSBS command and then pressing F11. Is there any way by which this value can be stored using CL pgm.?

Pls revert.

Regards.

Johnson

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