From: CSBVAX::MRGATE!INFO-VAX-RELAY@KL.SRI.COM@SMTP 8-JUL-1988 19:51 To: ARISIA::EVERHART Subj: RE: A problem with SUBMIT/REMOTE logfiles Received: from LBL.Gov by KL.SRI.COM with TCP; Wed 4 May 88 06:39:03-PDT Received: from warner.hepnet by LBL.Gov with VMSmail ; Wed, 4 May 88 06:38:46 PDT Date: Wed, 4 May 88 06:38:46 PDT From: nagy%warner.hepnet@LBL.Gov (Frank J. Nagy, VAX Wizard & Guru) Message-Id: <880504063846.20805355@LBL.Gov> Subject: RE: A problem with SUBMIT/REMOTE logfiles To: Info-VAX@kl.sri.com X-ST-Vmsmail-To: INFO_VAX > We're having a strange problem with logfiles that are created as > a result of running the SUBMIT/REMOTE command. If I'm on system A > and do a SUBMIT/REMOTE to system B, the logfile that is created in > the default directory for my proxy on system B is deleted when > the batch job is finished. However, if I'm on system B and > do the SUBMIT/REMOTE to system A, the logfile is kept. In > both cases the job runs succesfully. ... I bet the systems have the following configuration: System A has no default printer and so no SYS$PRINT queue. System B does have a SYS$PRINT queue. Given this assumption, a batch job submitted on system B with the default qualifiers will create AND print AND delete-after-print its ..LOG file. This is done via the SYS$PRINT queue. On system A, since there is no SYS$PRINT queue, the .LOG file does not get printed and so is not deleted-after-print and is just left lying about. The upshot is that your .LOG files on system B are someplace in paper form. Normally, you can disable printing with /NOPRINT on the SUBMIT command, BUT SUBMIT /REMOTE does not allow use of ANY of the other useful qualifiers. However, there is a tricky workaround which is to define the logical name SYS$PRINT in your batch job. Do something like $ DEFINE SYS$PRINT DONT_PRINT_THIS_FILE (assuming there is no print queue called DONT_PRINT_THIS_FILE) near the beginning of your job. When your job reaches the end, the decision to submit the .LOG file for printing is done (or used to be done) within the context of the batch job and the default print queue name is overriden by the SYS$PRINT logical name. Since this points no place useful, your .LOG file is not queued for printing and will be left in your login area on system B. = Frank J. Nagy "VAX Guru & Wizard" = Fermilab Research Division EED/Controls = HEPNET: WARNER::NAGY (43198::NAGY) or FNAL::NAGY (43009::NAGY) = BitNet: NAGY@FNAL = USnail: Fermilab POB 500 MS/220 Batavia, IL 60510 -------