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

Display current IMS region on an On-line screen ?


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Time2Live

New User


Joined: 27 Apr 2005
Posts: 43
Location: United States

PostPosted: Fri May 03, 2019 1:59 am
Reply with quote

We have multiple IMS test regions and our prod region. When we have multiple regions open to compare data, we are not always sure which is the PROD screen and which is the TEST screen.

Can you tell me an easy way for an IMS DC program to determine the region it is running in so it can display it on the MFS screen? The programs I have that are IMS/DB2 just go to a DB2 table record to get a row which has different region-names in the different regions.

For instance I want to show --- IMS-REGN = IMSTESTA

Code:
TRANS-CD  IMS-REGN            ON-LINE SALES INQUIRY
TERM-ID   USER-ID

 


I don’t have the Security Authorization to do a “/DIS REG A “ from the program.
Is there another way? Thank you for your advice.
Back to top
View user's profile Send private message
don.leahy

Active Member


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

PostPosted: Fri May 10, 2019 7:57 pm
Reply with quote

Check the IMS manual for the AIB call INQY ENVIRON . It can return the IMS system id.
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 -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts To get the the current time DFSORT/ICETOOL 13
No new posts How to 'Ping' a CICS region in JCL CICS 2
No new posts Changeman - how can we know the curr... Compuware & Other Tools 2
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
Search our Forums:

Back to Top