home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!noc.near.net!news.bbn.com!micro-heart-of-gold.mit.edu!rutgers!ub!acsu.buffalo.edu!ubvmsb.cc.buffalo.edu!masmummy
- From: masmummy@ubvmsb.cc.buffalo.edu
- Newsgroups: comp.os.vms
- Subject: Solution to the $CREPRC subprocess information problem.
- Message-ID: <C0n2C1.L5I@acsu.buffalo.edu>
- Date: 10 Jan 93 12:51:00 GMT
- Sender: nntp@acsu.buffalo.edu
- Organization: University at Buffalo
- Lines: 22
- News-Software: VAX/VMS VNEWS 1.41
- Nntp-Posting-Host: ubvmsb.cc.buffalo.edu
-
- I have found a solution to the problem of passing a logical to a subprocess
- created using system service $CREPRC thanks to the replies I have received.
-
- Thank you to Bob Koehler, Colin Sewell, Jamie Hanrahan, Carl Lydick,
- and Steve Gibbons.
-
- I had originally passed the information in table LNM$JOB, but in my coding
- I had called LIB$DELETE_LOGICAL directly after calling $CREPRC. The effect
- of this was the destruction of the logical before it was translated in the
- subprocess. The solution was to simply have the subprocess be responsible
- for deleting the job-table logical after translation.
-
- Anyway, the subprocess now has access to the information needed passed
- from the parent process, and I get the desired quotas in the subprocess.
-
- I also wish to point out that I thought Carl's idea of passing this information
- through SYS$ERROR was rather clever. I try to avoid doing things this way,
- but when you need something done you often have to resort to methods of this
- nature.
-
- Thank you!
- Bill
-