Home · Articles · Downloads · Hobby Wear · Forums · Web Links · News CategoriesFriday, April 19, 2024
Navigation
Home
Articles
Downloads
Hobby Wear
FAQ
Forums
Web Links
News Categories
Contact Us
Photo Gallery
OpenVMS Bigot
Search
Users Online
Guests Online: 10
No Members Online

Registered Members: 7,708
Newest Member: nifseg
Sponsors
Island Computer
View Thread
OpenVMS Hobbyist Program | Hobbyists and OpenVMS | Introduction Forum
Author Help required for Open VMS Scripting
tejasdunk
Member

Posts: 2
Joined: 17.10.11
Posted on October 17 2011 23:37
Sorry to add my question here but I didn't find the right category to add it.
I am having a very hard time with scripting in OPEN vms
I have a certain output in a file called test.txt .For example :

[WWEWE@http-lx-as code]$ cat test.txt
** Configuration for file "MULTINET:NETWORK_DEVICES.CONFIGURATION" **

Device Adapter CSR Address Flags/Vector

------ ------- ----------- ------------

se0 (Shared VAX/VMS Ethernet) -NONE- -NONE- -NONE-

s10 (Serial Line IP) -NONE- -NONE- -NONE-

dn0 (IP over DECNet link) -NONE- -NONE- -NONE-
==========================================================================================
I have written a script in Linux which helps to pick up all the information under the device column in this case se0,s10,dn0.
Can we do a similar thing in OPEN VMS

The Linux script is as follows :
SCRIPT :

for i in `cat test.txt 2>/dev/null |egrep '^[a-z]' |grep -v '\*\*' | awk '{print $1}'`
> do
> echo Begin-interface: $i
> done


OUTPUT :

Begin-interface: se0
Begin-interface: s10
Begin-interface: dn0

Let me know if it can be achieved,
Thanking you in advance
Tejas
Author RE: Help required for Open VMS Scripting
Bruce Claremont
Member

Posts: 623
Joined: 07.01.10
Posted on October 19 2011 05:01
Yes, it can be achieved. Take a look at SEARCH and Lexical functions.
Author RE: Help required for Open VMS Scripting
Bruce Claremont
Member

Posts: 623
Joined: 07.01.10
Posted on October 19 2011 05:02
Suggest moving this thread to one of the software forums.
Jump to Forum:
Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Member Poll
Are you going to OpenVMS Boot Camp 2016?

Yes

No

You must login to vote.
Shoutbox
You must login to post a message.

malmberg
August 04 2022
No more VAX hobbyist licenses. Community licenses for Alpha/IA64/X86_64 VMS Software Inc. Commercial VMS software licenses for VAX available from HPE.

ozboomer
July 20 2022
Just re-visiting.. No more hobbyist licenses? Is that from vmssoftware.com, no 'community' licenses?

valdirfranco
July 01 2022
No more hobbyist license...sad

mister_wavey
February 12 2022
I recall that the disks failed on the public access VMS systems that included Fafner

parwezw
January 03 2022
Anyone know what happened to FAFNER.DYNDS.ORG? I had a hobbyist account here but can longer access the site.

gtackett
October 27 2021
Make that DECdfs _2.1A_ for Vax

gtackett
October 27 2021
I'm looking for DECdfs V2.4A kit for VAX. Asking here just in case anyone is still listening.

MarkRLV
September 17 2021
At one time, didn't this web site have a job board? I would love to use my legacy skills one last time in my career.

malmberg
January 18 2021
New Hobbyist PAKs for VAX/VMS are no longer available according to reports. Only commercial licenses are reported to be for sale from HPE

dfilip
January 16 2021
Can someone please point me to hobbyist license pak? I'm looking for VAX/VMS 7.1, DECnet Phase IV, and UCX/TCPIP ... have the 7.1 media, need the license paks ... thanks!

Bart
October 16 2020
OpenVMS, and this website!

malmberg
September 05 2020
VSI community non-commercial licenses for AXP/IA64 are available now.

malmberg
September 05 2020
See the forum about licensing. Don't know if HPE hobby licenses still being issued. Commercial licenses still being sold.

silfox70
September 01 2020
I need the license for OpenVMS7.3. Where can I find them?

malmberg
August 29 2020
Eisner, which is currently being moved, got an SSH update and the keys were updated to more modern encryption standards.

Shoutbox Archive