On Fri, 2 Jul 2010 13:41:44 -0500, Jeff Holst <[email protected]> wrote:

>Reading this thread, and Mark's link to the DFSMS advanced functions manual,
>it seems that it is necessary to code a program using the CAMLST macro to
>do renames of datasets that are enqueued, and that it must be executed
>access to the appropriate resource. Correct?
>
>Would I be correct in thinking that IBM has not supplied a utility that does
>this?
>

Hi Jeff,

It's mentioned in the doc I posted in one paragraph:  "PDF".   IBM has written
a utility - ISPF/PDF.    The thing is, this has never been documented in the
ISPF manuals nor ISPF help that I know of.  

If you attempt rename a data set that is ENQed / "in use" from an ISPF
3.4 volser list (not a catalog list) and have the proper RACF authority, you
see this message:

DATA SET NAME IS IN USE BUT YOU HAVE AUTHORITY TO OVERRIDE THIS TEST ***

Then when you hit enter, you get confirmation panel like this:

                           Rename Data Set In Use                          
 Command ===>                                                              
                                                                           
 Data Set Name . : some_data_set_name                                      
 Volume  . . . . : vvvvvv                                                  
                                                                           
   The system detected that a data set with the above name is in use       
   (possibly on another system) but it cannot determine whether it is the  
   data set you wish to rename. If it is the same data set and any program 
   has it open, renaming it could cause serious system and data integrity  
   problems.                                                               
                                                                           
   You have the extra security authority to rename the data set even though
   its name is in use. Refer to the DFSMS documentation on the RENAME macro
   for further information.                                                
                                                                           
 Instructions:                                                             
   Press ENTER to override data set name protection and rename the data    
   set.                                                                    
   Enter CANCEL or EXIT to cancel the rename request.                      


Mark
--
Mark Zelden - Zelden Consulting Services - z/OS, OS/390 and MVS       
mailto:[email protected]                                          
Mark's MVS Utilities: http://home.flash.net/~mzelden/mvsutil.html 
Systems Programming expert at http://expertanswercenter.techtarget.com/

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to