W$STATUS Routine

If desired, you can display status information in the host browser's status bar by CALLing the W$STATUS routine.

CALL this routine using the following syntax:

CALL "W$STATUS" USING STATUS-MESSAGE

Where STATUS-MESSAGE, PIC X(n), contains the message to be displayed in the browser's status bar.

Note:

This routine is available only when the calling COBOL program is running in a Web browser window via the ACUCOBOL-GT Web Runtime. This routine is unavailable to programs run in a separate window when it is executed by a Web browser. The RETURN-CODE register is set to "1" after a successful call and "0" if this routine is unavailable.