View previous topic :: View next topic
|
Author |
Message |
Time2Live
New User
Joined: 27 Apr 2005 Posts: 43 Location: United States
|
|
|
|
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 |
|
|
don.leahy
Active Member
Joined: 06 Jul 2010 Posts: 765 Location: Whitby, ON, Canada
|
|
|
|
Check the IMS manual for the AIB call INQY ENVIRON . It can return the IMS system id. |
|
Back to top |
|
|
|