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

how to send short message from CICS via socket?


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

Active User


Joined: 08 May 2008
Posts: 390
Location: China

PostPosted: Thu Nov 08, 2012 10:13 am
Reply with quote

I'm working on a bank system, and sometimes, transaction needs to send short message from CICS using socket.
Anyone knows how to implement this?
I wonder if a long-running transaction which sends message is necessary? If yes, how to create such a long-running transaction?

Many thanks in advance.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Nov 08, 2012 8:06 pm
Reply with quote

Hello,

Why does someone believe sending a " short message from CICS using socket" is necessary?

What is the issue/concern about a "long-running transaction"? Mostly short transactions are the way to success - not long ones.

If you explain what business need this might support, someone may have a suggestion.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Nov 08, 2012 9:24 pm
Reply with quote

Quote:
Why does someone believe sending a " short message from CICS using socket" is necessary?


what about a poor application design icon_cool.gif
Back to top
View user's profile Send private message
dejunzhu

Active User


Joined: 08 May 2008
Posts: 390
Location: China

PostPosted: Fri Nov 09, 2012 8:00 am
Reply with quote

besides using socket, any other better idea of sending short message from CICS? please kindly advise. thanks.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Nov 09, 2012 8:37 am
Reply with quote

Hello,

If you ever learn to post a question properly, you may receive something you can use more quickly. . . .

Quote:
any other better idea of sending short message from CICS? please kindly advise. thanks.
Who can know? You have not at all explained what you are really trying to do.

By now, we all know this is a banking system - which (i believe) has nothing to do with the technical issue you are trying to address.

What really matters is where is the message to be sent and how is it to be used?

You have still not explained the "long-running" transaction. Given the number of time-bombs already implemented on that system, i strongly suggest that no new "long-running" transactions even be considered.
Back to top
View user's profile Send private message
dejunzhu

Active User


Joined: 08 May 2008
Posts: 390
Location: China

PostPosted: Fri Nov 09, 2012 11:22 am
Reply with quote

Sorry for my bad expression.

First, let's let 'long-running transaction' alone.

I want the MVS plays the role of Client, some other operation system plays the role of server. When MVS sends a text message to the server machine, the server machine can receive the message and do some further processing, such as, forward the text message to user's mobile phone...

this is all I want to do.
Back to top
View user's profile Send private message
Jose Mateo

Active User


Joined: 29 Oct 2010
Posts: 121
Location: Puerto Rico

PostPosted: Sat Nov 17, 2012 12:51 am
Reply with quote

Good afternoon to everyone!

I think I have a picture of what you want to do. You want a CICS program to act like a CICS transactional delivery program to many servers (DPL). Explaining; if a CICS program needs to send a message to a particular server it will invoke a CICS transaction with the necessary parameters and data in the commarea which will execute the transactional delivery program to pass the information to the server by connecting to a TCP/IP partition or a LISTNER. Is this what you want? Do you have MQ in your shop? if yes, then research if you could do it thru MQ. If not then read on CICS TCPSERVICES and CICS WEB support.
Back to top
View user's profile Send private message
Ed Goodman

Active Member


Joined: 08 Jun 2011
Posts: 556
Location: USA

PostPosted: Mon Nov 19, 2012 9:02 pm
Reply with quote

Is EZSOKET still allowed? We have some programs using that. It can send packets of information as TCP/IP packets.

In one case, we have a custom built server listening for the packets. In another, we have a TIBCO listener.
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 Using API Gateway from CICS program CICS 0
This topic is locked: you cannot edit posts or make replies. how can I proof that message was post... Java & MQSeries 1
No new posts Calling an Open C library function in... CICS 1
No new posts How to 'Ping' a CICS region in JCL CICS 2
No new posts Parallelization in CICS to reduce res... CICS 4
Search our Forums:

Back to Top