View previous topic :: View next topic
|
Author |
Message |
dejunzhu
Active User
Joined: 08 May 2008 Posts: 390 Location: China
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
Why does someone believe sending a " short message from CICS using socket" is necessary? |
what about a poor application design |
|
Back to top |
|
|
dejunzhu
Active User
Joined: 08 May 2008 Posts: 390 Location: China
|
|
|
|
besides using socket, any other better idea of sending short message from CICS? please kindly advise. thanks. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
dejunzhu
Active User
Joined: 08 May 2008 Posts: 390 Location: China
|
|
|
|
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 |
|
|
Jose Mateo
Active User
Joined: 29 Oct 2010 Posts: 121 Location: Puerto Rico
|
|
|
|
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 |
|
|
Ed Goodman
Active Member
Joined: 08 Jun 2011 Posts: 556 Location: USA
|
|
|
|
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 |
|
|
|