IMPORT control statement

The IMPORT control statement has the following syntax:

Read syntax diagramSkip visual syntax diagram
>>-IMPORT--+-CODE--+-dll-name-------+--+-function-------+-+----><
           |       '-'--dll-name--'-'  '-'--function--'-' |   
           '-DATA--+-dll-name-------+--+-variable-------+-'   
                   '-'--dll-name--'-'  '-'--variable--'-'     

dll-name
The name or alias of the load module for the DLL. The maximum length of an alias is 8 characters. However, the name itself can be a long name. The dll-name comes from the value specified on the DLLNAME prelinker option. For more information, see Prelinker options.
variable
An exported variable name. It is a mixed case long name. To indicate a continuation across statements, either use a non-blank character in column 72 of the card and begin the next line in column 16, or enclose the name in single quotation marks, end the first line in column 71, and put a blank character in column 1 of the next line.
function
An exported function name. It is a mixed case long name. You can indicate a continuation the same way you would for a variable.

The prelinker processes IMPORT statements, but does not pass them on to the link step.