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 searching for? Do you have the serialization you need to safeguard whatever it is that you are doing? How are you determining how far to go? You might find using ASVTHWMAsid to meet your needs rather than ASVTMAXU, if you happen to know you are running on z/OS 2.4 or later. The comment on the "LA" is obviously incorrect, assuming "#" is "number". ASVTENTY is the address of the entry for ASID 0 (which, of course, is never used). ASVTFRST is documented as "address of first available ASVT entry". It has nothing to do with "next". The ASVT entries form an array with the first being at ASVTENTY, and each entry mapped by 4-byte field ASVTENTY. Peter Relson z/OS Core Technology Design ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
