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.1 DEF_MAP_EX Parameters

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

    DEF_MAP_EX --- NAME ----------- Parameter Name -------------->
              >--- FOR   ---------- *BOTH  ---------------------->
              >--- TYPE  ---------- *BINARY --------------------->
              >--- LENGTH  -------- *DEFAULT  ------------------->
                                    numeric value                 
              >--- DECIMALS ------- *DEFAULT  ------------------->
                                   numeric value                  
              >--- FORMAT --------- *DEFAULT  ------------------->
              >--- DATE_SEPARATOR - *DEFAULT  ------------------->
              >--- TIME_SEPARATOR - *DEFAULT  -------------------|