Consultor Eletrônico



Kbase P34224: Warning message (214) does not show up on the screen nor in the WebSpeed Agent log file
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/11/2005
Status: Verified

FACT(s) (Environment):

WebSpeed 3.x

SYMPTOM(s):

The (214) compile warning message does not show up on the screen nor in the WebSpeed Agent log file

** WARNING--TRANSACTION keyword given within actual transaction level. (214)

Developed a WebSpeed program that contains the TRANSACTION keyword within an actual transaction level

Compiled it using the AppBuilder or Workshop Development Tool

CAUSE:

This is a known issue being investigated by Development

FIX:

If the WebSpeed program contains HTML tags (it is a .htm or .html file), compile it from a Progress character (TTY) session using the results of the tty/webutil/e4gl-gen.p program. e.g.:

DEFINE VARIABLE lv-file-name AS CHARACTER NO-UNDO.
DEFINE VARIABLE lv-object-type AS CHARACTER NO-UNDO.
DEFINE VARIABLE lv-file AS CHARACTER NO-UNDO.
ASSIGN lv-file-name = "/web/test.html":U.
RUN tty/webutil/e4gl-gen.p
(INPUT lv-file-name, INPUT-OUTPUT lv-object-type, INPUT-OUTPUT lv-file).
COMPILE VALUE(lv-file) SAVE.

Otherwise (.p, .w file), compile it using the COMPILE 4GL Statement.