The Question is:
when I invoke a $ submit/remote command on a node .log file is submitted to a
sys$print. I have a global symbol su*bmit=="submit/noprinter". How can I
prevent .log file from being submitted to sys$print? I do not want to have a
.log file printed. I also n
oticed this kind of behavior in previous versions of OpenVMS.
SKB banka d.d.
Societe Generale Group
The Answer is :
SUBMIT/REMOTE is "special" in that it doesn't accept any qualifiers
that affect the job itself. There are good technical reasons for this,
and the behaviour is most unlikely to ever change.
The only way to prevent the log file from printing is to block SYS$PRINT
at the completion of the job. So, for example, your remote procedure
could define the logical name SYS$PRINT to point to a non-existent
$ DEFINE SYS$PRINT NOSUCHQUEUE
If this logical name exists at the completion of the procedure, the
job queuing the log file to SYS$PRINT will fail silently.
A useful "trick" for using SUBMIT/REMOTE is to do it in two steps.
The first remote job just submits the "real" job. This allows you to
specify all control qualifiers for the job. For example, assuming proxy
or remote access:
$ RUN YOUR_PROGRAM
$ SUBMIT/QUEUE=YOUR_QUEUE/AFTER=TOMORROW/KEEP/NOPRINT REAL.COM
$ DEFINE SYS$PRINT NO_SUCH_QUEUE
$ COPY REAL.COM REMNOD::
$ COPY SUBMIT_IT.COM REMNOD::
$ SUBMIT/REMOTE REMNOD::SUBMIT_IT