next up previous 63
Next: Monoliths
Up: Basic Structure of the Interface File
Previous: Basic Structure of the Interface File

Single Program

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.



next up previous 63
Next: Monoliths
Up: Basic Structure of the Interface File
Previous: Basic Structure of the Interface File

ADAM Interface Module Reference Manual
Starlink User Note 115
A J Chipperfield, B D Kelly, S L Wright
3 September 2002
E-mail:ussc@star.rl.ac.uk

Copyright © 2002 Council for the Central Laboratory of the Research Councils