| There is a possibility that it is related to the "double ctrl-Y"
problem on later versions of OpenVMS Alpha (run the program,
type ctrl-y, type the exit command and the program gets hung
up in its exit handling. You need to type ctrl-y and exit
again.)
If earlier versions of OpenVMS Alpha don't have the problem
and later ones do, then maybe lib$do_command is getting hung
up in the rtl exit handling.
Dan
|
|
lib$do_command is a "chaining" function, it stuffs the command into
the command buffer for execution, and causes the current image to
exit. If the mail is sent, I'd look in the DCL procedure with a
SET VERIFY (or f$verify lexical) to see where the hang occurs -- the
image that called lib$do_command has already exited by the time the
mail is sent...
I can send you some C code which sends e-mail via the callable mail
interface -- the C code will resolve this particular problem.
This C code will not address your immediate question -- this question
is better suited to VMSNOTES. if you cross-post, we will need the C
and the DCL code needed to duplicate this problem. We will also need
to know the OpenVMS version.
|