[Info-vax] HOW TO PASS PARAMETERS IN COMMAND LINE ARGUMENT IN OPENVMS
Bob Harris
nospam.News.Bob at remove.Smith-Harris.us
Thu Feb 28 22:54:29 EST 2013
In article
<25e87c80-1c7b-47c4-8386-0c5f66f0ef04 at googlegroups.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....
>
>
> please help
>
>
>
> Thanks
> Aditya.
Based on previous replies, I would suggest
a) you give your script the name
xyz.com
which is the typical naming convention for OpenVMS command
procedure names. .sh is typical for a Unix shell script. Using
.sh in an OpenVMS newsgroup creates confusion that you do not need.
b) OpenVMS tends to actually have some useful error messages.
I've found that a lot of times users do not read them, but if you
can get the actual errors posted, it becomes very obvious what is
wrong.
c) posting the code along with the errors, will actually get
readers of this newsgroup to give you lots of help.
d) OpenVMS command procedures are really not anything like Unix
shell scripts. You have to change your mind set.
e) The good news is that OpenVMS has added a pipe command since
the days when I wrote 2000 line command procedures :-)
More information about the Info-vax
mailing list