How do I find the name of the CICS region inside my COBOL program?

Questions by Suganj   answers by Suganj

Showing Answers 1 - 10 of 10 Answers

Prashanth Jayaseelan

  • Aug 30th, 2007
 

You can user APPID command to get the region..

panzer1

  • Jan 20th, 2010
 

EXEC CICS
         ASSIGN APPLID (COMM-HOLD-REGION-ID)
         RESP                 (WS-CICS-RESPONSE)
END-EXEC.
.
.
test WS-CICS-RESPONES code here for '00'
.
.
EVALUATE COMM-HOLD-REGION-ID
                WHEN 'TESTREG
 
                WHEN 'PRODREG'
 
                WHEN OTHER
 
END-EVALUATE.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions