MIMIX Model Switch Framework user exit programs - assure_mimix - 10.0

Assure MIMIX Monitor Reference

Product type
Software
Portfolio
Integrate
Product family
Assure
Product
Assure MIMIX™ Software
Version
10.0
Language
English
Product name
Assure MIMIX
Title
Assure MIMIX Monitor Reference
Copyright
2023
First publish date
1999
ft:lastEdition
2024-03-12
ft:lastPublication
2024-03-12T10:35:16.085994

These user exit programs are supplied to enable you to customize your switching environment. You should copy these programs and customize them for your installation.

The source templates for the following user exit programs are located in file MMTEMPLSRC in the MIMIX installation library. You can access these programs and change them to address the needs of your system environment.

Note: Before you make any changes to these templates, you should copy them into a different source file so the changes will not be lost if any updates are required to this template source in the future.

Use the Create CL Program (CRTCLPGM) command to compile the following programs:

DGSELECT - This program selects the data groups that should be switched or started. You can:

  • Change the value for the WAIT parameter.

  • Indicate if you would like to have the switch end if there are database errors.

  • Choose to stop the switch framework process immediately. You can do this by accessing the source for this program and changing the code so the program passes a ‘2’ for the &ENDDBERR variable.

When this program is called for starting the data groups, you can select to not start the target (apply) processes for the data group.

ENDBCKUP -This program ends the user's backup environment.

ENDPROD - This program ends the user's production environment.

STRBCKUP - This program starts the user's backup environment.

STRPROD - This program starts the user's production environment.

You can specify that you want to stop the switching process by accessing the source for the programs listed above and changing the code so the program sets the LDA data area to a value other than “SUCCESSFUL”.

SWTFWKCFM - This program confirms that you want to start the switch framework processing. You can specify that you want to stop the switching process by accessing the source for this program and changing the code so the program passes a ‘1’ for the &RESPONSE variable.

The default action of this program is to start the switching process.