OpenSSH command definition resulting in a warning accounting record

OpenVMS x86 Field Test questions, reports, and feedback.
User avatar

volkerhalle
Master
Posts: 198
Joined: Fri Aug 14, 2020 11:31 am
Reputation: 0
Status: Offline

Re: OpenSSH command definition resulting in a warning accounting record

Post by volkerhalle » Fri Sep 29, 2023 5:34 am

Problem still happens with OpenSSH V8.9-1F !

And this should be the solution:

replace the following 2 lines in SSH$ROOT:[BIN]SSH$DEFINE_COMMANDS.COM

$ pipe show symbol SSH_ADD | search sys$pipe TCPIP$SSH /nowarning/nolog/nooutput
$ if f$message($STATUS, "SEVERITY") .eqs. "%S"

with just:

$ if f$locate("TCPIP$SSH",F$EDIT("''SSH_ADD'","UPCASE")) .lt. f$length("''SSH_ADD'")

The purpose of this 'test' is to determine, if a symbol SSH_ADD is already defined AND if it contains the string 'TCPIP$SSH' from the old TCPIP product.

Using the new test syntax prevents the unnecessary creation of 2 sub-processes and also prevents an accounting record with an error status of 00038140 (%DCL-W-UNDSYM).

Hope this helps,

Volker.
Last edited by volkerhalle on Fri Sep 29, 2023 11:08 am, edited 4 times in total.

Tags:

Post Reply