by deepa121 » Wed Apr 05, 2017 10:07 am
The following is an elaboration:
Just to provide a background about the project, the aim is to use a middle cics region like a communication point & the connecting systems could be across 2 sysplex nodes or from other non mainframe environments which needs to be via TCP/IP
1. The 1st querying system is a 3rd party software of a different company. We are currently using postman for unit testing(to simulate the non mainframe environment) It sends an XML query to a program in middle region. So till the WEB RECEIVE Call the program acts as a server i think
2. Then the middle cics region communicates to another cics region by using a urimap.
Probably CICS now understands that its a region on different sysplex node & converts it to APPC Not sure
It posts the xml query (WEB SEND POST) into that region & waits for response.
The 1st program in 2nd CICS region handles many messages. So it links to the appropriate program
3. Now the 2nd program in 2nd cics region receives the xml & prepares the data to be sent to the original non mainframe environ.
Then it does a WEB SEND (server mode i.e without post)
what we find while testing is, this XML data is directly visible in postman. Would like to understand how this is working because,the web send POST was from middle CICS region which is waiting for a response.
4. And after a return from this program to 1st program in the 2nd cics region, it will simply return control to the middle cics region program.
It then has a WEB RECEIVE. Checks for a fail or success status & prepares an overall status & sends another response to the non mainframe environment.
5. And when i tried to simulate the same, by having the 1st non manframe region as CICS,(sorry i didnt know that it will be internally converted to APPC) what happened was the WEB SEND of 3rd cics region reached the middle cics region & the web send of the middle alone reached the 1ST CICS region. Did not understand why it differs in this case
And would like to understand points 4,5