The Standalone Compiler

The PL/MX compiler, PLMXCMP, is initiated and managed automatically by the NonStop SQL/MX subsystem when it executes a CREATE FUNCTION statement. However, the compiler may be executed separately. This is useful for checking syntax while developing PL/MX programs.
  1. Log on to NonStop OSS.

  2. Execute the PL/MX compiler, passing the name of the source file as an argument.

Syntax

PLMXCMP [options] filename

options :=
  -plmx_ccflags “flags”

flags :=
  flag-value [, flags]

flag-value := identifier=literal-value

literal-value :=
    pls_integer-value
  | FALSE
  | TRUE
  | NULL

Parameters

identifer

Is an unquoted PL/MX identifer.

pls_integer-value

Is an integer in the range from -2147483647 through 2147483647.

filename

Is the name of the OSS source file to compile for syntax.

Example

Compile the file /home/me/myudfsource.plmx for syntax, setting the compileThat flag to TRUE:
PLMXCMP –plmx_ccflags “compileThat=TRUE” /home/me/myudfsource.plmx