Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to detect a locked user catalog

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Ron Bakker NL

New User


Joined: 28 Jan 2013
Posts: 4
Location: Netherlands

PostPosted: Tue Jul 08, 2014 7:18 pm    Post subject: How to detect a locked user catalog
Reply with quote

For recovery purposes on user catalogs, you have to lock it using IDCAMS command: ALTER <USERCAT.NAME> LOCK.

Question is how can you find out that a catalog is locked or not.

I know, I can make use a user without read permission on IGG.CATLOCK, access the catalog with it and see if it hurts, but wouldn't it be nice to have a (idcams) command that will provide me this information.
Anyone come across this?

Kind Regards
Ron
Back to top
View user's profile Send private message

PeterHolland

Global Moderator


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

PostPosted: Wed Jul 09, 2014 10:57 am    Post subject:
Reply with quote

Operator command :

MODIFY CATALOG,ALLOCATED


see : DFSMS Managing Catalogs
Back to top
View user's profile Send private message
Ron Bakker NL

New User


Joined: 28 Jan 2013
Posts: 4
Location: Netherlands

PostPosted: Wed Jul 09, 2014 5:14 pm    Post subject:
Reply with quote

Guess I was hung up too much in idcams commands, and other searches on locked catalogs didn't bring me there. tnx Peter!
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORT - E15 and E35 using same user ex... Abhi Nature DFSORT/ICETOOL 12 Mon Oct 03, 2016 4:33 pm
No new posts Command UNIQUE CONSTRAINT on any tabl... rohanthengal DB2 2 Thu Aug 18, 2016 3:48 pm
No new posts User exit in COBOL programs ganasrinivasan PL/I & Assembler 0 Thu Aug 18, 2016 12:48 pm
No new posts Data set is allocated to another job ... Seppe CLIST & REXX 2 Wed Aug 03, 2016 4:31 pm
No new posts How to detect file creation event? vasanthz All Other Mainframe Topics 5 Fri May 20, 2016 1:33 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us