- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: f$verify(0) from a program
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
тАО12-17-2008 03:19 AM
тАО12-17-2008 03:19 AM
we want to do something like this (using fortran):
rtc = lib$spawn('dcl_proc',,mbxname,CLI$M_NOWAIT,,pid)
where mbxname represents a mailbox. This works fine, but with VERIFY on in the caller's environment, we get all the DCL of 'dcl_proc' in the mailbox. With SET NOVERIFY as the first line of 'dcl_proc' we still see that line in the mailbox.
How can we disable the caller's verify flag before calling lib$spawn and set it back to its original value after lib$spawn has completed. ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2008 03:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2008 03:50 AM
тАО12-17-2008 03:50 AM
Re: f$verify(0) from a program
But we have to insert this as the first line in every procedure that will be traeted this way.
Is there a solution that can be implemented in the function which calls lib$spawn ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2008 03:54 AM
тАО12-17-2008 03:54 AM
Re: f$verify(0) from a program
$ tmp='f$verify(tmp)'
as the last statement. Or it will stay off.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2008 04:16 AM
тАО12-17-2008 04:16 AM
Re: f$verify(0) from a program
You could write some routine, which goes into supervisor mode to implement this...
But how about some intermediate DCL-procedure, which handles the verify flags and then calls the desired DCL-procedure, specified as a parameter like:
rtc = lib$spawn('new_proc dcl_proc',,mbxname,CLI$M_NOWAIT,,pid)
new_proc could then turn off verify, call dcl_proc, reset verify and exit.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2008 04:25 AM
тАО12-17-2008 04:25 AM
Re: f$verify(0) from a program
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2008 04:36 AM
тАО12-17-2008 04:36 AM
Re: f$verify(0) from a program
>But you can do a spawn with f$verify as
>command to change it (e.g. at startup of
>the program).
this would not turn off SET VERIFY in the main process, only in the sub-process, which would then exit immediately.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2008 05:01 AM
тАО12-17-2008 05:01 AM
Re: f$verify(0) from a program
Send the 'f$verify'() first, then (probably!) send an $define sys$input sys$command, then feed it the @'file'?
Just a thought...
Or bulk-edit those command files already.
No big deal, possibly less work than reading these replies.
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2008 05:26 AM
тАО12-17-2008 05:26 AM
Re: f$verify(0) from a program
I think we will 'Bulk edit' the procedures and give Hein's idea a try.
Thank you very much.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2008 05:36 AM
тАО12-17-2008 05:36 AM
Re: f$verify(0) from a program
But you can pass @x y
and do the F$ver in x.com and then do @y in x.com
fwiw
Wim