Re: Start SSHD server with Debug
Jim Franz <[email protected]>
| Newsgroups | gmane.comp.hardware.ibm.midrange |
|---|---|
| Message-ID | <CAEVZ15Mc-tMaogK=Y0PqV7ejZMyJQDZ6hRQEJ23kS142fCE0Hw@mail.gmail.com> |
Art,
Not sure if this is what you mean - set this environment variables before
calling QSH
The log file has details of QSH execution
/* write log file */
ADDENVVAR ENVVAR(QIBM_QSH_CMD_OUTPUT) +
VALUE('FILE=/postal/log/sftplog.txt') +
REPLACE(*YES)
/* tell QSH to end with a QSH msg id if an error */
ADDENVVAR ENVVAR(QIBM_QSH_CMD_ESCAPE_MSG) VALUE(Y) +
REPLACE(*YES)
QSH CMD(&CMD)
MONMSG MSGID(QSH0000) EXEC(DO)
SNDMSG MSG('QSH failed! See +
/postal/log/sftplog.txt') TOUSR(XYZ)
GOTO CMDLBL($ERROR)
ENDDO
Jim Franz
On Tue, Aug 18, 2026 at 6:46 PM Art Tostaine, Jr. <[email protected]>
wrote:
> I stumbled on a command a few days ago that started the server with Debug
> logging. It was fantastic for finding why a VSCode developer can't connect.
>
> i can't find it now. ChatGPT has got me going in circles. Anyone know the
> command?
>
> I think it was using QSH
> --
> This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
> To post a message email: [email protected]
> To subscribe, unsubscribe, or change list options,
> visit: https://lists.midrange.com/mailman/listinfo/midrange-l
> or email: [email protected]
> Before posting, please take a moment to review the archives
> at https://archive.midrange.com/midrange-l.
>
> Please contact [email protected] for any subscription related
> questions.
>
> You can help support midrange.com by visiting https://donate.midrange.com
> and making a contribution.
>
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: [email protected]
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact [email protected] for any subscription related questions.
You can help support midrange.com by visiting https://donate.midrange.com and making a contribution.