home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / vms / 13788 < prev    next >
Encoding:
Internet Message Format  |  1992-08-18  |  2.7 KB

  1. Path: sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!UNIVAX.FHDA.EDU!hasan%avax.dnet
  2. From: hasan%avax.dnet@UNIVAX.FHDA.EDU (HASAN%AVAX.DNET@UNIVAX.FHDA.EDU)
  3. Newsgroups: comp.os.vms
  4. Subject: Set Forward via VMS MAIL
  5. Message-ID: <9208181646.AA15522@univax.fhda.edu>
  6. Date: 18 Aug 92 16:46:28 GMT
  7. Sender: daemon@ucbvax.BERKELEY.EDU
  8. Distribution: world
  9. Organization: The Internet
  10. Lines: 80
  11.  
  12.  
  13.     Hello All,
  14.  
  15.         Is there a way in VMS MAIL to set forward to multiple
  16.         accounts?
  17.  
  18.         From the MAIL help and the manual it seems that it
  19.         can not be done.  But I want to confirm it anyway?
  20.  
  21.         I was hoping to issue a command like:
  22.  
  23.         MAIL> SET FORWARD LUCAS,DEBLER
  24.         
  25.         
  26.          Any help or suggestions will be greatly appreciated!
  27.  
  28.  
  29.     Note:
  30.     ====
  31.         While I have this opportunity, I would like to thank all
  32.         Who helped me out in running a  C program via detached
  33.         process.  My question was related to the below given
  34.         program which was trying to submit a C executable to run
  35.         as a detached process.
  36.  
  37.     =====================================================================
  38.        $    set proc/priv=all
  39.     $    ON CONTROL_Y THEN GOTO EXIT
  40.     $    ON CONTROL_C THEN GOTO EXIT
  41.     $!
  42.     $    WS := WRITE SYS$OUTPUT
  43.     $    PID = F$GETJPI("","PID")
  44.     $!
  45.     $     RUN/DET         SYS$SYSTEM:LOGINOUT.EXE - 
  46.                   /UIC=[1,4] -
  47.                 /INPUT = SS$EXE:CHECK_STUDENT_DIR.EXE -
  48.                 /OUTPUT = SS$LOG:CHECK_STUDENT_DIR.LOG -
  49.                 /ERROR  = SS$LOG:CHECK_STUDENT_DIR.LOG -
  50.                   /PROCESS_NAME = "Chkstudir" -
  51.                 /PRIORITY = 6 -
  52.                        /WORKING_SET=100 -
  53.                        /MAXIMUM_WORKING_SET=100 -
  54.                        /EXTENT=512 -
  55.                        /NOSWAPPING
  56.     $!
  57.     $ EXIT:
  58.     $    EXIT 1 + F$VERIFY(SAVE_VER)
  59.     =====================================================================
  60.  
  61.         Answer:
  62.     ======
  63.                 The solution which I recieved from you told me that I had
  64.         two problems in the above procedure:
  65.  
  66.         1)  /INPUT  - Should point to a .COM file containing the
  67.                   run statement for the .EXE and not to the
  68.                   .EXE fiel itself.
  69.  
  70.         2) LOGICALS - SS$LOG, SS$EXE logicals which I was using
  71.                   were not accessible to the detached process.
  72.  
  73.         After taking care of the above two problems, the program
  74.         ran as expected via detached process.
  75.         
  76.  
  77.  
  78.          //================================\\
  79.         ||        Syed Mahmood Hasan       ||
  80.                 ||                                 ||
  81.                 || hasan%avax.dnet@univax.fhda.edu ||
  82.                 ||                                 ||
  83.         ||    Foothill-De Anza Community   ||
  84.         ||         College District        ||
  85.               ||     Data Services, Bldg - L71   ||
  86.               ||     21250 Stevens Creek Blvd.   ||
  87.               ||       Cupertino, CA 95014       ||
  88.                 ||                                 ||
  89.         ||         (408) 864-8242          ||
  90.          \\================================//                
  91.  
  92.