Consultor Eletrônico



Kbase P61218: 4GL/ABL: What is the -zn Client Startup Parameter?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/12/2010
Status: Verified

GOAL:

4GL/ABL: What is the -zn Client Startup Parameter?

GOAL:

Why do I get the the ** The first character of <name> must be alphabetic. (257) error when I try to run a procedure starting with the underscore character?

FACT(s) (Environment):

Progress 9.x
OpenEdge 10.x
All Supported Operating Systems

FIX:

The -zn is a non documented Client Startup Parameter which allows the use of variables names, procedure names, table names, field names and index names to start with the underscore character.
Attempting to run or compile a procedure whose name starts with with the underscore character generates the ** The first character of <name> must be alphabetic. (257) error unless the client session was started using the -zn Client Startup Parameter.
Additionally, using the -zn Client Startup Parameter allows Progress to process procedure files with names starting with the underscore character in the same way as other procedure files. Specifically, if _program.p is a 4GL/ABL procedure whose name begins with the underscore character, then:

Normally:
_program.p is not recompiled when modified and executed if there is a previous version of it already in memory. That it if it has been executed perviously in the same session.
_program.p is not traced by 4GL client logging (available in 9.1D and later releases)

With -zn:
_program.p is recompiled when modified and executed like any other program.
_program.p is traced by 4GL client logging (9.1D and later releases)