Question

  Asked: Mar 31 2008   8:43 PM GMT
  Asked by: Lovemyi


Using Adopt Authority on a menu system that transfers to another job


AS/400, AS/400 security, iSeries, iSeries applications, WRKACT

I have a system with an old menu system that transfers the interactive job to another job. When you look at WRKACTJOB and see a + next to the interactive job, there are other jobs below this from the menu system. Does Adopt authority above the menu system follow down to the transferred jobs and if not, how can I change it to adopt authority from above. All the programs are set to use the adopted authority from the programs above it.

Subscribe to Alerts! Get questions and answers delivered to your Inbox.


E-mail me updates on this question



   SUBSCRIBE

hidden modal window

Answer Wiki (Improve, edit or add to this answer)


 RATE THIS ANSWER
+1
Click to Vote:
  •   1
  •  0




Hi,

If you have + signs next to the jobs in WRKACTJOB then your menu system is starting group jobs. You will probably need to change the adopted authority on the group job initial program. You can find this in the source (if you have it) - look for the commands TFRGRPJOB & CHGGRPA. If you don't have the source, you may be able to find the group job initial program by looking at the program stack of the group job, or the joblog of the group job.

Hope this helps,

Martin Gilbert.
  • AddThis Social Bookmark Button

Browse more Questions and Answers on AS/400.

Looking for relevant AS/400 Whitepapers? Visit the Search400.com Research Library.


Discuss This Answer


You must be logged-in to discuss a question. Log-in/Register

Lovemyi  |   Apr 2 2008  1:27PM GMT

Yes, that worked.

Thanks for your quick and complete response. I had read a statement that said that adopt authority did not work across transferred jobs and this makes more sense once I realized that the menu system was using group jobs but it had been so long since I had used or seen them.