× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



try adding this environment variable:

ADDENVVAR ENVVAR(QIBM_QSH_CMD_OUTPUT) VALUE(NONE)

https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_73/rzahz/rzahzcmdcl.htm


Bryan


Justin Taylor wrote on 1/5/2018 1:58 PM:
I have a shell script that I run in batch. When I do, it prints the output. I don't want the output at all. I've tried unsuccessfully to hold the output. Here's my CLLE code:

OVRPRTF FILE(STDOUT) OUTQ(QPRINT) OVRSCOPE(*JOB) HOLD(*YES)
OVRPRTF FILE(STDERR) OUTQ(QPRINT) OVRSCOPE(*JOB) HOLD(*YES)
CALL PGM(QP2SHELL) PARM('/QOpenSys/bin/sh' +
'/usr/bin/purgeTmp.sh')
MONMSG MSGID(CPF0000)
DLTOVR FILE(STDOUT) LVL(*JOB)
DLTOVR FILE(STDERR) LVL(*JOB)

That's not holding the output. Do STDOUT/STDERR only work for QSH? Is there an equivalent for PASE?

Thanks


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.