If you aren't using AXSET you certainly don't need AXRES.
And many use AXSET with an AX of 1 (a special value), and don't use AXRES.
Peter Relson
z/OS Core Technology Design
--
For IBM-MAIN subscribe / signoff / archive access
Robert Ngan
> DXC Luxoft
>
> -Original Message-
> Date:Tue, 28 Jun 2022 16:11:37 -0400
> From: Tony Thigpen
> Subject: Allocating PC numbers
>
> When on z/OS and you want to create a PC routine, how do you determine
> what PC number the new routine is goin
Use the LXRES service.
Then all you need to do is figure out how you want to "publish" your PC number
to its potential users.
Robert Ngan
DXC Luxoft
-Original Message-
Date:Tue, 28 Jun 2022 16:11:37 -0400
From:Tony Thigpen
Subject: Allocating PC numbers
When on z/
Thanks Peter.
I have been running my test program (that I got from somewhere) and
realized that I was off-base with my understanding.
I am also coming to understand that some of the stuff done by the
program was not needed or incorrect, but still worked.
For instance, it does an AXRES,
how do you determine
what PC number the new routine is going to use? Is there a list of
'used' ones somewhere? Are, do you do some sort of loop checking to see
what is free?
I'd answer "no, not at all like that".
You (the PC-owner-to-be) have to have reserved a linkage index (LX, via LXRES).
On 6/28/2022 1:11 PM, Tony Thigpen wrote:
When on z/OS and you want to create a PC routine, how do you determine
what PC number the new routine is going to use? Is there a list of
'used' ones somewhere? Are, do you do some sort of loop checking to
see what is free?
We normally start with '1'
When on z/OS and you want to create a PC routine, how do you determine
what PC number the new routine is going to use? Is there a list of
'used' ones somewhere? Are, do you do some sort of loop checking to see
what is free?
Tony Thigpen