Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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.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


Panel
bgColor#ffffcc

                                                                                               Required                                                                      

   

No Format
                                                     Required                                                                           

DEF_MAP_EX

----

NAME

-----------

Parameter

Name

-------------->

                                                                                >--- FOR  

                                                                                                                                    

                       >--- FOR   ------------

*BOTH 

*BOTH  ------------------------>

                                    *INPUT                                                             *OUTPUT                                                            *RESULT                                                                                                         >--- TYPE 


                                                           *INPUT                        
                                                           *OUTPUT                       
                                                          *RESULT                                                                                         

                       >--- TYPE  ---- ------

*BINARY

------------------------>

                                    *BOOLEAN                                                           *CHAR                                                              *DATE                                                              *DATETIME                                                          *FLOAT                                                             *INT                                                               *NCHAR                                                             *NVARCHAR                                                          *PACKED                                                            *SIGNED                                                            *TIME                                                              *VARBINARY                                                         *VARCHAR                                                                                         


                                                         *BOOLEAN                      
                                                         *CHAR                         
                                                         *DATE                         
                                                        *DATETIME                     
                                                        *FLOAT                        
                                                        *INT                          
                                                       *NCHAR                        
                                                       *NVARCHAR                     
                                                       *PACKED                       
                                                       *SIGNED                       
                                                       *TIME                         
                                                      *VARBINARY                    
                                                      *VARCHAR                                                                                        

--------------------------------------------------------------------------

                                                                                                                         Optional                                                                                      >--- LENGTH 

                                                                  

                                                                                                  Optional                                                                      

                    >--- LENGTH  --------

*DEFAULT 

*DEFAULT  ------------------------->

                                    numeric value                                                                                                  


                                                       numeric value                                                                                 

                   >---

DECIMALS

-------

*DEFAULT 

*DEFAULT  -------------------------->

                                   numeric value                                                                                                   


                                                                                           numeric value                                                                                    

                  >---

FORMAT

---------

*DEFAULT 

*DEFAULT  -------------------------->

                                    *DMY                                                               *EUR                                                               *HMS                                                               *ISO                                                               *JIS                                                               *JUL                                                               *MDY                                                               *NTS                                                               *USA                                                               *VAR2                                                              *VAR4                                                              *YMD                                                                                                            >--- DATE_SEPARATOR - *DEFAULT 


                                                      *DMY                          
                                                      *EUR                          
                                                     *HMS                          
                                                     *ISO                          
                                                     *JIS                          
                                                     *JUL                          
                                                    *MDY                          
                                                    *NTS                          
                                                    *USA                          
                                                   *VAR2                         
                                                   *VAR4                         
                                                  *YMD                                                                                            

                >--- DATE_SEPARATOR - *DEFAULT  -------------------------->

                                    *BLANK                                                             *COMMA                                                             *DOT                                                               *HYPHEN                                                            *SLASH                                                                                                          >--- TIME_SEPARATOR - *DEFAULT 


                                                    *BLANK                        
                                                   *COMMA                        
                                                   *DOT                          
                                                  *HYPHEN                       
                                                  *SLASH                                                                                          

               >--- TIME_SEPARATOR - *DEFAULT  -----------------------------|

                                    *BLANK                                                             *COLON                                                             *COMMA                                                             *DOT                         


                                                 *BLANK                        
                                                *COLON                        
                                                *COMMA                        
                                                *DOT