IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Get name of Subsystem routine is executing in


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
drowelf
Warnings : 1

New User


Joined: 03 Mar 2006
Posts: 45
Location: Simpsonville, SC

PostPosted: Wed Feb 02, 2022 3:38 am
Reply with quote

I've got a bit of conundrum here.

I'm working on a task that executes under IMS and needs to know the subsystem name. There can be multiple IMS Regions running on the LPAR, therefore I can not hard code. I need to be able to query its name. I looked at the IEFSSI services, but does not seem to do what I want. Is there a service I can call to get the name of the subsystem I'm executing under or can I dig it out of some control block?

The reason I need this, is because outside of IMS I'm going to create a dataspace that is shared at the system level between multiple address spaces for some common data. In order to get the ALET to the other address spaces I am going to use Name/Token Services to publish the data. As such I want to retrieve the name of the subsystem and use that as part of the Name to provide uniqueness in a single LPAR.

I can pass the name to the Started Task that is going to create/own the common dataspace, but I need the other address spaces to be able to retrieve its subsystem name and dynamically build the Name to be used to retrieve the Name/Token with the ALET.
Back to top
View user's profile Send private message
don.leahy

Active Member


Joined: 06 Jul 2010
Posts: 742
Location: Whitby, ON, Canada

PostPosted: Thu Feb 03, 2022 4:55 am
Reply with quote

INQY ENVIRON call.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2480
Location: Netherlands, Amstelveen

PostPosted: Thu Feb 03, 2022 2:28 pm
Reply with quote

drowelf wrote:
I've got a bit of conundrum here.

I'm working on a task that executes under IMS and needs to know the subsystem name. There can be multiple IMS Regions running on the LPAR, therefore I can not hard code. I need to be able to query its name. I looked at the IEFSSI services, but does not seem to do what I want. Is there a service I can call to get the name of the subsystem I'm executing under or can I dig it out of some control block?

The reason I need this, is because outside of IMS I'm going to create a dataspace that is shared at the system level between multiple address spaces for some common data. In order to get the ALET to the other address spaces I am going to use Name/Token Services to publish the data. As such I want to retrieve the name of the subsystem and use that as part of the Name to provide uniqueness in a single LPAR.

I can pass the name to the Started Task that is going to create/own the common dataspace, but I need the other address spaces to be able to retrieve its subsystem name and dynamically build the Name to be used to retrieve the Name/Token with the ALET.


Possibly Netview/System Automation can help you.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts ACS exit routine JCL & VSAM 0
No new posts Receiving RC 5 when executing REXX pr... CLIST & REXX 3
No new posts Issues with executing a REXX MACRO th... TSO/ISPF 4
No new posts Routine not found... CLIST & REXX 6
No new posts Retrieve IMS SubSystem Name IMS DB/DC 2
Search our Forums:

Back to Top