- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Problems with i/o to console using $BRKTHRU
Operating System - OpenVMS
1819777
Members
3103
Online
109607
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО10-03-2006 12:15 PM
тАО10-03-2006 12:15 PM
Problems with i/o to console using $BRKTHRU
We have a FORTRAN application that has used $BRKTHRU to write text based notices to a VT type application console for a number of years. Recently upgraded to OpenVMS 8.2 (on an Alpha DS25). We then noticed that if there are a series of event notices written to the console, we have to hit the carriage return to get the notices displayed. Almost as though i/o is locked up. Is this a known issue, or anyone else experienced this?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2006 08:39 AM
тАО10-04-2006 08:39 AM
Re: Problems with i/o to console using $BRKTHRU
Scot,
Lots of questions...
Do you mean the terminal is the system console, or some other type terminal? What is it physically connected to (serial port, terminal server, ...?) What other activity is occuring on the target terminal?
What are the terminal characteristics (SHOW TERM). Who owns it and what privileges are used to access it?
What does the $BRKTHRU call specify for flags? What is are status and IOSB? Are you using $BRKTHRUW or $BRKTHRU? If $BRKTHRU how are you synchronizing?
Lots of questions...
Do you mean the terminal is the system console, or some other type terminal? What is it physically connected to (serial port, terminal server, ...?) What other activity is occuring on the target terminal?
What are the terminal characteristics (SHOW TERM). Who owns it and what privileges are used to access it?
What does the $BRKTHRU call specify for flags? What is are status and IOSB? Are you using $BRKTHRUW or $BRKTHRU? If $BRKTHRU how are you synchronizing?
A crucible of informative mistakes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-10-2006 04:35 AM
тАО10-10-2006 04:35 AM
Re: Problems with i/o to console using $BRKTHRU
Hello John,
Thanks for offering to help, here is some more info. The term "console" I used was understandably misleading. This is not the OVMS system console. In fact, it is any session that we run our application from that we refer to as the "application console". So, it could be any session. We have run the application for years, and never experienced this until we upgraded to 8.2. Here is a code snip of the FORTRAN call that we believe to be the culprit:
! broadcast message without wait
BRDCST = SYS$BRKTHRU (
1 , ! efn
1 HEADERS(1:STRENDL(HEADERS))//
1 MSGS(1:STRENDL(MSGS)), ! msgbuf
1 TERMS, ! sendto
1 %VAL (brk$c_device), ! sndtyp
1 , ! iosb
1 %VAL (BLANKB), ! carcon
1 , ! flags,
1 , ! reqid
1 , ! timeout
1 , ! astadr
1 ) ! astprm
Thanks for offering to help, here is some more info. The term "console" I used was understandably misleading. This is not the OVMS system console. In fact, it is any session that we run our application from that we refer to as the "application console". So, it could be any session. We have run the application for years, and never experienced this until we upgraded to 8.2. Here is a code snip of the FORTRAN call that we believe to be the culprit:
! broadcast message without wait
BRDCST = SYS$BRKTHRU (
1 , ! efn
1 HEADERS(1:STRENDL(HEADERS))//
1 MSGS(1:STRENDL(MSGS)), ! msgbuf
1 TERMS, ! sendto
1 %VAL (brk$c_device), ! sndtyp
1 , ! iosb
1 %VAL (BLANKB), ! carcon
1 , ! flags,
1 , ! reqid
1 , ! timeout
1 , ! astadr
1 ) ! astprm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-10-2006 05:48 AM
тАО10-10-2006 05:48 AM
Re: Problems with i/o to console using $BRKTHRU
A couple of quick suggestions . . .
1) specify efn$c_enf as the event flag if you don't care about using an event flag.
2) use an IOSB and check its status (iosb$w_status), along with the status of the call itself.
3) review why you are using the asynch form of the service; I suspect that using the wait form (sys$brkthruw) is a better choice.
-- Rob
1) specify efn$c_enf as the event flag if you don't care about using an event flag.
2) use an IOSB and check its status (iosb$w_status), along with the status of the call itself.
3) review why you are using the asynch form of the service; I suspect that using the wait form (sys$brkthruw) is a better choice.
-- Rob
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP