Page History
7.27 DEF_MAP_EX
| Note |
|---|
| Note: Usage options |
The DEF_MAP_EX command is used to define an argument to a 3GL external method and how it is mapped. This is used when calling either a 3GL program or a 3GL procedure in a service program on IBM i.
The DEF_MAP_EX is a declarative command. It does not have any matching end command. Its 3GL external method is executed using the INVOKE command.
Also See
7.27.2 DEF_MAP_EX and Calling a Program
7.27.3 DEF_MAP_EX and Calling a Procedure in a Service Program
7.28 DEF_MTH_EX Command
| Panel | ||
|---|---|---|
| ||
Required
| ||
| No Format | ||
| Required
DEF_MAP_EX ---- NAME ----------- Parameter Name --------------> >--- FOR
>--- FOR ------------ *BOTH*BOTH ------------------------> *INPUT *OUTPUT *RESULT >--- TYPE
>--- TYPE ---- ------ *BINARY ------------------------> *BOOLEAN *CHAR *DATE *DATETIME *FLOAT *INT *NCHAR *NVARCHAR *PACKED *SIGNED *TIME *VARBINARY *VARCHAR
-------------------------------------------------------------------------- Optional >--- LENGTH
Optional >--- LENGTH -------- *DEFAULT*DEFAULT -------------------------> numeric value
>--- DECIMALS ------- *DEFAULT*DEFAULT --------------------------> numeric value
>--- FORMAT --------- *DEFAULT*DEFAULT --------------------------> *DMY *EUR *HMS *ISO *JIS *JUL *MDY *NTS *USA *VAR2 *VAR4 *YMD >--- DATE_SEPARATOR - *DEFAULT
>--- DATE_SEPARATOR - *DEFAULT --------------------------> *BLANK *COMMA *DOT *HYPHEN *SLASH >--- TIME_SEPARATOR - *DEFAULT
>--- TIME_SEPARATOR - *DEFAULT -----------------------------| *BLANK *COLON *COMMA *DOT
|