Did this article resolve your question/issue?



How to pass a character string to a PROUTIL INCREASETO command?

« Go Back


TitleHow to pass a character string to a PROUTIL INCREASETO command?
URL NameHow-to-pass-a-character-string-to-a-proutil-increaseto-command
Article Number000200049
EnvironmentProduct: OpenEdge
Version: 10.x, 11.x, 12.x
OS: All supported platforms
Other: Database Administration
Question/Problem Description
How to run proutil -C increaseto unattended?
How to pass a parameter to the proutil -C increaseto command in scripts?
How to pass a character string to provide a response for a PROUTIL INCREASETO command?

When using need use proutil increaseto, sometimes display this question which requires a response:
"The database connections above have not attached to recently added shared memory segments. Do you wish to recheck? (y/n)" . 

Steps to Reproduce
Clarifying Information
Error Message
Defect Number
Enhancement Number
Use an input file for proutil -C increaseto command.
  • The file should have multiple lines with "y" in each line.
  • The number of lines controls how many time proutil will accept "Y" for "Do you which to recheck?" question
  • It is recommended to include the last input to terminate the instruction with "N". Ideally, the list of connections needs to be read from the output to generate the input files for PROMON/PROSHUT to then terminate these connections,
    and then run the increaseto again.

Windows/DOS example:
FOR /L %%G IN (1,1,10) DO echo y >> in.txt
echo n >> in.txt
proutil <dbname> -C increaseto -B 300000 < in.txt

Bash example:
for i in {1..10};
do echo y; done > in.txt
echo n >> in.txt
proutil <dbname> -C increaseto -B 300000 < in.txt

An enhancement request has been submitted as an Idea on the Progress Community. Weigh-in with your suggestions and promote the Idea to assist with prioritisation during review by selecting this link:
provide 'refresh t' for proutil increaseto
Last Modified Date1/12/2022 5:45 PM
Disclaimer The origins of the information on this site may be internal or external to Progress Software Corporation (“Progress”). Progress Software Corporation makes all reasonable efforts to verify this information. However, the information provided is for your information only. Progress Software Corporation makes no explicit or implied claims to the validity of this information.

Any sample code provided on this site is not supported under any Progress support program or service. The sample code is provided on an "AS IS" basis. Progress makes no warranties, express or implied, and disclaims all implied warranties including, without limitation, the implied warranties of merchantability or of fitness for a particular purpose. The entire risk arising out of the use or performance of the sample code is borne by the user. In no event shall Progress, its employees, or anyone else involved in the creation, production, or delivery of the code be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the sample code, even if Progress has been advised of the possibility of such damages.