Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!purdue!decwrl!ucbvax!CSA3.LBL.GOV!forrest
From: forrest@CSA3.LBL.GOV
Newsgroups: comp.os.vms
Subject: Solution to PRINT/REMOTE Problem
Message-ID: <880623154345.26402c29@Csa3.LBL.Gov>
Date: 23 Jun 88 22:43:45 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The Internet
Lines: 16

A while back a submitted a question about a problem I had. The problem
was that when a user submitted a batch job using PRINT/REMOTE, the batch
job log file was always deleted. I didn't know it at the time but the log
file was being printed. The goal was to keep and not print the log file.

Several helpful info-vax readers came up with the solution which was to
define SYS$PRINT to NL: in login.com when login.com is run with f$mode()
equal to "BATCH". This results in the system not being able to print
the file. Since the file wasn't printed it also wasn't deleted.

Thanks to everyone who responded to my question.

Jon Forrest
Lawrence Berkeley Lab
FORREST@LBL.GOV
ucbvax!lbl-csam!ux1!forrest