- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Form level functions blocking kernel signals?
Operating System - OpenVMS
1753727
Members
4493
Online
108799
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
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
тАО08-09-2006 02:31 AM
тАО08-09-2006 02:31 AM
Form level functions blocking kernel signals?
Hi,
I'm having a little trouble with FMS. In one application, the SIGALRM signal can be set, and then caught when the process is in the FDV_GETAL call.
However, in another application, it seems as if the signal isn't even being generated.
Eventually I used the FDV_STIME function, which pretty much does what I need it to do, but it won't break out of the FDV_GET if the field attribute RESPONSE_REQUIRED is set.
Can anyone offer advice or direction on the subject of signals and FMS? (I did do a search of the message board, but I didn't find any in depth info)
Thanks in advance,
Michael
I'm having a little trouble with FMS. In one application, the SIGALRM signal can be set, and then caught when the process is in the FDV_GETAL call.
However, in another application, it seems as if the signal isn't even being generated.
Eventually I used the FDV_STIME function, which pretty much does what I need it to do, but it won't break out of the FDV_GET if the field attribute RESPONSE_REQUIRED is set.
Can anyone offer advice or direction on the subject of signals and FMS? (I did do a search of the message board, but I didn't find any in depth info)
Thanks in advance,
Michael
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-09-2006 11:00 AM
тАО08-09-2006 11:00 AM
Re: Form level functions blocking kernel signals?
Unix type signalling doesn't always play well with OpenVMS software that uses ASTs.
If there's a more VMSish mechanism that achieves the same goal, you'd be better off using it. If you're trying to achieve a timeout, maybe an AST routine which calls FDV$CANCEL?
Can you write a small program that demonstrates the symptom?
If there's a more VMSish mechanism that achieves the same goal, you'd be better off using it. If you're trying to achieve a timeout, maybe an AST routine which calls FDV$CANCEL?
Can you write a small program that demonstrates the symptom?
A crucible of informative mistakes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2006 07:25 AM
тАО08-10-2006 07:25 AM
Re: Form level functions blocking kernel signals?
Would it help if I posted the FMS functions in the order that they are called, up to the point of the FDV_GET? (I can't post the source since it is too big - about 310 different files, and copyrighted)
I remeber reading something about ASTs in the DEC FMS manuals, but the index isn't very complete - Is there a way to disable the ASTs, or is there a particular function that initializes them?
The other major difference in the applications is that the app that I can use signals in has no scroll areas, rolodex boxes, different size fonts, etc - it is just plain text. The other app where the signals are working looks like a typical green screen app (scroll areas, forms with multiple font sizes on the same page, rolodex fields, etc )
Thanks,
Michael
I remeber reading something about ASTs in the DEC FMS manuals, but the index isn't very complete - Is there a way to disable the ASTs, or is there a particular function that initializes them?
The other major difference in the applications is that the app that I can use signals in has no scroll areas, rolodex boxes, different size fonts, etc - it is just plain text. The other app where the signals are working looks like a typical green screen app (scroll areas, forms with multiple font sizes on the same page, rolodex fields, etc )
Thanks,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2006 10:26 AM
тАО08-10-2006 10:26 AM
Re: Form level functions blocking kernel signals?
Michael,
> Would it help if I posted the FMS
>functions in the order that they are
>called, up to the point of the FDV_GET?
Best bet would be to try and create a small reproducer based on the sequence of FMS calls.
>Is there a way to disable the ASTs,
Sure, SYS$SETAST 0 for OFF 1 for ON, BUT you really don't want to do that! ASTs are what make FMS (and, indeeed, OpenVMS) work! I guess that SYS$SETAST(0) almost anywhere in your program would guarantee that it didn't work at all.
The issue is that if you're going to use software layers that depend on ASTs, (like FMS) it's sometimes better to avoid Unixisms like SIGALRM. In a sense, ASTs and signals are trying to do similar types of things but may conflict with each other. Look at what you're attempting to use the SIGALRM for, and see if there's a native OpenVMS mechanism for doing the same thing.
> Would it help if I posted the FMS
>functions in the order that they are
>called, up to the point of the FDV_GET?
Best bet would be to try and create a small reproducer based on the sequence of FMS calls.
>Is there a way to disable the ASTs,
Sure, SYS$SETAST 0 for OFF 1 for ON, BUT you really don't want to do that! ASTs are what make FMS (and, indeeed, OpenVMS) work! I guess that SYS$SETAST(0) almost anywhere in your program would guarantee that it didn't work at all.
The issue is that if you're going to use software layers that depend on ASTs, (like FMS) it's sometimes better to avoid Unixisms like SIGALRM. In a sense, ASTs and signals are trying to do similar types of things but may conflict with each other. Look at what you're attempting to use the SIGALRM for, and see if there's a native OpenVMS mechanism for doing the same thing.
A crucible of informative mistakes
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP