Program Name Variable

Official Content
This documentation is valid for:

Stores the name of the active program.

Data Type: Character (Its length depends of the Significant Object Name Length property)


This GeneXus variable stores the active program's name when evaluated. The name is the one specified in the object's property Name.


Suppose a procedure Process is called by many programs. This procedure processes the information it receives as parameters. Since it is called by many programs, we have included the program's name in the parameter list in order to identify which one is the calling process.

Process.Call(&Pgmname,Parm1,....) ;


Up to GeneXus X Evolution 2 it returns its value as CamelCase.
As of GeneXus X Evolution 3 and the inclusion of Modules, it returns its value as lowercase.


Objects: Procedures, Transactions, Web Panels
Languages: .NET, Java, Ruby (up to GeneXus X Evolution 3)
Interfaces: Web

See Also

Built-in Variable List