Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

how to send short message from CICS via socket?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: how to send short message from CICS via socket?
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

Site Director


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

PostPosted: Thu Nov 08, 2012 8:06 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
Location: italy

PostPosted: Thu Nov 08, 2012 9:24 pm    Post subject: Reply to: how to send short message from CICS via socket?
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    Post subject:
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

Site Director


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

PostPosted: Fri Nov 09, 2012 8:37 am    Post subject:
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    Post subject:
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: 110
Location: Puerto Rico

PostPosted: Sat Nov 17, 2012 12:51 am    Post subject: Reply to: how to send short message from CICS via socket?
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    Post subject:
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    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 How does a called pgm know if its cal... Graeme Westerman COBOL Programming 4 Tue Nov 29, 2016 9:25 pm
No new posts CICS Roll back partially - Need to re... dwijadas CICS 4 Wed Nov 16, 2016 4:30 pm
No new posts CICS NEW SIT PARAMETERS CICS BEHAVIOR... Kyle Carroll CICS 0 Fri Nov 04, 2016 11:55 pm
No new posts Single COPY CICS TS datasets and when... Kyle Carroll CICS 2 Tue Oct 11, 2016 9:47 pm
No new posts CICS VSAM RLS READ akodakka CICS 3 Tue Oct 04, 2016 3:09 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us