Please see the below example, "abc" logical is defined in the parent process
and "xyz" is defined in sub-process.
From Subprocess, I could able to get the logical of "abc" and "xyz". But after
the control comes back to Parent process, I am unable to get the "xyz" logical
which is specified in the child process.
How can I get this? Is there any way to redirect the child logical also to the
parent process?
=============================================================
Code: Select all
$ define abc "disk1:[000000]"
$ spawn
%DCL-S-SPAWNED, process SYSTEM_1 spawned
%DCL-S-ATTACHED, terminal now attached to process SYSTEM_1
$ define xyz "disk2:[000000]
$ show logical abc
"ABC" = "disk1:[000000]" (LNM$PROCESS_TABLE)
$ show logical xyz
"XYZ" = "disk2:[000000]" (LNM$PROCESS_TABLE)
$ lo
Process SYSTEM_1 logged out at 12-AUG-2004 15:25:34.29
%DCL-S-RETURNED, control returned to process SYSTEM
$ show logical abc
"ABC" = "disk1:[000000]" (LNM$PROCESS_TABLE)
$ show logical xyz
%SHOW-S-NOTRAN, no translation for logical name XYZ
==============================================================
N.Madhavan