Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi,
i want to create a vms script and i want to pass an input file as parameter and also want to read some parameter values from the user at runtime.
Thanks in advance
Manish

It's worth to read at least the "DCL dictionary" manual from the VMS doc set, the chapter on executing command files is available on the following link:
http://h71000.www7.hp.com/doc/83fin...In short: parameters to DCL procedures are passed in symbols P1 to P8 (i.e. a maximum of 8 can be passed).
The second part of Your question I don't understand: what means "parameters at run time?": once the DCL procedure is started, there is no way to change the passed parameters.
Are You asking for "how to read data inside a procedure ?": if so: read about the DCL OPEN and READ or INQUIRE command (or use help on OPEN,READ,INQUIRE):
You can read from "user" on the interactive terminal (called sys$command:) or from a disk file.
Terminal: READ SYS$COMMAND answer
or INQUIRE symbol promptJoseph Huber, http://www.huber-joseph.de
ITRC

![]() |
![]() |
![]() |
| Login or Register to Reply | |
| Login | Register |
| Ads by Google |