Create RXS Server (CRTRXSSVR)
The Create RXS HTTP Server (CRTRXSSVR) command allows the user to create an HTTP server instanace for use by RPG-XML Suite.
Parameters
HTTP server instance (HTTPSVR)
This is a required parameter.
Specifies the name of the HTTP server instance to create.
If this parameter is specified with any value other than HTTPSVR(*RXSLIB), an RPG-XML Suite development library is also created, with the same name as the HTTP server instance. Several objects are copied into it from the RPG-XML Suite product library. It is these objects (files, programs service programs, etc.) that are used when you develop your applications which use RPG-XML Suite.
If you specify HTTPSVR(*RXSLIB), only the HTTP server instance is created with the same name as the RPG-XML Suite product library. You should use this option if you only wish to use the RXS Router product, and are not intending to do any other RPG-XML Suite development.
Possible Values:
- name
- An HTTP server instance is created and an RPG-XML Suite development environment library is also created with the same name.
- *RXSLIB
- An HTTP server instance is created with the same name as the RPG-XML Suite product library. No RPG-XML Suite development environment library is created.
RXS product library (RXSLIB)
Specifies the name of the RPG-XML Suite product library to use when creating the RPG-XML Suite environment.
Possible Values:
- RXS
- The default RPG-XML Suite product library RXS will be used.
- library-name
- The named RPG-XML Suite product library will be used.
Port number (PORT)
Specifies the port number to use for the HTTP server instance.
Note: No checks are performed that the specified port number is not already in use, either by an existing HTTP server instance or by another application.
Possible Values:
- *DFT
- The default port number 8181 is used.
- port-number
- The specified port number is used.