- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- capturing opcom output from REPL/STA
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
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
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
11-17-2011 03:55 AM
11-17-2011 03:55 AM
Apologies if this has already been asked before.
What is the best way to capture the output from a REPL/STA command and write into a file ? or even use the PIPE command on ?
I have a situation where a system generates multiple OPCOMS from different environments, but I am only concerned with the OPCOMS generated by one user. Therefore I want to write a simple com file to filter out the opcoms that I want to look at.
Any assistance would be gratefully appreciated.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2011 07:17 AM - edited 11-17-2011 07:19 AM
11-17-2011 07:17 AM - edited 11-17-2011 07:19 AM
SolutionThe easiest approach is to rework the user involved in the unspecified actions to perform a different notification scheme, and to avoid using something as primitive and ill-integrated as OPCOMs.
To more directly trigger whatever the necessary activity is, from within cooperating code in the user environment that you're interested in.
If the application details here require the continued use of archaic and ancient and unfortuately weak OPCOM mechanism (eg: you can't or won't modify the monitored-user's environment), then you can periodically scan the operator log, or you can dig around in the Freeware archives for existing OPCOM-catching tools, or you can roll your own broadcast-trapping tool.
One such example tool is here:
http://www.eight-cubed.com/downloads.html
There are third-party packages which can convert OPCOM messages into SNMP traps, too.
http://www.comtekservices.com/vms_nmopcom.html
PIPE or Unix-style I/O redirection will get you exactly nowhere with the OPCOM interface, as this horridly antique and arcane OPCOM mechanisms. as the messages are broadcasts, and not command output. They're not I/O generated in-line, but are built on $brkthru-like mechanism.
You would be correct in your other supposition here, too; that I don't hold the OPCOM subsystem in particularly high regard. It was a weak design back at its inception around 1978 (and there were better tools available on other DEC operating systems back then) and it has not seen particular improvements to its API or capabilities in the ensuing years or so.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2011 10:20 AM
11-17-2011 10:20 AM
Re: capturing opcom output from REPL/STA
Hoff, thanks for great reply. Very useful indeed.
Yes, this is a legacy system, which I dont have that much control over. Everything else feeds into BMC Patrol, apart from this application.