Executing TCP/IP Application Programs

Connecting to TCP/IP

By default, your TCP/IP application will attempt to connect with the TCP/IP partition that has been assigned ID=00. Refer to the corresponding TCP/IP stack documentation on how to assign the ID to your TCP/IP stack. The default ID value is "00". If you want to connect to a TCP/IP partition with an ID not equal to "00", you can do so by including an appropriate OPTION statement in your JCL:

// OPTION SYSPARM='xx'

In the above, xx is the two-digit ID number, coded exactly as in the TCP/IP startup JCL or parameters.

Preparation and Setup for SSL/TLS

Before using the LE/VSE C, EZASMI and EZASOKET function calls for secured socket communication, the VSE system must be prepared to use SSL for VSE.

This preparation work includes
  • (Optional) Creation of the library and sublibrary where private key and certificates are to be stored (if default files on disk are not to be used).
  • (Optional) Definition of library, sublibrary and member name to be used for private key and certificates (if default files on disk are not to be used)
  • Creation of private key.
  • Creation of server certificate.
  • Creation of root certificate.
  • (Optional) Verification of SSL for VSE Certificate.

Refer to Administering for a detailed description of this preparation work.