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

adityagtm4 at gmail.com adityagtm4 at gmail.com
Thu Feb 28 14:40:32 EST 2013


On Friday, 1 March 2013 00:55:06 UTC+5:30, Simon Clubley  wrote:
> 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.

He is one of my friend and we both learning the same thing.
> 
> 
> 
> 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

I have one .sh file in which I have written some DCL commands, but when I am trying to run it I am getting error. 



More information about the Info-vax mailing list