Hi Julio,
The issue seems to be with the mapping file as it was not having all the required details. Also, the message was missing one char. I was able to replicate the scenario and generate the XML with modified messages.
Please find below the request message along with mapping file to be used. I am not able to upload the file because of some issue. Hence copying the mapping file content below:
-------
Request Payload --------- (Remove double quotes)----------------------------------------------
"VIRTUSAPOLARIS MANGALVEDHEKAR AKSHAY DOMBIVLI PUNE MAHARASHTRA "
-----------End of Request Payload-----------------------------------------------------------------------------------
----------------
Mapping XML----------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<payloads>
<payload name="VJ" type="request" matchType="all" key="CITY" value="PUNE" keyStart="63" keyEnd="66" saveHeaderFooter="false">
<section name="Body">
<copybook>request.txt</copybook>
</section>
</payload>
<payload name="VJ" type="response" matchType="payload" key="STATUS" value="SUCCESS" keyStart="1" keyEnd="9" headerBytes="0" footerBytes="0" saveHeaderFooter="true">
<section name="Body">
<copybook>response.txt</copybook>
</section>
</payload>
</payloads>
-------------------------------------------------------
------------------------------
Regards,
Vaibhav Jain
Capgemini
------------------------------
Original Message:
Sent: 09-19-2019 09:40 AM
From: Julio C Ramos
Subject: CICS Static Virtual Service
Sure Jain, im using to test this feature some files i have found here in the community. Here the .zip file.
Regards,
------------------------------
[Julio C. Ramos]
[DevOps]
[IT Business Solutions DEF]
[City]
Original Message:
Sent: 09-19-2019 08:25 AM
From: Vaibhav Jain
Subject: CICS Static Virtual Service
Could you please share the files along with the copybooks and mapping files.
------------------------------
Regards,
Vaibhav Jain
Capgemini
Original Message:
Sent: 09-19-2019 08:20 AM
From: Julio C Ramos
Subject: CICS Static Virtual Service
Hi Jain,
I´m getting an error when the steps ask me for the transport protocol configuration where i don't have right now CICS agents available.
I have the pair for request and responses, and the copybooks bundled created.
Regards,
------------------------------
[Julio C. Ramos]
[DevOps]
[IT Business Solutions DEF]
[City]
Original Message:
Sent: 09-19-2019 01:44 AM
From: Vaibhav Jain
Subject: CICS Static Virtual Service
Hi Julio,
LPAR and CICS agents are required when you are creating virtual services using recording mode. Once you have the messages available either in logs or via some other medium, you can use R-R approach to create services in the absence of agents.
Kind Regards.
Vaibhav J
------------------------------
Regards,
Vaibhav Jain
Capgemini
Original Message:
Sent: 09-18-2019 09:08 AM
From: Julio C Ramos
Subject: CICS Static Virtual Service
Hi Jain, thanks for your answer.
I can see for get this that is required having the CICS and LPAR agents configured.
I can set any program name for it in any CICS an LPAR?
------------------------------
[Julio C. Ramos]
[DevOps]
[IT Business Solutions DEF]
[City]
Original Message:
Sent: 09-18-2019 01:05 AM
From: Vaibhav Jain
Subject: CICS Static Virtual Service
Hi Julio,
With R-R Pairs, you can use the "CICS Copybook Data Protocol". This will require the copybooks & definition files. PFA the screenshot for the same.
Thanks.
------------------------------
Regards,
Vaibhav Jain
Capgemini
Original Message:
Sent: 09-17-2019 11:41 AM
From: Julio C Ramos
Subject: CICS Static Virtual Service
Hi Folks, i have a questions, there is a way to create static virtual services for CICS ? using RR Pair an Copybooks?
Regards,
------------------------------
[Julio C. Ramos]
[DevOps]
[IT Business Solutions DEF]
[City]
------------------------------