- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: OpenVMS - Small EVE program to run in BATCH
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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.