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

VAXman- at SendSpamHere.ORG VAXman- at SendSpamHere.ORG
Thu Feb 28 15:46:32 EST 2013


In article <3a7991fa-b0e9-41ff-a910-6150a22c05a8 at googlegroups.com>, adityagtm4 at gmail.com writes:
>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. 

Are you from Micro$oft WEENDOZE or unix realms where errors have no meaning?

Perhaps, instead of wasting all of our time with this tit-for-tat, you could
post your procedure and the errors you are getting.  Sheesh.  Neophytes.

-- 
VAXman- A Bored Certified VMS Kernel Mode Hacker    VAXman(at)TMESIS(dot)ORG

Well I speak to machines with the voice of humanity.



More information about the Info-vax mailing list