External Call Tables

Functions of the External Call Table
Creating an External Call Table File
Format of the External Call Table
The Zcentry Elements
The Package Line
The Routine Line
The Return Line
Input Lines
Output Lines
Overlapping Input and Output Lines

An external call table holds information that defines the interaction between GT.M and non-M routines. Unlike most programming languages, M does not enforce data types; instead, the M language standard specifies rules and argument types in such a way that data automatically conforms to the context in which it is used. As most languages require typed data, interactions between M and other languages require an interface that translates GT.M values to a non-M context and vice-versa.

GT.M provides external call tables to interface between the typeless data of M and the typed data supported by the VMS calling standard. The entries in the external call table specify the order and data types of arguments passed to and returned from external routines.

The presence or absence of the tables and of external routines does not disrupt the activity of GT.M in any way.

External call tables rely on the VMS Procedure Calling and Condition Handling Standard, which defines conventions for passing arguments and routine calls.