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
tli@sargas.usc.edu.UUCP (06/14/87)
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