| View previous topic :: View next topic |
| Author |
Message |
a_seshu Beginner

Joined: 30 Sep 2004 Posts: 16 Topics: 4 Location: Chennai
|
Posted: Sat Oct 02, 2004 7:04 am Post subject: Which would be better? EXCI Call or CTG Implementation? |
|
|
Hi all,
I have a request that i should parse an XML document that would come from a webpage and get the data from it and put it in a TS queue and invoke a CICS Transaction.
We have two ways:
1) Call DB2 Stored procedure and use COBOL XML Event handlers to parse the XML document and then do an EXCI Call to a CICS program with the data in COMMAREA, which in turn prepares the TS queue and invokes the transaction.
2) Have a java application that would parse the xml, get the data and use CICS Transaction Gateway to call a CICS program that would again build the TS queue and invoke the transaction.
Which of these solutions would be economical and show a better performance?
Thanks,
Seshu. _________________ I dont think I would ever stop learning. - Seshu. |
|
| Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12394 Topics: 75 Location: San Jose
|
Posted: Sun Oct 03, 2004 8:42 pm Post subject: |
|
|
A_seshu,
Can I suggest another alternative?
1. Trigger a batch cobol program which reads in the xml document and creates a regular file and write it to a vsam file.
2. Now kick off the cics transaction after the completion of the batch job.
Hope this helps...
Cheers
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
| Back to top |
|
 |
|
|
|