IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Lock mainframe files


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
selvaframe

New User


Joined: 07 Jun 2005
Posts: 3

PostPosted: Fri Aug 27, 2010 11:45 am
Reply with 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.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Fri Aug 27, 2010 11:47 am
Reply with quote

Not deleting takes space too.
Protect from what ? Disk crashes?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri Aug 27, 2010 12:26 pm
Reply with quote

Depends on what method you are using for backups.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Aug 27, 2010 4:56 pm
Reply with quote

And it depends upon what you mean by "protect" -- especially if you plan on deleting the files.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Aug 27, 2010 7:37 pm
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Sat Aug 28, 2010 2:33 am
Reply with quote

I'm afraid that this thread has nothing to do with "password protected datasets"!?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sat Aug 28, 2010 2:56 am
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Sat Aug 28, 2010 12:52 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Sat Aug 28, 2010 12:59 pm
Reply with quote

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 icon_biggrin.gif
Back to top
View user's profile Send private message
selvaframe

New User


Joined: 07 Jun 2005
Posts: 3

PostPosted: Mon Aug 30, 2010 6:13 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Aug 30, 2010 6:14 pm
Reply with quote

What is the reason for wanting to "lock" these files.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Mon Aug 30, 2010 6:16 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Mon Aug 30, 2010 6:21 pm
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon Aug 30, 2010 7:01 pm
Reply with quote

@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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Mon Aug 30, 2010 7:05 pm
Reply with quote

anyway looks like this topic is drifting toward utter stupidity icon_biggrin.gif
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Aug 30, 2010 7:33 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Mainframe openings in Techmahnidra fo... Mainframe Jobs 0
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Lock Escalation DB2 3
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
Search our Forums:

Back to Top