1827391 Members
4920 Online
109965 Solutions
New Discussion

Scripting in Open Vms

 
GNJ
Advisor

Scripting in Open Vms

May I know
Is there any documents or books to learn
Open Vms Scripting from basics
Please help me in this

Jayakrishnan G Naik
5 REPLIES 5
Hein van den Heuvel
Honored Contributor

Re: Scripting in Open Vms

RTFM! Read the Fine manuals
Or
RTFH: Type in HELP and read carfully.

This question was recently asked.
See:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1090489

Also... consider learning PERL.

hth,
Hein.
Robert Gezelter
Honored Contributor

Re: Scripting in Open Vms

Jayakrishnan,

If you mean by "scripting", the facilities native to OpenVMS, then the correct OpenVMS terminology is "command files in DCL".

There have been books written on this subject, which may be available from Digital Press or on the secondary market.

However, the documentation set is comprehensive, and well written (in contrast to a variety of other systems). The documentation set is available online in HTML and PDF formats from http://www.hp.com/go/openvms

- Bob Gezelter, http://www.rlgsc.com
Kris Clippeleyr
Honored Contributor

Re: Scripting in Open Vms

Jayakrishnan,

As my learned colleagues said, read the fine manuals, and try to get hold of the book "Writing Real Programs in DCL" by Paul Anagnostopoulos and Steve Hoffman (see:
http://www.hp.com/hpbooks/digital_press/dp_1555581919.html ).

Regards,
Kris (aka Qkcl)
I'm gonna hit the highway like a battering ram on a silver-black phantom bike...
Dennis Couch
New Member

Re: Scripting in Open Vms

One good way to learn is to take a look at some of the DCL command procedures that come standard with OpenVMS. If you want an extreme example, try SYS$UPDATE:AUTOGEN.COM. ;)

Dennis
Hoff
Honored Contributor

Re: Scripting in Open Vms

The intent of the second edition of the Writing Real Programs in DCL book was to cover DCL far beyond what was in the OpenVMS user's guide and other resources. Including using DCL for web server CGI scripts, DCL captive and restricted logins and related security, DECnet task-to-task networking, etc. (Full disclosure: I'm the author. I also have no control over whether the book is in or out of print.)

AUTOGEN.COM and various other older/larger DCL command procedures are run through a tool known as DCLDIET before being placed on the OpenVMS distribution tool. DCLDIET generates DCL that runs fast(er), but is definitely not maintainable; I'd not even bother to look at the shipping version of that tool.

There's a copy of DCLDIET on the OpenVMS Freeware, if you want to experiment with it.

The original and fully-commented versions of AUTOGEN.COM and of VMSINSTAL.COM and other such are generally available on the OpenVMS Source Listings distro.

Stephen Hoffman
HoffmanLabs