home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!usc!news.service.uci.edu!ucivax!news.claremont.edu!nntp-server.caltech.edu!SOL1.GPS.CALTECH.EDU!CARL
- From: carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick)
- Newsgroups: comp.os.vms
- Subject: Re: Creating subprocess with $CREPRC; preservation of symbols/logicals
- Date: 9 Jan 1993 23:12:55 GMT
- Organization: HST Wide Field/Planetary Camera
- Lines: 26
- Distribution: world
- Message-ID: <1inm5nINNo4c@gap.caltech.edu>
- References: <C0I3xM.84F@acsu.buffalo.edu>
- Reply-To: carl@SOL1.GPS.CALTECH.EDU
- NNTP-Posting-Host: sol1.gps.caltech.edu
-
- In article <C0I3xM.84F@acsu.buffalo.edu>, masmummy@ubvmsb.cc.buffalo.edu writes:
- >I have a program that needs the use of $CREPRC to create a subprocess.
- >I think LIB$SPAWN is great, but I cannot alter quotas with it.
- >
- >My problem lies in preserving symbols and/or logicals.
- >Is there any way (with normal privileges) that I can pass information to
- >this subprocess (I need to give it a stream about 80 characters long), without
- >resorting to files, mailboxes, and such?
-
- You *COULD* specify some 80-character string for error argument to $CREPRC,
- then use $TRNLNM to translate SYS$ERROR.
-
- >It appears to me (I am not an expert)
- >that LIB$SPAWN copies the symbol and logical tables over by default. Can I
- >do that with $CREPRC, too?
-
- No. You'd have to create a mailbox, then have the subprocess read the mailbox
- and use the information so obtained to set up logical names and symbols.
- --------------------------------------------------------------------------------
- Carl J Lydick | INTERnet: CARL@SOL1.GPS.CALTECH.EDU | NSI/HEPnet: SOL1::CARL
-
- Disclaimer: Hey, I understand VAXen and VMS. That's what I get paid for. My
- understanding of astronomy is purely at the amateur level (or below). So
- unless what I'm saying is directly related to VAX/VMS, don't hold me or my
- organization responsible for it. If it IS related to VAX/VMS, you can try to
- hold me responsible for it, but my organization had nothing to do with it.
-