Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Invoking a CICS transaction from a non CICS java program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
danik56

New User


Joined: 08 Mar 2017
Posts: 32
Location: Israel

PostPosted: Thu Dec 19, 2019 7:15 pm    Post subject: Invoking a CICS transaction from a non CICS java program
Reply with quote

Suppose I have a Jave program running in z/Os USS environment.
Is it possible to execute a CICS transaction while passing input and receiving output back ?
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8518
Location: Dubuque, Iowa, USA

PostPosted: Thu Dec 19, 2019 8:57 pm    Post subject: Reply to: Invoking a CICS transaction from a non CICS java program
Reply with quote

Research the EXCI interface. I don't specifically know if it will handle Java, but EXCI is the approved, official way for non-CICS programs to communicate with CICS regions and programs.
Back to top
View user's profile Send private message
danik56

New User


Joined: 08 Mar 2017
Posts: 32
Location: Israel

PostPosted: Thu Dec 19, 2019 11:02 pm    Post subject: I found the following reference
Reply with quote

"The JCA local ECI resource adapter is used to connect to CICS programs, passing data in either COMMAREAs or channels and containers."

Here:

https://www.ibm.com/support/knowledgecenter/SSGMCP_5.3.0/com.ibm.cics.ts.java.doc/topics/dfhpj2_jca_eci.html

Is this the mechanism you had in mind?
Back to top
View user's profile Send private message
Rohit Umarjikar

Senior Member


Joined: 21 Sep 2010
Posts: 2335
Location: NY,USA

PostPosted: Thu Dec 19, 2019 11:30 pm    Post subject:
Reply with quote

Quote:
passing data in either COMMAREAs or channels and containers.
You don't have to if you don't need to.

Using CICS Transaction Gateway resource adapters to call CICS server programs
Back to top
View user's profile Send private message
danik56

New User


Joined: 08 Mar 2017
Posts: 32
Location: Israel

PostPosted: Fri Dec 20, 2019 12:11 am    Post subject: In fact
Reply with quote

I do have a need to pass data both direction from USS process to CICS server transaction
Back to top
View user's profile Send private message
Rohit Umarjikar

Senior Member


Joined: 21 Sep 2010
Posts: 2335
Location: NY,USA

PostPosted: Fri Dec 20, 2019 10:26 pm    Post subject:
Reply with quote

You can use COMMAREA, what is the problem then ?
Back to top
View user's profile Send private message
John Poulakos

Active User


Joined: 13 Jun 2012
Posts: 177
Location: United States

PostPosted: Mon Dec 23, 2019 11:40 pm    Post subject:
Reply with quote

There are logistic issues with using this interface, if your batch program has to wait for a response from the CICS transaction. That response may never come. MQSeries is preferable because it is asynchronous.
Back to top
View user's profile Send private message
Rohit Umarjikar

Senior Member


Joined: 21 Sep 2010
Posts: 2335
Location: NY,USA

PostPosted: Tue Dec 24, 2019 1:30 am    Post subject:
Reply with quote

Quote:
There are logistic issues with using this interface, if your batch program has to wait for a response from the CICS transaction. That response may never come. MQSeries is preferable because it is asynchronous.

That's correct and can be handled by pushing pop ups on GUI about timeout and retry.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts CICS Performance statistics ragava_b CICS 3 Mon Feb 17, 2020 12:38 pm
No new posts Dynamic cursor name in Cobol program Jlevine COBOL Programming 1 Fri Feb 14, 2020 2:55 am
No new posts Call a transaction simulator froma st... John F Dutcher IMS DB/DC 0 Wed Jan 22, 2020 10:54 pm
No new posts How to launch a webpage from CICS scr... revathyms CICS 2 Tue Jan 14, 2020 2:28 pm
No new posts Start CICS but A STORAGE SHORTAGE EXISTS sam_ok CICS 2 Wed Jan 08, 2020 2:25 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us