VMS is an amazing environment, though I don't have much experience on it (I only used the public servers from vistech. It integrates many high level languages inside the system, (ReXX on IMB's zVMS and BASIC on HP's VAX/VMS) much so you can do “batch scripting” straight into basic. You could say it is the same way Windows Scripting Host works in Microsoft's Windows, but VMS is from the eighties and Windows Scripting host is from the middle-nineties (Windows 95 and NT4).
I wrote just a couple of test programs in VMS made to understand its mechanic. Here you can test what I have on my local computer. I hope someday I'll recall my vistech login and get my files from there.