home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!UNIVAX.FHDA.EDU!hasan%avax.dnet
- From: hasan%avax.dnet@UNIVAX.FHDA.EDU (HASAN%AVAX.DNET@UNIVAX.FHDA.EDU)
- Newsgroups: comp.os.vms
- Subject: Set Forward via VMS MAIL
- Message-ID: <9208181646.AA15522@univax.fhda.edu>
- Date: 18 Aug 92 16:46:28 GMT
- Sender: daemon@ucbvax.BERKELEY.EDU
- Distribution: world
- Organization: The Internet
- Lines: 80
-
-
- Hello All,
-
- Is there a way in VMS MAIL to set forward to multiple
- accounts?
-
- From the MAIL help and the manual it seems that it
- can not be done. But I want to confirm it anyway?
-
- I was hoping to issue a command like:
-
- MAIL> SET FORWARD LUCAS,DEBLER
-
-
- Any help or suggestions will be greatly appreciated!
-
-
- Note:
- ====
- While I have this opportunity, I would like to thank all
- Who helped me out in running a C program via detached
- process. My question was related to the below given
- program which was trying to submit a C executable to run
- as a detached process.
-
- =====================================================================
- $ set proc/priv=all
- $ ON CONTROL_Y THEN GOTO EXIT
- $ ON CONTROL_C THEN GOTO EXIT
- $!
- $ WS := WRITE SYS$OUTPUT
- $ PID = F$GETJPI("","PID")
- $!
- $ RUN/DET SYS$SYSTEM:LOGINOUT.EXE -
- /UIC=[1,4] -
- /INPUT = SS$EXE:CHECK_STUDENT_DIR.EXE -
- /OUTPUT = SS$LOG:CHECK_STUDENT_DIR.LOG -
- /ERROR = SS$LOG:CHECK_STUDENT_DIR.LOG -
- /PROCESS_NAME = "Chkstudir" -
- /PRIORITY = 6 -
- /WORKING_SET=100 -
- /MAXIMUM_WORKING_SET=100 -
- /EXTENT=512 -
- /NOSWAPPING
- $!
- $ EXIT:
- $ EXIT 1 + F$VERIFY(SAVE_VER)
- =====================================================================
-
- Answer:
- ======
- The solution which I recieved from you told me that I had
- two problems in the above procedure:
-
- 1) /INPUT - Should point to a .COM file containing the
- run statement for the .EXE and not to the
- .EXE fiel itself.
-
- 2) LOGICALS - SS$LOG, SS$EXE logicals which I was using
- were not accessible to the detached process.
-
- After taking care of the above two problems, the program
- ran as expected via detached process.
-
-
-
- //================================\\
- || Syed Mahmood Hasan ||
- || ||
- || hasan%avax.dnet@univax.fhda.edu ||
- || ||
- || Foothill-De Anza Community ||
- || College District ||
- || Data Services, Bldg - L71 ||
- || 21250 Stevens Creek Blvd. ||
- || Cupertino, CA 95014 ||
- || ||
- || (408) 864-8242 ||
- \\================================//
-
-