Path: utzoo!attcan!uunet!husc6!mailrus!ames!umd5!uflorida!beach.cis.ufl.edu!jdc
From: jdc@beach.cis.ufl.edu (Jeff Capehart)
Newsgroups: comp.os.vms
Subject: Re: NO CLI from det proc
Summary: use LOGINOUT.EXE
Keywords: CLI, detached
Message-ID: <16282@uflorida.cis.ufl.EDU>
Date: 25 Jun 88 05:10:37 GMT
References: <8806231126.AA14324@ucbvax.Berkeley.EDU>
Sender: news@uflorida.cis.ufl.EDU
Reply-To: jdc@beach.cis.ufl.edu ()
Organization: UF CIS Department
Lines: 13

I experienced this same problem trying to use the LIB$ routine to create
and translate logical names.  I ended up using the SYS$CRELNM service
in order to bypass the need for a CLI.  If you are trying to use the
LIB$SPAWN you will get this same error, no CLI available.  Try using
SYS$CREPRC and set the image it runs to SYS$SYSTEM:LOGINOUT.EXE and
that will get it into DCL as a subprocess from a detached process.
Otherwise, you will need to run/det SYS$SYSTEM:LOGINOUT and set the
input to be a comfile which will then run your program.  Either way
you can get a CLI which can give you access to DCL.

--
Jeff Capehart 		Internet: jdc@beach.cis.ufl.edu
University of Florida	UUCP:   ..!ihnp4!codas!uflorida!beach.cis.ufl.edu!jdc