- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Broadcast message from batch job to my terminal
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
тАО01-20-2009 07:59 AM
тАО01-20-2009 07:59 AM
I have a batch job that do some things. During its execution I would like to send some
alerts to my terminal (using same username). Both, terminal and batch job
use the same username and has TMPMBX,NETMBX privileges.
As I understand the REPLY/USERNAME command needs OPER privileges. But the
intention is to send messages only from my batch job to my terminal (no other user will
receive any messages). Any way to do it?
OpenVMS V7.3
Thanks for your help
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2009 08:07 AM
тАО01-20-2009 08:07 AM
Re: Broadcast message from batch job to my terminal
Just a thought... how about exploiting VMSmail for thsi purpose.
As added bonus you can readily send some extra supporting data and y9ou get a permanent record.
As a gotcha you'll have to clean out those Emails over time. Be sure for them to be readily recognizable, for example with a special piece of string in the subject line.
$mail /subj="batch_status"/pers="Batch job X now entering stage Y" nl:
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2009 08:17 AM
тАО01-20-2009 08:17 AM
Re: Broadcast message from batch job to my terminal
Mail can be an option but the intention is to receive shorts alerts like "Phase 1 begin", "Phase 1 at 25%", "Phase 1 at 50%", etc. The terminal session will act like an alert screen.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2009 08:25 AM
тАО01-20-2009 08:25 AM
SolutionDid you notice the "/PERSONAL_NAME" in the VAXmail command?
That string will appear on the screen(s) and can serve as a short status message:
The result from my example would be:
New mail on node RX1 from RX1::HEIN "Batch job X now entering stage Y"
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2009 08:29 AM
тАО01-20-2009 08:29 AM
Re: Broadcast message from batch job to my terminal
That's correct. Mail command with /PERSONAL will cover all my need.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2009 08:30 AM
тАО01-20-2009 08:30 AM
Re: Broadcast message from batch job to my terminal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2009 08:32 AM
тАО01-20-2009 08:32 AM
Re: Broadcast message from batch job to my terminal
The user-available possibility is the
SYS$BRKTHRU system service.
See a ready to use example in my utility page:
http://wwwvms.mppmu.mpg.de/~huber/util/main/sendme.html
If You have no Fortran compiler, use the ready to use executable in the binary archives linked from
http://wwwvms.mppmu.mpg.de/~huber/util/main/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2009 08:38 AM
тАО01-20-2009 08:38 AM
Re: Broadcast message from batch job to my terminal
http://h71000.www7.hp.com/doc/732final/4527/4527pro_001.html#jun_72
Pass the program a text string and user name on the command line and use the $BRKTHRU service SNDTYP argument option BRK$C_USERNAME, and the FLAGS argument option BRK$M_CLUSTER.
Have your system manager install your program with OPER privilege and if he/she wishes, protect the image from unauthorized access using an ACL or other security method.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2009 08:41 AM
тАО01-20-2009 08:41 AM
Re: Broadcast message from batch job to my terminal
http://vms.process.com/scripts/fileserv/fileserv.com?SEND
it has some more options.