Utilities and Other Interfaces › The Application Program Interface › Call the MIMAPI1 Module
Call the MIMAPI1 Module
You can call the MIMAPI1 module from the API1SM01 display routine, or from any other program. Before you invoke the module from a site-defined program, note these points:
- Call the MIMAPI1 module once for each device by default. Or, you can make multiple device requests using the PARMMULT flag in the MIMAPI1 PARMLA field.
- The MIMAPI1 module does not retain information from one execution to the next.
- Member API1CPY2 of data set CAI.CBTDMAC contains a DSECT that maps the input parameter list passed to the MIMAPI1 module.
- You must define a data area to receive information returned by the MIMAPI1 module, as described in the next section.
- You can run the MIMAPI1 module in protected mode. However, this results in additional overhead for each request.