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: 767
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 All times are GMT + 6 Hours
Forum Index -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts creat new line command in front of Me... TSO/ISPF 4
No new posts Rexx to read current Panvalet editor/... CLIST & REXX 0
No new posts How to Login in to cics region and is... CICS 9
No new posts Reflection 3270 screen shows only 23 ... Compuware & Other Tools 6
No new posts Write line by line from two files DFSORT/ICETOOL 7
Search our Forums:


Back to Top