z/OS Communications Server: IP Sockets Application Programming Interface Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


VERSION

z/OS Communications Server: IP Sockets Application Programming Interface Guide and Reference
SC27-3660-00

Use the VERSION command to retrieve the name, version number, and version date of the REXX socket library.

Format

Read syntax diagramSkip visual syntax diagram
>>-SOCKET--(--"VERSION"--)-------------------------------------><

Parameters

This command has no parameters.

Returned value

The command returns a string that contains the return code, version name, version number, and version date, for example, 0 REXX/SOCKETS z/OS V1R9 April 20, 2006. A return code of 0 indicates that the requested socket command was completed successfully.

LE C/C++ equivalent

This command has no LE C/C++ equivalent.

Code example

Figure 1. VERSION command example
/* REXX EZARXR31 */
/*
 * This sample demonstrates the use of the VERSION
 * socket command.
 */
src = socket("VERSION");
say "Version = " src;
exit 0;

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014