- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Setting File Attributes on a Remote Node
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
тАО10-05-2006 05:33 AM
тАО10-05-2006 05:33 AM
I pose a question for you. I have a command procedure that copies a series of files from Node A to Node B. Once the files get copied to Node B, I would like the command procedure to set the file attributes to /NOBACKUP on those files. I do not want the attributes for the files on NODE A set to /NOBACKUP, so they must stay as is.
Is there an easy way to do this?
Thank you all,
-k
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2006 05:57 AM
тАО10-05-2006 05:57 AM
Re: Setting File Attributes on a Remote Node
using DECnet, you've probably noticed that
you can't use SET FILE /NOBACKUP on a
DECnet-remote file:
alp $ set file /nobackup alp::a_b.c
%SET-E-OPENIN, error opening ALP::ALP$DKA0:[SMS]A_B.C;1 as input
-SYSTEM-E-UNSUPPORTED, unsupported operation or function
A process running on the remote system can do
it. This can be arranged using a DECnet
remote task, or an IP "r" command (like
"rsh"), and probably some other (more exotic)
ways.
If the systems were clustered and the
destination disk were mounted locally, then
the problem would vanish, of course.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2006 07:07 AM
тАО10-05-2006 07:07 AM
Solution$! NOBACKUP.COM
$ goto 'f$mode()'
$INTERACTIVE:
$BATCH:
$OTHER:
$ if p1 .eqs. "" then exit 852 ! %SYSTEM-F-IVMODE
$! open/read/write net swda"user password"::"task=nobackup" ! no proxy
$ open/read/write net nodeb::"task=nobackup" ! using proxy
$ write net p1
$ read net p1
$ close net
$ exit 'p1'
$ exit
$NETWORK:
$ open/read/write net sys$net
$ read net p1
$ set file/noback 'p1'
$ write net $status
$ close net
$ exit 1
Then just
$ @nobackup file.dat
or
$ @nobackup *.dat;*
etc...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2006 03:25 PM
тАО10-05-2006 03:25 PM
Re: Setting File Attributes on a Remote Node
> $ exit
Some might call that overkill.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2006 11:59 PM
тАО10-05-2006 11:59 PM
Re: Setting File Attributes on a Remote Node
And, I'd be one of them. How did that get in there? Someone sure did a poor cut and paste job while writing this...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-01-2006 06:39 AM
тАО11-01-2006 06:39 AM