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".
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.