All applications, subroutines and functions must begin with a standard header or prologue. These are obtained by including the following logical names:
APP_PRO - for top level routine of application SUB_PRO - for library subroutines or subroutines within applications FUN_PRO - same as above but for functions NODDY_PRO - for simple subroutines which don't pass STATUS as an argument
All applications should begin with a call to the general ASTERIX initialisation routine AST_INIT() and end with AST_CLOSE(). This will ensure the integrity of the internal common blocks used by the various internal sub-systems.