- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: OpenVMS - Small EVE program to run in BATCH
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-14-2010 12:53 PM
04-14-2010 12:53 PM
OpenVMS - Small EVE program to run in BATCH
I haven't been sucsesfull in running the following EVE (EDIT/TPU) lines in BATCH.
I need to generate a small procedure to constanly perform such line because I almost
doing it INTERACTIVE on a daily basis.
See Attachment ...
----------------------------------------------
The main issue is that besides doing it daily it need to be done over 750 times.
Please, I only need the EVE lines (or EDT if possible)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-14-2010 02:27 PM
04-14-2010 02:27 PM
Re: OpenVMS - Small EVE program to run in BATCH
c;777(""pastevbl)ex
exit
Insert your search string in the "". Preloading your paste buffer is left as an exercise.
Put this in a file and then
$ EDIT/EDT targetfile/COMMAND=commandfile
Figuring out how to do it in batch is left as an exercise.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-14-2010 06:12 PM
04-14-2010 06:12 PM
Re: OpenVMS - Small EVE program to run in BATCH
Please explain the exact text transformation you want to do.
There may be better (more robust) algoritms or tools. May we assume that the 777 is just a sufficiently large number to cover the whole file?
In fact you may want to explain 'the next step' to see if we can offer even better advice.
As in... what do exactly do you want to do, and why?
Cheers,
Hein
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-14-2010 07:57 PM
04-14-2010 07:57 PM
Re: OpenVMS - Small EVE program to run in BATCH
EVE/TPU is easier because you can TELL it you have no terminal and do simple manipulation in batch. EDT can be a real pain when you try to trick it into working in batch. The key here is your work in TPU has to be pretty simple, search for this string, select that, cut, insert, etc.
bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-15-2010 01:56 AM
04-15-2010 01:56 AM
Re: OpenVMS - Small EVE program to run in BATCH
$ DEFINE /USER SYS$INPUT SYS$COMMAND
$ EDIT /TPU /NOINIT /NODISPLAY /SEC=SYS$LIBRARY:SYS$TPUSECTION.TPU$SECTION -
/COMMAND=SY0:[LIVE.TXT]AMEND_HEADER_TPU.TXT SYS$TEMP:'SHORT'
Rob.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-15-2010 05:30 AM
04-15-2010 05:30 AM
Re: OpenVMS - Small EVE program to run in BATCH
A note on step 5, move to start of line - if it happens that the cursor is already at the start of the line, this will cause an error and abort the repeat sequence. When I make a macro like this I move the cursor one character to the right before entering Ctrl+H.
I also prefer to do the first Find manually (that is, before Learn), and put the Find for the next string at the end of the macro as a repeat (Find Find). This allows me to use the macro for different search strings, and when running it interactively, view the text it's about to operate on. The downside of course is I can't always see what it just did.
You may want to save this macro in your TPU section file so you don't have to re-Learn it each time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-16-2010 03:10 PM
04-16-2010 03:10 PM
Re: OpenVMS - Small EVE program to run in BATCH
set cursor bound
set noexit attribute check
find subj:
start of line
select
bottom
remove
exit
It's just a simple example. Check TPU documentation for other commands you can use and their structure.
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP