The Import Monitor Object (IMPMONOBJ) command enables you to import one or more monitor objects and their associated command information. Monitors can be imported directly from another MIMIX Monitor product library on the same system or from a holding file that contains the exported monitor.
Use this command from the MIMIX Monitor product library on the system to which you are importing the monitors.
Do the following to import a monitor:
-
From a command line within MIMIX Monitor, type
IMPMONOBJ
and press Enter. -
The Import Monitor Object (IMPMONOBJ) display appears. Do the following:
-
At the From monitor definition prompt, specify the name of the monitor to be imported. Or, specify a generic name or *ALL to import multiple monitors.
-
At the Monitor prompt, specify the name of the monitor. The default value *NAME indicates that the name of the imported monitor is used. The name is added to the list of monitors for this installation of MIMIX Monitor. This parameter is ignored when a generic name or *ALL is specified for the From monitor definition prompt.
-
At the From monitor object file prompt, specify the name of the file and the library from which the monitor object will be imported. The default values *DFT and *CURLIB import file MM1050P from the current library. The file you specify must have the same record format as file MM1000P in the MIMIX Monitor product library.
To import a monitor object directly from another product library that contains MIMIX Monitor on this system, specify
MM1000P
and the name of the library from which to import the monitor object. -
At the Monitor information file prompt, specify the name of the file and library from which the associated command information will be imported. Command information can be associated with any monitor that has *CMD specified for its interface exit program. The default values *DFT and *CURLIB import file MM2050P from the current library. The file you specify must have the same record format as file MM2000P in the MIMIX Monitor product library.
If you do not want to import the command information associated with the monitor, specify
*NONE
.To import the command information directly from another product library that contains MIMIX Monitor on this system, specify
MM2000P
for the file name and specify the name of the library. -
At the Replace or add records prompt, specify what action to take if the monitor object and corresponding command information already exist in the MIMIX Monitor product library. The default value *REPLACE indicates that, if the monitor objects or information exists, the existing monitor object and command information in the files will be replaced. The value *ADD indicates the monitor object and command information are added to the files only if they do not already exist.
-
-
Press Enter to import the monitor.
When a monitor is imported, MIMIX Monitor checks for the existence of the interface exit program. If the interface exit program exists, MIMIX Monitor calls the program. If the interface exit program does not exist, the import completes and a warning message is sent.
Before any options on the Work with Monitors display can be used, the imported monitor must specify a valid value for the interface exit program. Either the interface exit program must exist or the imported monitor must be changed to call a valid interface exit program or to *NONE.