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

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

New User


Joined: 28 Jan 2020
Posts: 31
Location: India

PostPosted: Tue Feb 25, 2020 10:42 am    Post subject: ACS routines
Reply with quote

Hello Experts,

Many of our shops have many GDGs getting allocated each day, and each of those GDGs will be getting allocated by same job (and in the same system), and going through same set of ACS routines to get SMS constructs assigned. Since ACS routines don't get changed often, constructs assigned to those new GDGs will be same everyday. My question is "Is there a way to specify SMS constructs, for these GDGs, in JCL, and tell SMS to skip ACS routine processing by simply honoring the constructs specified in the JCL?".

ACS routine processing could involve some overhead like below, and I would like to know if there is a way to avoid it for same repetitive allocations,

1. Allocate Storage for various ACS related control blocks, and build them.
2. Allocate storage for ACS routine object code, and copy the active ACS object code from SMS address space.
Back to top
View user's profile Send private message

Joerg.Findeisen

Active User


Joined: 15 Aug 2015
Posts: 250
Location: Bamberg, Germany

PostPosted: Tue Feb 25, 2020 10:46 am    Post subject:
Reply with quote

The ACS routines are called anyway. You can put a clause in there to leave early but that changes nothing. I assume your routines are grown in a certain way?
Back to top
View user's profile Send private message
Apoorva

New User


Joined: 28 Jan 2020
Posts: 31
Location: India

PostPosted: Tue Feb 25, 2020 10:53 am    Post subject:
Reply with quote

Thanks for the reply!
"You can put a clause in there to leave early but that changes nothing"
Could you please elaborate more on this?
Back to top
View user's profile Send private message
Joerg.Findeisen

Active User


Joined: 15 Aug 2015
Posts: 250
Location: Bamberg, Germany

PostPosted: Tue Feb 25, 2020 11:06 am    Post subject:
Reply with quote

First check if the input is valid (see for MCLS):

Code:
/**********************************************************************/
/* CHECK FOR VALID MC                                                 */
/**********************************************************************/
IF (&MGMTCLAS ^= &VALID_MC) THEN                                       
  SET &MGMTCLAS = ''                                                   


next assign what has been specified via JCL etc.
Code:
/**********************************************************************/
/* IF MANAGEMENT CLASS EXISTS, THEN ASSIGN IT                         */
/**********************************************************************/
  WHEN (&MGMTCLAS ^='')                                                 
    SET &MGMTCLAS = &MGMTCLAS                                           
Back to top
View user's profile Send private message
Apoorva

New User


Joined: 28 Jan 2020
Posts: 31
Location: India

PostPosted: Tue Feb 25, 2020 11:12 am    Post subject:
Reply with quote

oh ok! I see your point now which is to let ACS routine handle it. But ACS routines get called anyway, and this can't avoid the overhead that I highlighted earlier,

1. Allocate virtual Storage for various ACS related control blocks, and build them.
2. Allocate virtual storage for ACS routine object code, and copy the active ACS object code from SMS address space.
Back to top
View user's profile Send private message
Joerg.Findeisen

Active User


Joined: 15 Aug 2015
Posts: 250
Location: Bamberg, Germany

PostPosted: Tue Feb 25, 2020 11:28 am    Post subject:
Reply with quote

Optimize the ACS to save some storage. It's the only conclusion I can see.
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 ACS Routines Management class issue upendrasri All Other Mainframe Topics 5 Mon Jan 28, 2019 4:51 am
No new posts Using multiple routines at exit 6 in ... Randy Horowitz All Other Mainframe Topics 2 Sat Feb 10, 2018 11:57 pm
No new posts &MAXSIZE parameter value calculat... vini m JCL & VSAM 12 Thu Feb 20, 2014 5:02 pm
No new posts ACS-routines and absent RACF-profiles Willem Vermeer JCL & VSAM 4 Thu Oct 13, 2011 2:16 pm
No new posts Exit routines in ICETOOL dhanasugumar DFSORT/ICETOOL 10 Thu Apr 08, 2010 6:36 pm

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