- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Changing OpenVMS file protection in FORTRAN
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
тАО03-26-2007 07:35 AM
тАО03-26-2007 07:35 AM
I am not very familiar with calling systems services but I would like to be able to check and change a files protection and/or acl settings from FORTRAN.
Any pointers that will help to get this done will be greatly appreciated
Thanks
Richard
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2007 08:10 AM
тАО03-26-2007 08:10 AM
Re: Changing OpenVMS file protection in FORTRAN
my quick & dirty suggestion would be to SPAWN a little DCL procedure to do it, but if that is possible/feasable/desirable in your specific situation?
Just too little info....
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2007 08:18 AM
тАО03-26-2007 08:18 AM
Re: Changing OpenVMS file protection in FORTRAN
He is hoping to not do a spawn because he wants to be able to check the outcome and status of the commands after each one.
He is trying to read some information from a database and based on various settings he needs to apply or remove protections from particular VMS files.
I asked if he could use a DCL script to call a fortran program to check the database but he was not happy with that either. I was not sure if there was a system service or library routine for this. I did not see one.
I hope this is enough.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2007 08:44 AM
тАО03-26-2007 08:44 AM
Re: Changing OpenVMS file protection in FORTRAN
http://h71000.www7.hp.com/doc/731FINAL/4523/4523PRO.HTML
RMS routines are callable from any language.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2007 08:58 AM
тАО03-26-2007 08:58 AM
SolutionSome related examples in C:
http://vmsone.com/~decuslib/vmssig/vmslt02a/vu/create-ace-from-prog-src.txt
And an example from the support database in Fortran:
http://h18000.www1.hp.com/support/asktima/appl_tools/CHAMP_SRC941118003877.html
This call transparently connects into the RMS and other underlying calls as described by Hein, depending on the particular object target.
Stephen Hoffman
HoffmanLabs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2007 09:24 AM
тАО03-26-2007 09:24 AM
Re: Changing OpenVMS file protection in FORTRAN
my bad.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2007 12:25 PM
тАО03-26-2007 12:25 PM
Re: Changing OpenVMS file protection in FORTRAN
in the Info-ZIP UnZip code ("[.vms]vms.c" in
practically any version). Sorting out the
parts you need may be harder than writing
everything yourself, but you might get some
useful hints from it.
http://www.info-zip.org/
http://www.info-zip.org/UnZip.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2007 01:32 AM
тАО03-27-2007 01:32 AM
Re: Changing OpenVMS file protection in FORTRAN
Thanks very much for all the suggestions.
I was not able to access the FORTRAN link that was provided.
I'll be going over these with my colleague today.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2007 02:00 AM
тАО03-27-2007 02:00 AM
Re: Changing OpenVMS file protection in FORTRAN
sys$set_security fortran
You should get two hits.
Here's the full text of the first hit:
Example-FORTRAN How To Add An ACE Using SYS$SET_SECURITY
... Example-FORTRAN How To Add An ACE Using SYS$SET_SECURITY buy online or call 1.800.AT.COMPAQ ...
http://search.hp.com/redirect.html?url=http%3A//h18000.www1.hp.com/support/asktima/appl_tools/CHAMP_SRC941118003877.html&qt=%2Bsys%24+%2Bset_security+%2Bfortran+&hit=1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2007 02:23 AM
тАО03-27-2007 02:23 AM