[Info-vax] Command Procedure Pipe output to a variable

MG marcogbNO at SPAMxs4all.nl
Tue Aug 31 11:48:19 EDT 2021


On 31-Aug-2021 14:11, Jim wrote:
> Maybe pass the value of the SEARCH output back to the parent process using a job logical name...
> 
> $ pipe/nosymbol/nological -
>      show process YYYYYY | -
>      search sys$pipe "Devices allocated:" | -
>      ( read sys$pipe x ; define/job x &x )
> $ device_aux = f$element(1,":",f$edit(f$trnlnm("x","lnm$job"),"collapse"))
> $ deassign/job x
> $ show symbol device_aux

Interesting workaround.

  - MG



More information about the Info-vax mailing list