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

Dave Froble davef at tsoft-inc.com
Thu Sep 2 10:12:47 EDT 2021


On 9/2/2021 9:33 AM, HCorte wrote:
> One more question finished the command procedure, know whanted to pass a variable/symbol to a program in fortran.
> Posted the question in "comp.lang.fortran" but forgoted to specify in the initial inquiry/question that was using OpenVMS.
>
> One suggestion was to use "EXECUTE_COMMAND_LINE" that from what could tell its specific to Unix, and also "popen" from what could get also Unix specific is there a equivalent for OpenVMS?
>
> $ FORTRAN /VERSION
> HP Fortran V8.2-104939-50H96
>
> $ SHOW SYSTEM
> OpenVMS V8.4
>
>

If I understand your question, perhaps LIB$SPAWN is what you're looking for.

Or, to get the value of a symbol, use LIB$GETSYMBOL.

-- 
David Froble                       Tel: 724-529-0450
Dave Froble Enterprises, Inc.      E-Mail: davef at tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA  15486



More information about the Info-vax mailing list