Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tell which CICS Region I am running in

Status
Not open for further replies.

kkitt

Programmer
Dec 1, 2002
122
US
Is there a way in a MVS Cobol program to tell which CICS Region I am running in. I have to do different things depending on if running in test or production.
 
Personally I use the following to give 8 or 4 byte environment information.
EXEC CICS
ASSIGN
APPLID(WS-APPLID)
END-EXEC.
or
EXEC CICS
ASSIGN
SYSID(WS-SYSID)
END-EXEC.

Where I work, all our Test environments begin with a "T"
All the production ones with a "P".

Steven.
 
Thanks, that is just what I was looking for.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top