The NetRexx code must be written script-style, without a "class" or "properties" section preceeding the executable code.