Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!ames!cit-vax!oberon!sargas.usc.edu!tli From: tli@sargas.usc.edu.UUCP Newsgroups: comp.os.vms Subject: Re: CLI$DCL_PARSE PROBLEM Message-ID: <2642@sargas.usc.edu> Date: Sun, 14-Jun-87 02:02:58 EDT Article-I.D.: sargas.2642 Posted: Sun Jun 14 02:02:58 1987 Date-Received: Sun, 14-Jun-87 19:42:32 EDT References: <0550490655@vaxi.UWO.CDN> Reply-To: tli@sargas.usc.edu.UUCP (Tony Li) Distribution: world Organization: University of Southern California, Los Angeles Lines: 26 In article <0550490655@vaxi.UWO.CDN> LES@vaxi.UWO.CDN writes: We are having an unusual problem when trying to use CLI$DCL_PARSE from a detached process. The detached process gets created using the RUN/DETACHED. DCL command. The error returned when we try to parse a line from an initialization file that the program uses is: %CLI-E-INVREQTYP, invalid request type The *ODD* thing is that when the program is run interactively or via a BATCH command file, it works without error. It only gets the error when it is run detached. You haven't given us the full DCL command that you use to generate the detached process, but I suspect that you are just running the image. If this is done, the process is not given a CLI. Thus, a call back to the CLI will always fail. Running the image interactively or in batch mode works because both of these cases require you to have a CLI. Cheers, Tony ;-) -- Tony Li - USC University Computing Services "Fene mele kiki bobo" Uucp: oberon!tli -- Joe Isuzu Bitnet: tli@uscvaxq, tli@ramoth Internet: tli@sargas.usc.edu