MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Can APF Authoized module call non-APF authorize module

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Other Technical Topics
View previous topic :: View next topic  
Author Message
amit4u79
Beginner


Joined: 24 Oct 2005
Posts: 109
Topics: 36
Location: India

PostPosted: Wed Jul 11, 2007 5:19 am    Post subject: Can APF Authoized module call non-APF authorize module Reply with quote

I know a non-APF authorized module cant call a APF-auth module which does processing requires APF authorization.

The caller load also needs to be in APF Auth lib for same.

But can a APF authorized module call a non-APF auth module.
I think it can but want to make sure. I hope there will not be any KEY issues.
_________________
I did not fail; I have found 10,000 ways that would not work - Albert Einstein.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Wed Jul 11, 2007 7:41 am    Post subject: Why run a non-APF module in an APF authorized task? Reply with quote

according to this link no, but that is assuming your site has implemented APF according to the book. Topic 21.3.1 (next page of link above) goes into what should be done to insure a non-APF authorized module is not called.

Why don't you try it? It says in the NOTE at the bottom of the page, this kind of thing should result in a 306 abend.

anyway, the link I provided should provide enough guidance for you. If not, check out the library server and do a search on authorized program facility - it is mentioned in about 79 shelves.
_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
amit4u79
Beginner


Joined: 24 Oct 2005
Posts: 109
Topics: 36
Location: India

PostPosted: Wed Jul 11, 2007 11:22 am    Post subject: Reply with quote

Hi Dick,
Thank you very much for the link. I understood the whole APF thing now. I can not try coding it because i was planning to modify a exit routine for TWS OPCA. My exit routine must call a another routine B which may be in LLA but not in APF.
My manager is not considering making the module B APF authorize as it will be tedious process to justify and get necessary approvals from higher level.

According to the link my routine B should follow all the rules. Thanks a lot...

I have another quick question to you...
If i can make my routine B APF Auth, then can I XCTL it from the exit routine? and if i XCTL it, where my routine B brach to after completion?.. Weird question I guess.

Basically, i want to return back control to the caller ASAP without much processing in exit. And in the meantime I want my routine B to do all the processing for me.

We have a heavy workload in OPCA here, so definitely this exit will be called no of times. So performance needs to be considered.

I will appreciate if u could guide me and suggest to get out of this.

Regards,
Dinesh
_________________
I did not fail; I have found 10,000 ways that would not work - Albert Einstein.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Bill Dennis
Advanced


Joined: 03 Dec 2002
Posts: 579
Topics: 1
Location: Iowa, USA

PostPosted: Wed Jul 11, 2007 1:50 pm    Post subject: Reply with quote

Do you want control returned to "A" right away while "B" goes about doing the work?

We do a similar "asynchronous" thing using MQSeries. A msg is queued by "A" and it ends. The msg triggers "B" to run PIF and add Applications to the plan.
_________________
Regards,
Bill Dennis

Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity.
Back to top
View user's profile Send private message
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Wed Jul 11, 2007 1:51 pm    Post subject: Reply with quote

couple things.

1. Here is a link to a PDF called, interestingly enough, IBM Tivoli Workload Scheduler for z/OS Best Practices (SG24-7156-01 - IBM Tivoli Workload Scheduler for z/OS Version 8.2.) It is 8.+ mg, so it takes time to load. If you don't have it, suggest that you download it to your library.

There are a lot of other REDBOOKS about Tivoli, (check out this site), suggest you read them if you have not already. If your shop does not have them, share them with your co-workers. REDBOOKS contain stuff that you will never find in the documentation- I just did a search on REDBOOKS about Tivoli, 365 hits..... There are links to 'JUST PUBLISHED', .....

2. This is not TWS related, but if your mainframe is being pinched for cycles here is something I picked up a few days ago:
Quote:
In CICS TS 3.2 there's a great deal more capability to categorize the program 'threadsafe'. IBM said (at the IMPACT 2007 conference) that making an application threadsafe can save 4-5 % of CPU by staying on the Open TCB.


3. TWS is sooooo site dependent, I am going to only refer you to the manuals. I am an Applications-development-team-project-leader. I only get into the system stuff when the site is not capable of supporting my requirements (read that as solving my problems! Mr. Green )
_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
amit4u79
Beginner


Joined: 24 Oct 2005
Posts: 109
Topics: 36
Location: India

PostPosted: Wed Jul 11, 2007 11:20 pm    Post subject: Reply with quote

Thanks Dick,
I am going through the docs.

Bill,
Thanks for your suggestion. I am going to explore option suggested by you.


Regards,
Dinesh
_________________
I did not fail; I have found 10,000 ways that would not work - Albert Einstein.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Other Technical Topics All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group