View previous topic :: View next topic
|
Author |
Message |
selvaframe
New User
Joined: 07 Jun 2005 Posts: 3
|
|
|
|
I have a nearly 5000 + files to delete from mainframe.
Taking backup for safety consume time and space.
Is there any way to protect the file in mainframes. |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Not deleting takes space too.
Protect from what ? Disk crashes? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Depends on what method you are using for backups. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
And it depends upon what you mean by "protect" -- especially if you plan on deleting the files. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
Is there any way to protect the file in mainframes. |
Once upon a time i was part of a meeting where this was a concern and one of my co-workers (with a completely straight face) suggested the data that needed to be protected be placed in "write only" files - which would prevent reading them.
A few of the big suits did not realize it was a joke and when this was realized, they were not happy. . .
But - back to the topic - it is not clear exactly what is wanted/needed. Please clarify the requirement and maybe show a couple of dataset names, where they currently reside, and what is to happen with them. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
I'm afraid that this thread has nothing to do with "password protected datasets"!? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hi Anuj,
Quote: |
I'm afraid that this thread has nothing to do with "password protected datasets"!? |
And why are you fearful?
d |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Anuj Dhawan wrote: |
I'm afraid that this thread has nothing to do with "password protected datasets"!? |
And why did you think that it did ? |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
Quote: |
I have a nearly 5000 + files to delete from mainframe.
Taking backup for safety consume time and space.
Is there any way to protect the file in mainframes. |
just take a decision about what You want to do
1 - delete them
2 - take a backup
3 - take a backup and delete them
4 - protect them ( define properly who can do what )
the issues are unrelated
apart number 3 which is 2 followed by 1
Quote: |
I'm afraid that this thread has nothing to do with "password protected datasets"!? |
You should be glad, that the password stupidity has nothing to do with the issue |
|
Back to top |
|
|
selvaframe
New User
Joined: 07 Jun 2005 Posts: 3
|
|
|
|
To be in detail :- The files should be physically present but kind of locked. For example When some job try to access it should fail read or write. I know that we can acheive this RACF but setting RACF for 5K files again a lengthy process.
So, How can i acheive the above ....is there any facility in mainframes.
Thanks for all your responces in this regards. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
What is the reason for wanting to "lock" these files. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
If the files share the same high level qualifiers, you can restrict access with as little as one RACF command -- hardly a major effort!
If you have a list of the files, you can use that list to create the RACF commands and have them protected individually -- maybe half a day effort, at most, if you have the initial list of files.
Using your security package to prevent access to data sets is by far the preferred method. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
Quote: |
I know that we can acheive this RACF but setting RACF for 5K files again a lengthy process. |
if You have no other way than You will have to go ...
the long and windy road
but in order not to waste anybody' time it would be better for You to learn to express Yourself in a clearer way
until You tell something more about the dsname patterns very little can be done to help You |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
@Dick and expat - Because most of the times when my juniors came to me saying "lock the files" they actually meant them "to be password protected"! |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
anyway looks like this topic is drifting toward utter stupidity |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Looks like what happens when people with only a Win-based awareness try to do "real" systems management. . .
To have 5k files that need this protection might be common but for them not to be in a common hlq hierarchy is surely questionable. . .
imho,
d |
|
Back to top |
|
|
|