An Interface File for a single program consists of a number of Specification Fields contained between INTERFACE and ENDINTERFACE statements. There are four possible types of Specification Field under ADAM1, the Parameter Specification, the Help Library Specification, the Message Specification and the Action Specification. They are all optional (depending upon the application).
Specification Fields may consist of a number of subfields as shown in the example below. Examples in this document will use `.' to represent possible lines not shown.
INTERFACE programname
HELPLIB HELP_TOP_LEVEL_SPEC
.
PARAMETER parametername_1
parfieldname fieldvalue(s)
.
ENDPARAMETER
PARAMETER parametername_2
.
ENDPARAMETER
.
ACTION actionname
actfieldname fieldvalue(s)
.
ENDACTION
.
MESSAGE messagename
TEXT 'string'
ENDMESSAGE
.
ENDINTERFACE
programname is a character string giving the name of the Interface
Module.
It must be the same as the name of the program and unique in any given ADAM
system.
ADAM Interface Module Reference Manual