[Info-vax] Command Procedure Pipe output to a variable
Dave Blorphy
blorphy at gmail.com
Thu Sep 2 19:12:50 EDT 2021
On Thursday, September 2, 2021 at 11:36:59 AM UTC-4, HCorte wrote:
> Thanks thats whant I needed, gona use LIB$SPAWN to run my command procedure and after get the symbol use LIB$GET_SYMBOL as suggested.
Re-Read Arne's response.
DCL symbols are process local. By the time your program regains control after
the lib$spawn, (unless you specified nowait), the process that created the DCL
symbol will be gone, and with it the symbol. And lib$get_symbol can't obtain
DCL symbols from another process, even if the process was still there.
There are other mechanisms that could work, but before going further, what
problem are you trying to solve, and why do you think this is solution to the problem.
See https://xyproblem.info/
More information about the Info-vax
mailing list