HP OpenVMS Systems

ask the wizard
Content starts here

Seeking COBOL coding examples? (take II)

» close window

The Question is:

How can I use or implement sockets in my VAX/VMS COBOL program? I need source
 code example.

The Answer is :

  The OpenVMS Wizard is not aware of a supported way to use the TCP/IP
  or UDP/IP socket API from any language other than C or C++.  This
  means you can write, link to, and use C or C++ code in a mixed-language
  application, or you can write, link to, and use the $qio interface from
  COBOL or other application programming language.
  For available source code examples and support articles, please
  review the AskQ website referenced in the FAQ.
  For C examples, please see TCPIP$EXAMPLES: (TCP/IP Services V5 and
  later) or UCX$EXAMPLES: (prior to V5.0).
  For COBOL system service call examples, please see information here,
  AskQ, and the COBOL documentation.
  For a description of the TCP/IP Services $qio programming interface,
  please see the TCP/IP Services documentation set.
  Also please see topic (8137), and the topics and manuals referenced

answer written or last revised on ( 16-JUL-2003 )

» close window