Article View: net.decus
Article #275Re: Favorite operating systems quer
From: rouil
Date: Thu, 10 Jul 1986 20:28
Date: Thu, 10 Jul 1986 20:28
42 lines
2215 bytes
2215 bytes
psivax.UUC/n|||`!friesen writes:
> Oh, *great*:-) How does the DCL parse the arguments for a user
>written application program??
(omitted text)
>arguments, whay is really needed is a *standard* for this, like
>getopts(3)
> Sarima (Stanley Friesen)
>UUCP: {ttidca|ihnp4|sdcrdcf|quad1|nrcvax|bellcore|logico}!psivax!friesen
----------
The LIB$GetForeign command is used to get the command line for a user
written application it is documented in section 8.2.1 of the Run-Time
Library Routines Reference Manual Vax/Vms Version 4.0.
The way you have to invoke the application is by equating the name with
a symbol i.e. APPLIC :== "$user_application" then invoke the application
by entering: APPLIC command line arguments . By the way this way of
running a program is sometimes known as running a foreign command.
If you don't like that idea try writing your own Command line interpreter
and then giving it to parse command line (or some such command can't remember)
which will do the job. By the way this method is a lot of work.
Get to know the library routines (volumes 5a,b,c?) and the system
service routines. In VMS you can do much more than with most systems I
am familiar with but not necessarily with great ease. :-).
John Rouillard UUCP:{ima,cca,ihnp4}!inmet!ada-uts!rouil
Intermetrics Inc.
733 Concord Ave.
Cambridge, Ma. 02138
I very much doubt that my company would take responsibility for my living,
let alone my opinions.
By the way Vax/Vms is a trademark of Digital Equipment Corporation, but
you already knew that.
Technical Details
Message-ID:
<12000005@ada-uts>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!caip!topaz!husc6!harvard!adelie!mirror!gabriel!ada-uts!rouilReferences:
<1320@psivax.UUCP>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!caip!topaz!husc6!harvard!adelie!mirror!gabriel!ada-uts!rouil From: rouil@ada-uts Newsgroups: net.decus Subject: Re: Favorite operating systems quer Message-ID: <12000005@ada-uts> Date: Thu, 10-Jul-86 16:28:00 EDT Article-I.D.: ada-uts.12000005 Posted: Thu Jul 10 16:28:00 1986 Date-Received: Sun, 13-Jul-86 05:30:20 EDT References: <1320@psivax.UUCP> Lines: 42 Nf-ID: #R:psivax.UUCP:-132000:ada-uts:12000005:000:1612 Nf-From: ada-uts!rouil Jul 10 16:28:00 1986