I wonder if using JSTCB=YES and providing a different PSCB address in the new
JSCB.

 Of course this will require a subtasks to be jobstep tasks as well .......

On Tue, 8 Nov 2016 17:56:45 +0700 Robin Atwood <abend...@gmail.com> wrote:

:>A venerable STC started getting 0470 ("user unauthorized for subsystem") when 
trying to allocate an INTRDR after we
:>added a lot of new function in a separate subtask. Disabling the new subtask 
allowed the allocation to work as before.
:>Searching I found OA50565 which describes the same thing happening to IDCAMS. 
The problem was the new 
:>subtask was calling IKJTSOEV and that causes the PSCBJCL flag to be turned 
off so the task cannot submit jobs. The apar 
:>states that IDCAMS now establishes a TSF with the PSCBJCL on without saying 
how. I tried forcing the PSCBJCL flag on after 
:>the call to IKJTSOEV but that resulted in an LE exception when I tried the 
allocation in the other task. Toggling the flag in the
:>task that does the allocation seems to work OK so far: I set the flag on, 
allocate the INTRDR, turn it off and nobody seems to
:>notice. 
:>
:>I am not too happy with this arrangement! Does someone know how to establish 
the TSF with the PSCBJCL flag on as in IDCAMS, or equally good, how to cancel 
the TSF once it is established. I could find no function call that does that.
:>
:>Thanks
:>Robin
:>
:>----------------------------------------------------------------------
:>For IBM-MAIN subscribe / signoff / archive access instructions,
:>send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
Binyamin Dissen <bdis...@dissensoftware.com>
http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel


Should you use the mailblocks package and expect a response from me,
you should preauthorize the dissensoftware.com domain.

I very rarely bother responding to challenge/response systems,
especially those from irresponsible companies.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to