IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Invoking a CICS transaction from a non CICS java program


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
danik56

New User


Joined: 08 Mar 2017
Posts: 35
Location: Israel

PostPosted: Thu Dec 19, 2019 7:15 pm
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: 8574
Location: Dubuque, Iowa, USA

PostPosted: Thu Dec 19, 2019 8:57 pm
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: 35
Location: Israel

PostPosted: Thu Dec 19, 2019 11:02 pm
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:

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

Global Moderator


Joined: 21 Sep 2010
Posts: 2673
Location: NYC,USA

PostPosted: Thu Dec 19, 2019 11:30 pm
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: 35
Location: Israel

PostPosted: Fri Dec 20, 2019 12:11 am
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

Global Moderator


Joined: 21 Sep 2010
Posts: 2673
Location: NYC,USA

PostPosted: Fri Dec 20, 2019 10:26 pm
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: 181
Location: United States

PostPosted: Mon Dec 23, 2019 11:40 pm
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

Global Moderator


Joined: 21 Sep 2010
Posts: 2673
Location: NYC,USA

PostPosted: Tue Dec 24, 2019 1:30 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Program level statistics CICS 6
No new posts CICS webservice - Flexible Interface CICS 0
No new posts Parameter description for Beta92 prog... Compuware & Other Tools 1
No new posts Prod parallel execution on mainframe ... CICS 1
No new posts getting RC=3650 when invoking REXX wi... CLIST & REXX 7
Search our Forums:

Back to Top