*DMCHILDRECOV (GETMODE)


 

*DMCHILDRECOV={value}

 

The *DMCHILDRECOV control reports the runtime state the same as for the PLB_DMCHILDRECOVERY INI file keyword. Prior to version 9.2, this keyword was *DMCHILDRECOV. This keyword allows a PL/B program to enable or disable the managed file reconnection recovery capability under program control.

 

{value} is a previously defined Numeric Variable that contains the data manager keep alive state.

Note the following:

  1. The reconnection recovery can only be enabled or disabled before the first managed file logs onto the SUNDM data manager.

  2. The reconnection recovery can only be enabled when the DMKEEPALIVE is currently enabled.

  3. The reconnection recovery is disabled when the DMKEEPALIVE is disabled.

  4. One of the following values is returned:

  5.  

    Value

    Reconnection recovery has been set ...

    0

    off by setting PLB_DMCHILDRECOVERY to OFF, using SETMODE DMCHILDRECOV=0, or using SETMODE DMKEEPALIVE=0.

    1

    on by default

    3

    on by setting PLB_DMCHILDRECOVERY to ON or by using SETMODE DMCHILDRECOV=1.

     

  6. Enabling or disabling the DMCHILDRECOV state does not change the current SUNDM reconnection recovery state.

 

 

See Also: List Controls (GETMODE), GETMODE

 



PL/B Language Reference *DMALTIP (GETMODE) *DMKEEPACTIVE (GETMODE)