Re: Searching the ASVT

2023-02-06 Thread Ed Jaffe
On 2/5/2023 9:14 AM, Joe Monk wrote: I always find it fascinating when someone tries to explain to the IBM z/OS designers how z/OS works... Not sure I follow what you're trying to say with this snarky-sounding comment, particularly since Michael Stein's explanation was correct... --

Re: Searching the ASVT

2023-02-06 Thread Peter Relson
> ASVTENTY is the address of the entry for ASID 0 (which, of course, is never > used). Apologies. That's wrong. ASVTENTY is, as others have posted, the entry for ASID 1. ASVTFRST locates an entry that is available for use for a new address space. Peter Relson z/OS Core Technology Design

Re: Searching the ASVT

2023-02-05 Thread Joe Monk
I always find it fascinating when someone tries to explain to the IBM z/OS designers how z/OS works... Joe On Sun, Feb 5, 2023 at 9:16 AM Michael Stein wrote: > On Sun, Feb 05, 2023 at 01:34:36PM +, Peter Relson wrote: > > > ASVTFRST is documented as "address of first available ASVT

Re: Searching the ASVT

2023-02-05 Thread Michael Stein
On Sun, Feb 05, 2023 at 07:12:57AM +, Seymour J Metz wrote: > Shouldn't that be > USING ASVTBEGN,R10 ESTABLISH ADDRESSABILITY > > Or does CVTASVT point to the prefix? It points to the prefix. This allows IBM to add fields to the ASVT without the other offsets changing. They can't

Re: Searching the ASVT

2023-02-05 Thread Seymour J Metz
ERV.UA.EDU] on behalf of Bernd Oppolzer [bernd.oppol...@t-online.de] Sent: Sunday, February 5, 2023 5:33 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Searching the ASVT Thank you all for this discussion; I have learned something new :-) Would you kindly look at this coding and tell me, if it is corre

Re: Searching the ASVT

2023-02-05 Thread Michael Stein
On Sun, Feb 05, 2023 at 01:34:36PM +, Peter Relson wrote: > ASVTFRST is documented as "address of first available ASVT entry". It > has nothing to do with "next". ASVTFRST is the address of the slot for ASID 0 which doesn't exist but is usefull to adjust for the fact that ASIDs start at 1

Re: Searching the ASVT

2023-02-05 Thread Michael Stein
> Next its test for an ASCB that is assigned. > > TM0(R11),ASVTAVALVALID ASCB Available ? > > BORUNLOP1NO, CHECK NEXT ASVT ENTRY I wouldn't separate the test for valid with picking up the ASCB address as the ASVT slot might change between my ASVT references. I'd load the

Re: Searching the ASVT

2023-02-05 Thread Peter Relson
Before addressing the question, a question in return. Why are you searching the ASVT? Most user ASVT references relate to finding the ASCB address for a specific ASID. LOCASCB is usually used for that. If you must search the ASVT, do you have reason to doubt the current code? What are you

Re: Searching the ASVT

2023-02-05 Thread Colin Paice
Personally, I would take a dump and use IPCS to go through the pointers with pencil and paper to make sure I understand the linkage, and it points to what I want. For example, to find the job name from an ASCB is either pASCB+ASCBJBNI or pASCB+ASCBJBNS depending if it is a job or started task. You

Re: Searching the ASVT

2023-02-05 Thread Bernd Oppolzer
Thank you all for this discussion; I have learned something new :-) Would you kindly look at this coding and tell me, if it is correct in your opinion, and if it is allowed to execute this by non-privileged programs? What macro calls do I need to get the needed definitions (CVT, ASVT, ASCB)?

Re: Searching the ASVT

2023-02-04 Thread Seymour J Metz
4, 2023 5:58 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Searching the ASVT . Hello I am on a z/os 2.2 system, trying to rseurrect some old code. . can some one confirm the instructions for Searching the Address Space Vector Table (ASVT) on z/OS 2.2 . This program loads R10 with CVTASVT L R10

Re: Searching the ASVT

2023-02-04 Thread Tony Harminc
On Sat, 4 Feb 2023 at 18:00, esst...@juno.com wrote: > I am on a z/os 2.2 system, trying to rseurrect some old code. > . > can some one confirm the instructions for Searching the > Address Space Vector Table (ASVT) on z/OS 2.2 > . > This program loads R10 with CVTASVT > L R10,CVTASVT

Re: Searching the ASVT

2023-02-04 Thread Brian Westerman
Hi, I'm not sure what you are trying to do, Most people would use the ASVT to get tot he ACSB to see what's running. If it is that you are trying to search the ASCB to see if a task is actually executing, then all you really need from the ASVT is max number of ASCBS (located in ASVTMAXU)

Re: Searching the ASVT

2023-02-04 Thread Michael Stein
> I am on a z/os 2.2 system, trying to rseurrect some old code. > . > can some one confirm the instructions for Searching the > Address Space Vector Table (ASVT) on z/OS 2.2 > . > This program loads R10 with CVTASVT > L R10,CVTASVTGET ASVT ADDRESS > USING ASVT,R10

Searching the ASVT

2023-02-04 Thread esst...@juno.com
. Hello I am on a z/os 2.2 system, trying to rseurrect some old code. . can some one confirm the instructions for Searching the Address Space Vector Table (ASVT) on z/OS 2.2 . This program loads R10 with CVTASVT L R10,CVTASVTGET ASVT ADDRESS USING ASVT,R10 ESTABLISH