CICS Sample Socket Programs

Background Information

HostBridge Technology is making available a collection of sample programs that have been developed to make it easy for a CICS program to send an outbound TCP/IP request (and optionally wait a response). These programs are available in both Assember and COBOL and can be used without HostBridge. For example, these programs will allow a CICS program to invoke a Java Server Page (JSP), Active Server Page (ASP), or other CGI program via an HTTP GET request. Whatever the JSP/ASP/program returns in response to the GET request will be returned to the CICS program.

Finally, these programs can serve as sample code to those interested in adding support for CICS socket I/O to their own programs. By the way, one hidden gem in this collection is a program called HBRTCPM; it returns the error description associated with a CICS TCP/IP function name and error number. VERY handy!

We originally developed these programs for a customer who wanted to invoke (from within a CICS application) a distributed application running outside of CICS on a Windows server. Once invoked, the distributed program would take two actions: (1) respond to the request with an acknowledgement message, and (2) determine if there was any work that needed to be presented to CICS for processing (essentially, the request sent by the CICS program was a “poll” to the server). If there was work to be done, the distributed application would send one or more HTTP GET requests to HostBridge in order to invoke the required CICS transaction. HostBridge would return the output from the transaction as an XML document.

About HostBridge Technology

HostBridge Technology provides software for IBM S/390® and zSeries™ customers with an ongoing investment in CICS applications. Using the HostBridge U.S. Patent Pending software, any middle-tier application can securely invoke CICS transactions and receive their output as an XML document. By providing real-time access to CICS applications as XML, HostBridge allows enterprises integrate them into other business processes and use our native SOAP support to offer CICS applications as Web Services.


Complete the form below to receive the CICS Sample Socket Programs. (Items with asterisks are required.) These sample programs are provided in source code form on an “AS IS” basis. No warranty is expressed or implied by HostBridge Technology.

Important: You will receive instructions to download the programs via email using the address you provide below. You must provide a valid email address. Users have reported that free email accounts (Hotmail, Yahoo!, AOL, etc.) often block our email. If possible, please use a valid business email account.

*First Name:    
*Last Name:    
*Email:    
*Company name:    
*Operating system:    
*Version of CICS:    
Comments: