Annotate the source with Progress Developer Studio for OpenEdge
- Last Updated: January 26, 2026
- 2 minute read
- OpenEdge
- Version 12.8
- Documentation
Annotate your source in Progress Developer Studio for OpenEdge to provide the information required to create your native invocation file.
Note: There
are other methods to create native invocation files, such as ProxyGen, but creating them
from the annotated source is the preferred method. For more information on ProxyGen, see
Use the Open Client Toolkit.
To annotate your source:
@openapi.openedge.export FILE(type="ESB", esboeFilename="%FILENAME%",
useReturnValue="false", writeDataSetBeforeImage="false", executionMode="external").
DEF INPUT PARAM customerNumber AS INTEGER.
DEF OUTPUT PARAM customerName AS CHAR.
IF CONNECTED("sports2000") THEN DO:
FIND FIRST customer WHERE custNum = customerNumber NO-LOCK NO-ERROR.
IF AVAILABLE customer THEN
customerName = Name.
ELSE
customerName = "No record".
MESSAGE "CustomerName = " customerName SKIP.
END.