Hello, I tried googling without much luck. So I thought I would post here. I have a java program that could be called from Batch or CICS
When the java program executes, I would like to detect a couple of things
1) Is the java program being called from a batch or a CICS program or in other words - Is there any command to detect if the java program is executing under TSO or CICS?
2) When my program executes under CICS, I can get the region name using methods from dfhjcics.jar and I can tell if the program is executing under DEVL or PROD. It would be nice if there was a similar option to tell if the program is executing under DEVL or PROD under TSO. Is there one? Thank you for your time.