HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Need help regarding AST.
Operating System - OpenVMS
1827855
Members
1621
Online
109969
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
Forums
Discussions
Discussions
Discussions
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
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

Not applicable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2008 02:17 AM
04-11-2008 02:17 AM
Need help regarding AST.
Hi,
I require some help regarding AST.
I need to trigger AST without waiting for any event flag to set. For this I make use of $SETIMR giving 0 sec. as the argument but there is one drawback for this system call we can not provide provide the arguments to the AST which we want to trigger.
Could any one help me to know how can we trigger an AST in between the normal code flow (same as function call) and we also require to pass the arguments to the triggered AST.
Regards,
ajaydec
I require some help regarding AST.
I need to trigger AST without waiting for any event flag to set. For this I make use of $SETIMR giving 0 sec. as the argument but there is one drawback for this system call we can not provide provide the arguments to the AST which we want to trigger.
Could any one help me to know how can we trigger an AST in between the normal code flow (same as function call) and we also require to pass the arguments to the triggered AST.
Regards,
ajaydec
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2008 03:19 AM
04-11-2008 03:19 AM
Re: Need help regarding AST.
Use th esystm service $DCLAST : Declare AST.
You have 1 Ast Parameter : ASTPRM
That astprm can be a pointer to a structure with more argument or an index into a table or an encoded name, or a (short) piece of string to help the ast routine decode what to do next, and where to find the data.
Regards,
Hein.
You have 1 Ast Parameter : ASTPRM
That astprm can be a pointer to a structure with more argument or an index into a table or an encoded name, or a (short) piece of string to help the ast routine decode what to do next, and where to find the data.
Regards,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2008 02:43 PM
04-11-2008 02:43 PM
Re: Need help regarding AST.
ASTs are not related to event flags.
These two synchronization mechanisms can be seen used together and there are some sequencing rules around delivery (if and when specified, the the EF is always set and the IOSB is always filled in before the AST is delivered), but the two constructs are basically unrelated.
Here's a write-up:
http://64.223.189.234/node/617
The article has a code example of calling the sys$$dclast system service to trigger an AST, in addition to introductory material (and caveats) around ASTs and AST programming.
In particular, any data shared between the mainline and the AST must be accessed with some care.
These two synchronization mechanisms can be seen used together and there are some sequencing rules around delivery (if and when specified, the the EF is always set and the IOSB is always filled in before the AST is delivered), but the two constructs are basically unrelated.
Here's a write-up:
http://64.223.189.234/node/617
The article has a code example of calling the sys$$dclast system service to trigger an AST, in addition to introductory material (and caveats) around ASTs and AST programming.
In particular, any data shared between the mainline and the AST must be accessed with some care.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2008 09:22 AM
04-13-2008 09:22 AM
Re: Need help regarding AST.
ajaydec,
As has been observed, the correct (most clear, and least effort) way to force an AST to occur is through the use of $DCLAST. The $DCLAST call does include an additional parameter that is passed through to the AST routine (which is also available in the $SETIMR case, although I seem to recall that it is labeled as "Timer ID").
I can recommend my presentation "Introduction to AST Programming" (notes available via http://www.rlgsc.com/decus/usf95/index.html ; I am in the midst of a long term overhaul of my site's structure, so the index page is the most reliable citation) from the Fall 1995 US DECUS Symposium.
- Bob Gezelter, http://www.rlgsc.com
As has been observed, the correct (most clear, and least effort) way to force an AST to occur is through the use of $DCLAST. The $DCLAST call does include an additional parameter that is passed through to the AST routine (which is also available in the $SETIMR case, although I seem to recall that it is labeled as "Timer ID").
I can recommend my presentation "Introduction to AST Programming" (notes available via http://www.rlgsc.com/decus/usf95/index.html ; I am in the midst of a long term overhaul of my site's structure, so the index page is the most reliable citation) from the Fall 1995 US DECUS Symposium.
- Bob Gezelter, http://www.rlgsc.com
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
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP