Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: Fairfield@SLAC.Stanford.EDU (Ken Fairfield; SLAC: 650-926-2924; FAX: 926-3515)
Subject: Re: system command
Date: 2000/11/13	[thread overview]
Message-ID: <BvZ4hTvvTeg+@mccdev.slac.stanford.edu> (raw)
In-Reply-To: 3A101BEC.95888D33@lbl.gov

In article <3A101BEC.95888D33@lbl.gov>, Tobias Funk <funk@lbl.gov> writes:

> We are using a alpha machine with VMS 6.2. I am writing a fortran
> program and trying to use a system command. I know that you can do this
> wit fortran under unix with the following command:
> value=system("command"). Is there something comparable under VMS?

        Yes, you probably want LIB$SPAWN.   Look  it  up in the Run-time
    Library  reference  manual,  or  the online help as  HELP  RTL  LIB$
    LIB$SPAWN.  There are a number of differences between unix and  VMS,
    so  the  above  may  or  may not work as you expect.  But that's the
    starting point.

        Note that VMS questions are usually better asked on comp.os.vms.

            -Ken
-- 
 Kenneth H. Fairfield            |  Internet: Fairfield@SLC.Slac.Stanford.Edu
 SLAC, 2575 Sand Hill Rd, MS 46  |  Voice:    650-926-2924
 Menlo Park, CA  94025           |  FAX:      650-926-3515
 -----------------------------------------------------------------------------
 These opinions are mine, not SLAC's, Stanford's, nor the DOE's...



  reply	other threads:[~2000-11-13  5:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-13  5:00 system command Tobias Funk
2000-11-13  5:00 ` Ken Fairfield; SLAC: 650-926-2924; FAX: 926-3515 [this message]
2000-11-16  5:00 ` Hoff Hoffman
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox