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
 
IEHPROGM ENQUEUE OVERRIDE

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

New User


Joined: 24 Apr 2018
Posts: 9
Location: USA

PostPosted: Fri May 11, 2018 8:56 pm    Post subject: IEHPROGM ENQUEUE OVERRIDE
Reply with quote

I am trying to rename many datasets on SYSRES volume so that I can delete them. The datasets are enqueued as they are being used by another SYSRES volume for the active operating system. I am given the ability to override the enqueue when I rename them in ISPF. But I can't do this using IEHPROGM in batch. Does anyone know how to do this, I think there was a way but I have forgotten. icon_biggrin.gif Thanks. Martin
Back to top
View user's profile Send private message

enrico-sorichetti

Senior Member


Joined: 14 Mar 2007
Posts: 10487
Location: italy

PostPosted: Fri May 11, 2018 9:15 pm    Post subject: Reply to: IEHPROGM ENQUEUE OVERRIDE
Reply with quote

look at BYPASSNQ
available here
http://www.gsf-soft.com/Freeware/
Back to top
View user's profile Send private message
nevilh

Active User


Joined: 01 Sep 2006
Posts: 262

PostPosted: Tue May 22, 2018 7:01 pm    Post subject: Reply to: IEHPROGM ENQUEUE OVERRIDE
Reply with quote

The best way to do this is via a RACF Profile.

In general, you cannot rename a data set whose name is the same as any data set that is allocated to another address space in the same system or in the scope of the SYSDSN enqueue. The system bypasses this restriction if all of the following are true:
•Your program sets on a certain bit in the CAMLST macro expansion. You can code this instruction: OI listname+2,X'10'.
•You have at least read authority to the RACF® facility class named STGADMIN.DPDSRN.olddsname, where olddsname is up to 23 characters of the existing data set name. You can use a generic class name such as STGADMIN.DPDSRN.SYS2.*. IBM® recommends that no one have authority to STGADMIN.DPDSRN.* because it is too broad.
•The data set is not SMS-managed.

If you cannot do this IBM used to supply a modified Version of IEHPROGM called SYSIEH that would do this.
Back to top
View user's profile Send private message
Martin Wickenden

New User


Joined: 24 Apr 2018
Posts: 9
Location: USA

PostPosted: Tue May 22, 2018 7:24 pm    Post subject:
Reply with quote

Thanks very much for your assistance with this, I am all set now, Marty icon_biggrin.gif
Back to top
View user's profile Send private message
steve-myers

Active Member


Joined: 30 Nov 2013
Posts: 647
Location: The Universe

PostPosted: Wed May 23, 2018 4:55 am    Post subject: Re: Reply to: IEHPROGM ENQUEUE OVERRIDE
Reply with quote

nevilh wrote:
The best way to do this is via a RACF Profile.
What profile?
nevilh wrote:
The system bypasses this restriction if all of the following are true:
•Your program sets on a certain bit in the CAMLST macro expansion. You can code this instruction: OI listname+2,X'10'.
•You have at least read authority to the RACF® facility class named STGADMIN.DPDSRN.olddsname, where olddsname is up to 23 characters of the existing data set name. You can use a generic class name such as STGADMIN.DPDSRN.SYS2.*. IBM® recommends that no one have authority to STGADMIN.DPDSRN.* because it is too broad.
•The data set is not SMS-managed.
This is documented in DFSMS Advanced Services. The only problem is most of us are not Assembler programmers. By the way DFSMS Advanced Services offers a viable alternative, though you still need the STGADMIN profile, though it is buried deep in the manual.
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 Can DFSPARM override SORTKEYS paramet... ashek15 DB2 2 Tue Jan 31, 2017 11:36 pm
No new posts Compiler option for override the exte... muralikrishnan_new COBOL Programming 9 Fri Jul 08, 2016 12:09 pm
No new posts Symbolic OverRide within a 'Include' ... Sysaron JCL & VSAM 7 Thu Aug 27, 2015 10:51 pm
No new posts IEHPROGM - HOW TO RENAME A PDS ? WagnerBil IBM Tools 7 Wed Aug 12, 2015 6:08 pm
No new posts Help in File Tailoring services ( Ove... thesumitk TSO/ISPF 8 Wed Jun 17, 2015 12:04 pm

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