mike_se Contributor.
Contributor.
65 views

PPM Support Tip: ksc_simple_respond timeout if command takes longer than 60 seconds

When using ksc_simple_respond in 9.22, timeout if command takes longer than 60 seconds.

 

 

After upgrading from 8.0 to 9.22, having issues with timeouts where there are references to "ksc_simple_respond" Special Command in Object Types.

The command is:
- ksc_simple_respond "sqlplus [DEST_ENV.ENV.DB_USERNAME]@[DEST_ENV.ENV.DB_CONNECT_STRING] @$driver" -hide "Enter password:" "[DEST_ENV.ENV.DB_PASSWORD]"

The command has a timeout of 7200 secs. If the script returns the succesful when completing under 60 seconds. However, if it is increased takes longer than 60 seconds, a timeout is applied prematurely.


Defect QCCR1L54037

Workaround:
Use "echo $" to alleviate timeout issues.

Example:
-ksc_simple_respond "sqlplus [DEST_ENV.ENV.DB_USERNAME]@[DEST_ENV.ENV.DB_CONNECT_STRING] @$driver" -hide "Enter password:" "[DEST_ENV.ENV.DB_PASSWORD]" "$" "echo $"

“HP Support
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.”
Labels (1)
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.