A program is created with the Add Program command.
add program NAME [ADD_ITEM {ADD_ITEM}];
NAME
ADD_ITEM
code CODE
description VALUE
java|external|mql|ekl
file FILENAME
icon FILENAME
execute immediate|deferred
execute user USER_NAME
[!|not]needsbusinessobject
[!|not]downloadable
[!|not]pipe
[!|not]pooled
[!|not]trusted
[!|not] hidden
rule NAME
property NAME [to ADMINTYPE NAME] [value STRING]
history STRING
All of these clauses are optional. You can define a program by simply assigning a name to it.