Export a Program Symbol (EXPORT)

The Export a Program Symbol (EXPORT) binder definition statement defines an export in a service program export block.

Parameters

Keyword Description Choices Notes
SYMBOL Exported symbol name Character value Required, Positional 1

Exported symbol name (SYMBOL)

Specifies the symbol to be exported. The symbol can be enclosed in apostrophes, quotation marks, or expressed without the delimiting marks.

This is a required parameter.

character-value
Specify the name of the program external variable or procedure to be exported.

Examples

EXPORT  SYMBOL('ExtVar2')

This binder definition statement defines ExtVar2 as an exported symbol in a service program export block.

Error messages

None