Re: Determine if running under Secondary Subsystem
JESCT? On Mon, Feb 10, 2020 at 1:22 AM Vernooij, Kees (ITOP NM) - KLM < kees.verno...@klm.com> wrote: > The answers given so far imply that you know the names of the > primary/secondary subsystems and from that determine under which you run. > As far as I remember, there is a pointer to *the* subsystem, which is the > primary subsystem. I can't dig up where that pointer is. > > Kees > > -Original Message- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On > Behalf Of John Szura > Sent: 07 February 2020 21:37 > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Determine if running under Secondary Subsystem > > Is there a way to tell if you application is running under a Secondary > JES? We have common code that is used in several products that needs to > check the JES it is running under. If I look at the chain of SSCTs it > will only tell me there are more than one JES running but I can't find a > way to determine under which the application started. > > j > > -- > John Szura > Lead Mainframe Product Developer > Tone Software Corp. > +1(714)507-2354 > > IMPORTANT NOTICE: > > This is a private message. The information in this email (including any > attachments) is confidential and proprietary to Tone Software > Corporation, and is provided solely for the use of the individual or > entity to which it is addressed. Any review, reliance upon, printing, > distribution, or forwarding without express permission of its sender is > strictly prohibited. If you are not its intended recipient, please > immediately delete this email without copying and kindly advise me by > email of the mistaken delivery. > > > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > > For information, services and offers, please visit our web site: > http://www.klm.com. This e-mail and any attachment may contain > confidential and privileged material intended for the addressee only. If > you are not the addressee, you are notified that no part of the e-mail or > any attachment may be disclosed, copied or distributed, and that any other > action related to this e-mail or attachment is strictly prohibited, and may > be unlawful. If you have received this e-mail by error, please notify the > sender immediately by return e-mail, and delete this message. > > Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its > employees shall not be liable for the incorrect or incomplete transmission > of this e-mail or any attachments, nor responsible for any delay in receipt. > Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch > Airlines) is registered in Amstelveen, The Netherlands, with registered > number 33014286 > > > > -- > 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: Determine if running under Secondary Subsystem
The answers given so far imply that you know the names of the primary/secondary subsystems and from that determine under which you run. As far as I remember, there is a pointer to *the* subsystem, which is the primary subsystem. I can't dig up where that pointer is. Kees -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of John Szura Sent: 07 February 2020 21:37 To: IBM-MAIN@LISTSERV.UA.EDU Subject: Determine if running under Secondary Subsystem Is there a way to tell if you application is running under a Secondary JES? We have common code that is used in several products that needs to check the JES it is running under. If I look at the chain of SSCTs it will only tell me there are more than one JES running but I can't find a way to determine under which the application started. j -- John Szura Lead Mainframe Product Developer Tone Software Corp. +1(714)507-2354 IMPORTANT NOTICE: This is a private message. The information in this email (including any attachments) is confidential and proprietary to Tone Software Corporation, and is provided solely for the use of the individual or entity to which it is addressed. Any review, reliance upon, printing, distribution, or forwarding without express permission of its sender is strictly prohibited. If you are not its intended recipient, please immediately delete this email without copying and kindly advise me by email of the mistaken delivery. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN For information, services and offers, please visit our web site: http://www.klm.com. This e-mail and any attachment may contain confidential and privileged material intended for the addressee only. If you are not the addressee, you are notified that no part of the e-mail or any attachment may be disclosed, copied or distributed, and that any other action related to this e-mail or attachment is strictly prohibited, and may be unlawful. If you have received this e-mail by error, please notify the sender immediately by return e-mail, and delete this message. Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its employees shall not be liable for the incorrect or incomplete transmission of this e-mail or any attachments, nor responsible for any delay in receipt. Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch Airlines) is registered in Amstelveen, The Netherlands, with registered number 33014286 -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Determine if running under Secondary Subsystem
On 2/7/2020 12:37 PM, John Szura wrote: Is there a way to tell if you application is running under a Secondary JES? We have common code that is used in several products that needs to check the JES it is running under. If I look at the chain of SSCTs it will only tell me there are more than one JES running but I can't find a way to determine under which the application started. John, I mentioned this same thing (albeit without a code example) in response to your previous question on a similar topic. The "life of job" SSIB tells you which subsystem you are started under. It's the same SSIB you should be using to communicate via the SSI to that subsystem. You should almost never need to search the SSCT chain other than for esoteric reasons. * Determine Subsystem Type * LLGT R14,PSATOLD Load TCB address USING TCB,R14 https://www.phoenixsoftware.com/ This e-mail message, including any attachments, appended messages and the information contained therein, is for the sole use of the intended recipient(s). If you are not an intended recipient or have otherwise received this email message in error, any use, dissemination, distribution, review, storage or copying of this e-mail message and the information contained therein is strictly prohibited. If you are not an intended recipient, please contact the sender by reply e-mail and destroy all copies of this email message and do not otherwise utilize or retain this email message or any or all of the information contained therein. Although this email message and any attachments or appended messages are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by the sender for any loss or damage arising in any way from its opening or use. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Determine if running under Secondary Subsystem
As a SWAG, maybe "JSABSSNM DSCL4 Creating Subsystem name " is what you're looking for. For completeness, the JSAB can be found via the ASSB or STCB, which can be respectively found via the ASCB or TCB, which can respectively be found by PSAAOLD or PSATOLD. sas On Fri, Feb 7, 2020 at 3:37 PM John Szura wrote: > Is there a way to tell if you application is running under a Secondary > JES? We have common code that is used in several products that needs to > check the JES it is running under. If I look at the chain of SSCTs it > will only tell me there are more than one JES running but I can't find a > way to determine under which the application started. > > j > > -- > John Szura > Lead Mainframe Product Developer > Tone Software Corp. > +1(714)507-2354 > -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Determine if running under Secondary Subsystem
Is there a way to tell if you application is running under a Secondary JES? We have common code that is used in several products that needs to check the JES it is running under. If I look at the chain of SSCTs it will only tell me there are more than one JES running but I can't find a way to determine under which the application started. j -- John Szura Lead Mainframe Product Developer Tone Software Corp. +1(714)507-2354 IMPORTANT NOTICE: This is a private message. The information in this email (including any attachments) is confidential and proprietary to Tone Software Corporation, and is provided solely for the use of the individual or entity to which it is addressed. Any review, reliance upon, printing, distribution, or forwarding without express permission of its sender is strictly prohibited. If you are not its intended recipient, please immediately delete this email without copying and kindly advise me by email of the mistaken delivery. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN