Path: utzoo!utgpu!water!watmath!clyde!att!pacbell!ames!pasteur!ucbvax!NIHKLMB.BITNET!GHC
From: GHC@NIHKLMB.BITNET
Newsgroups: comp.os.vms
Subject: BITNET Mail follows
Message-ID: <8806231126.AA14324@ucbvax.Berkeley.EDU>
Date: 16 Jun 88 20:49:00 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The Internet
Lines: 17

Date: 16-JUN-1988 13:40:23.42
From: Gerson H Cohen 
To  : 
Original To: GATEWAY::"info-vax@kl.sri.com",GHC
Subj: Spawn from detached process

I am trying to spawn a subprocess in order to submit a batch job from a
detached process.  The call to lib$spawn returns with LIB$_NOCLI.  I have
tried the same sequence from an interactive process with success.  I have
checked tha process quotas for the detached process and it has 2 subprocesses
permitted.  The spawn command is on the next line

           ok = lib$spawn( full_spawn_cmd(1:full_spawn_cmd_l) )

and has the form "submit file/param=qw".

Does anyone have any ideas about this problem?