Re: Finding the STEIN of another address space
Whew! That makes more sense. After all, I had coded using the ASSBISQN and it worked. Thanks for the further clarification Peter. Lennie Dymoke-Bradshaw -Original Message- From: IBM Mainframe Discussion List On Behalf Of Peter Relson Sent: 25 November 2020 00:06 To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Finding the STEIN of another address space To (my)self: Open mouth, insert foot. Or its analog in typing. I was thinking of the ASTE sequence number, not the ASTE instance number. The ASTE instance number is indeed set when an address space starts, changed only when an ASID is reused. And matches ASSBISQN (which then, correctly, unlike what I said, is the answer to the original poster's query). Thanks to Erik J for noticing. Peter Relson z/OS Core Technology Design -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Finding the STEIN of another address space
https://www.ibm.com/support/knowledgecenter/SSLTBW_2.2.0/com.ibm.zos.v2r2.erbb500/jobro.htm Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of John McKown Sent: Tuesday, November 24, 2020 4:11 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Finding the STEIN of another address space I'm afraid that I simply must ask. If every Address Space has a STEIN, where is the BEER? -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Finding the STEIN of another address space
I'm afraid that I simply must ask. If every Address Space has a STEIN, where is the BEER? -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Finding the STEIN of another address space
To (my)self: Open mouth, insert foot. Or its analog in typing. I was thinking of the ASTE sequence number, not the ASTE instance number. The ASTE instance number is indeed set when an address space starts, changed only when an ASID is reused. And matches ASSBISQN (which then, correctly, unlike what I said, is the answer to the original poster's query). Thanks to Erik J for noticing. Peter Relson z/OS Core Technology Design -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Finding the STEIN of another address space
Hello Peter, Not that I understand any concept in this thread, but I looked at the ASSB mapping docu in https://www.ibm.com/support/knowledgecenter/SSLTBW_2.4.0/com.ibm.zos.v2r4.iead100/ASSB-map.htm and it says at the ASSBISQN at offset 52: Initial address space sequence number / instance number. It can be used with ASCBASID for the SSAIR instruction Is that incorrect information then, or am I interpreting your answer incorrectly? Kind regards, Erik Janssen. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Finding the STEIN of another address space
I decline to discuss the behavior of ASSBISQN. It has nothing to do with the sequence number needed for SSAIR. The principles of operation describes how the instance number provided with the SSAIR instruction is validated -- the instance number in the ASTE. Peter Relson z/OS Core Technology Design -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Finding the STEIN of another address space
Peter, Thanks for extra information. However, your somewhat cryptic message doesn't really clarify which field I should use. I think the question I need to ask is, Under what circumstances is the ASSBISQN field different from the ASTE1IN field? The code in question is for a diagnostic utility I wrote about 20 years back. It only ever examines fields in the secondary address space. It has an error recovery routine which has proved robust over the years. It has been reporting the 0D3-0013 abends for a while and recovering gracefully. Lennie Dymoke-Bradshaw -Original Message- From: IBM Mainframe Discussion List On Behalf Of Peter Relson Sent: 19 November 2020 14:01 To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Finding the STEIN of another address space ASSBISQN is not always the same as the ASTE Instance Number (ASTE rather than STE). Maybe the back-handed hint is that this is not something you should be doing? I wouldn't go that far. Architecturally, the ASTE instance number is in the ASTE. Peter Relson z/OS Core Technology Design -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Finding the STEIN of another address space
ASSBISQN is not always the same as the ASTE Instance Number (ASTE rather than STE). Maybe the back-handed hint is that this is not something you should be doing? I wouldn't go that far. Architecturally, the ASTE instance number is in the ASTE. Peter Relson z/OS Core Technology Design -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Finding the STEIN of another address space
Thank you Binyamin. After posting I had found the ASTE1IN which looks to be the same value as ASSBISQN, but is not a programming interface. Looks like your answer is better. Lennie -Original Message- From: IBM Mainframe Discussion List On Behalf Of Binyamin Dissen Sent: 18 November 2020 19:06 To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Finding the STEIN of another address space ASSBISQN On Wed, 18 Nov 2020 18:04:26 - Lennie Dymoke-Bradshaw <032fff1be9b4-dmarc-requ...@listserv.ua.edu> wrote: :>I have some cross-memory code written many years ago. :>It uses the ASVT to get the ASID of various address spaces and then uses the :>ASID in a SSAR to establish a cross-memory link (having first issued an :>AXSET AX=ONE). :>All works fine until faced with an address space with a reusable ASID. Then :>the SSAR gets a program check X'0013' and abends with a 0D3-0013 abend. This :>is all documented in the extended addressability manual here. :>https://www.ibm.com/support/knowledgecenter/SSLTBW_2.2.0/com.ibm.zos.v2r2. ie :>aa500/ieaa500101.htm :>So in order to correct my code I need to replace the SSAR instruction with :>an SSAIR instruction, whenever the target address space is reusable. This :>requires that I locate the STEIN (Second Table Entry Instance Number) of the :>target address space and specify it as a SASTEIN in the high order 4 bytes :>of the 64-byte register specified on the SSAIR instruction. :>How can I find the STEIN of the target address space? -- Binyamin Dissen 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 -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Finding the STEIN of another address space
ASSBISQN On Wed, 18 Nov 2020 18:04:26 - Lennie Dymoke-Bradshaw <032fff1be9b4-dmarc-requ...@listserv.ua.edu> wrote: :>I have some cross-memory code written many years ago. :>It uses the ASVT to get the ASID of various address spaces and then uses the :>ASID in a SSAR to establish a cross-memory link (having first issued an :>AXSET AX=ONE). :>All works fine until faced with an address space with a reusable ASID. Then :>the SSAR gets a program check X'0013' and abends with a 0D3-0013 abend. This :>is all documented in the extended addressability manual here. :>https://www.ibm.com/support/knowledgecenter/SSLTBW_2.2.0/com.ibm.zos.v2r2.ie :>aa500/ieaa500101.htm :>So in order to correct my code I need to replace the SSAR instruction with :>an SSAIR instruction, whenever the target address space is reusable. This :>requires that I locate the STEIN (Second Table Entry Instance Number) of the :>target address space and specify it as a SASTEIN in the high order 4 bytes :>of the 64-byte register specified on the SSAIR instruction. :>How can I find the STEIN of the target address space? -- Binyamin Dissen 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
Finding the STEIN of another address space
Greetings, I have some cross-memory code written many years ago. It uses the ASVT to get the ASID of various address spaces and then uses the ASID in a SSAR to establish a cross-memory link (having first issued an AXSET AX=ONE). All works fine until faced with an address space with a reusable ASID. Then the SSAR gets a program check X'0013' and abends with a 0D3-0013 abend. This is all documented in the extended addressability manual here. https://www.ibm.com/support/knowledgecenter/SSLTBW_2.2.0/com.ibm.zos.v2r2.ie aa500/ieaa500101.htm So in order to correct my code I need to replace the SSAR instruction with an SSAIR instruction, whenever the target address space is reusable. This requires that I locate the STEIN (Second Table Entry Instance Number) of the target address space and specify it as a SASTEIN in the high order 4 bytes of the 64-byte register specified on the SSAIR instruction. How can I find the STEIN of the target address space? Lennie Dymoke-Bradshaw -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN