LES@vaxi.UWO.CDN.UUCP (06/14/87)
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. The System Messages and Recovery Procedures manual suggest that we submit an SPR for this problem - but that takes too long. Has anyone experienced this problem before, or can anyone recommend a workaround??? Les Flodrowski Social Science Computing Lab University of Western Ontario Bitnet: LES@UWOVAX.BITNET Cdn: LES@VAXI.UWO.CDN -------
HIGHAMP@BYUVAX.BITNET.UUCP (06/17/87)
From: HIGHAMP@byuvax Newsgroups: comp.os.vms Subject: PROBLEM WITH CLI$DCL_PARSE It seems that my previous response to this question didn't post... Forgive me if I'm mistaken. As mentioned, your problem is the lack of CLI in a detached process because LOGINOUT hasn't initialized one. I've experienced the same difficulty when trying to spawn from a detached process. To get around this (one solution), try running SYS$SYSTEM:LOGINOUT.EXE with the detached qualifier, and use a command procedure as the input: $ Run/detached/input=my.com sys$system:loginout.exe MY.COM can simply contain " $ RUN MY.PROGRAM " if you want. By the way, this is how you "run" command procedures detached. Hope this helps. Dave Higham Signetics Corp. Orem, Utah