Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Lock mainframe files

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: Lock mainframe files
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: 2464
Location: Netherlands, Amstelveen

PostPosted: Fri Aug 27, 2010 11:47 am    Post subject:
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: 8735
Location: Welsh Wales

PostPosted: Fri Aug 27, 2010 12:26 pm    Post subject:
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: 8406
Location: Dubuque, Iowa, USA

PostPosted: Fri Aug 27, 2010 4:56 pm    Post subject:
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

Site Director


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

PostPosted: Fri Aug 27, 2010 7:37 pm    Post subject:
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

Senior Member


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

PostPosted: Sat Aug 28, 2010 2:33 am    Post subject:
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

Site Director


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

PostPosted: Sat Aug 28, 2010 2:56 am    Post subject: Reply to: Lock mainframe files
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: 8735
Location: Welsh Wales

PostPosted: Sat Aug 28, 2010 12:52 pm    Post subject:
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

Senior Member


Joined: 14 Mar 2007
Posts: 10535
Location: italy

PostPosted: Sat Aug 28, 2010 12:59 pm    Post subject: Reply to: Lock mainframe files
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    Post subject: Query in detail
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: 8735
Location: Welsh Wales

PostPosted: Mon Aug 30, 2010 6:14 pm    Post subject:
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: 8406
Location: Dubuque, Iowa, USA

PostPosted: Mon Aug 30, 2010 6:16 pm    Post subject:
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

Senior Member


Joined: 14 Mar 2007
Posts: 10535
Location: italy

PostPosted: Mon Aug 30, 2010 6:21 pm    Post subject: Reply to: Lock mainframe files
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

Senior Member


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

PostPosted: Mon Aug 30, 2010 7:01 pm    Post subject:
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

Senior Member


Joined: 14 Mar 2007
Posts: 10535
Location: italy

PostPosted: Mon Aug 30, 2010 7:05 pm    Post subject: Reply to: Lock mainframe files
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

Site Director


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

PostPosted: Mon Aug 30, 2010 7:33 pm    Post subject: Reply to: Lock mainframe files
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SFTP connection to Mainframe Shinoj Vijayakumar TSO/ISPF 4 Thu Nov 15, 2018 2:02 pm
No new posts Mainframe + Card domain exp. req. 5-6... capricorn Mainframe Jobs 0 Wed Oct 24, 2018 5:10 pm
No new posts 3-6 years - Mainframe Opennings in HS... Saikat Sengupta Mainframe Jobs 0 Mon Oct 22, 2018 2:57 pm
No new posts Ideas to motivate mainframe team mc77in All Other Mainframe Topics 6 Wed Oct 10, 2018 4:59 pm
No new posts Anyone know how to copy Unix files? John Poulakos JCL & VSAM 7 Wed Oct 10, 2018 12:57 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us