home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / dec / 6764 < prev    next >
Encoding:
Internet Message Format  |  1993-01-08  |  1.2 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!destroyer!ncar!vexcel!copper!cudnvr!dwing
  2. From: dwing@cudnvr.denver.colorado.edu (Dan Wing)
  3. Newsgroups: comp.sys.dec
  4. Subject: Re: Closing Operator Log in BATCH
  5. Message-ID: <1993Jan8.140733.1@cudnvr.denver.colorado.edu>
  6. Date: 8 Jan 93 14:00:33 GMT
  7. References: <1993Jan7.103120.35@condor>
  8. Sender: netnews@copper.denver.colorado.edu
  9. Lines: 19
  10.  
  11. In article <1993Jan7.103120.35@condor>, cfstmpab@logica.co.uk writes:
  12.  
  13. >    Please could you tell me if there is a way of closing the operator log
  14. > file without resorting to a $reply/log command or using any $reply commands.
  15. > The problem is that the $reply commands don't work in batch and I need to 
  16. > close the operator log in batch mode.
  17.  
  18. Actually, REPLY doesn't work if SYS$COMMAND isn't a terminal.  So if OPA0:
  19. is enabled as an operator terminal, you can:
  20.  
  21.   $ DEFINE/USER_MODE SYS$COMMAND OPA0:
  22.   $ REPLY/LOG
  23.  
  24. Within your batch program.  Add whatever sortof classes you want to enable 
  25. for the operator log.  I hacked the code out of 
  26. SYS$STARTUP:VMS$BASEENVIRON-050_VMS.COM so it would honor the OPC$ logicals.
  27.  
  28. -Dan Wing, dwing@uh01.colorado.edu or wing_d@ucolmcc.bitnet (DGW11)
  29.  Systems Administrator, University Hospital, Denver
  30.