HATS connection to a WebFacing server

HATS provides two connectivity options for connecting to 5250 host screen applications:
  • 5250 (Telnet)
  • 5250W (WebFacing)

There is no difference in the data flow between HATS and a Telnet 5250 server or HATS and a WebFacing server. Both connections provide access to 5250 applications, but the connection to the WebFacing server does not require online transaction processing (OLTP) capacity (interactive CPW). This significantly reduces the overall cost of using HATS with 5250 applications by removing the interactive feature requirement associated with TN5250 session connectivity.

To enable a connection to a WebFacing server, select the 5250W connection type from the Type field in the New Project wizard, the New Connection wizard, or the Connection editor. The default port for the WebFacing server connection is 4004. See Basic for more information.

You can enable existing projects to take advantage of the WebFacing connectivity option by selecting 5250W from the Connection editor. The WebFacing server connection can serve as the default connection or as a background connection in the project.

Connection to the WebFacing server requires the server process to be running on the 5250 host system. To start the WebFacing server, enter the following command from the operating system command line: STRTCPSVR SERVER(*WEBFACING).

To stop the WebFacing server, enter the following command from the operating command line: ENDTCPSVR SERVER(*WEBFACING).

To ensure that the WebFacing server is running, enter the following command from the command line to list all WebFacing jobs: WRKACTJOB JOB(QQF*).

The WebFacing server job, QQFWFSVR, and the WebFacing virtual terminal server job, QQFVTSVR, should both be displayed. It is normal to see more than one QQFVTSVR job in the list of jobs.
Note:
Check the system value QAUTOVRT. The value for QAUTOVRT determines the number of VT jobs that can be auto started. The WebFacing server relies on VT jobs. If the value is 0, no browser sessions can be launched. If necessary, set QAUTOVRT to *NOMAX or some value greater than 0. To change the value for QAUTOVRT, use the WRKSYSVAL system command to work with system values. WebFacing Server connection jobs are still listed under the QINTER subsystem and marked as INT (interactive), but they are not counted as part of the interactive capacity of the server.