[Info-vax] HOW TO PASS PARAMETERS IN COMMAND LINE ARGUMENT IN OPENVMS

Simon Clubley clubley at remove_me.eisner.decus.org-Earth.UFP
Thu Feb 28 14:25:06 EST 2013


On 2013-02-28, adityagtm4 at gmail.com <adityagtm4 at gmail.com> wrote:
> Hi
>
> can anybody please tell that how to pass parameters in openvms through
> command line...and i am having xyz.sh file also, in which i have written some
> DCL Commands....
>

First off, I don't care what you choose to call yourself, but please can
you stick to the one identity so that we know we are talking to the same
person. Thanks.

You have been pointed to the VMS documentation set in the past; please read
it as it answers your questions.

However, if you want to read parameters within a command procedure you
use the P1 through P8 parameters. If you want a language independent way
of reading parameters in a program invoked from a command procedure, you
can call lib$get_foreign if you invoke your program as a foreign command.

If that doesn't answer your questions, you are going to have to explain
in much more detail what your operating environment is and what your
requirements are.

For example, are you running a command procedure interactively, or are
you trying to run DCL commands on a remote VMS system from within a
shell script running on a non-VMS host ?

>
> please help
>

We would like to help you, but you are not giving us much to go on.

Simon.

-- 
Simon Clubley, clubley at remove_me.eisner.decus.org-Earth.UFP
Microsoft: Bringing you 1980s technology to a 21st century world



More information about the Info-vax mailing list