To prevent MARENCP from being loaded more than once on the same system, a file with the link name MARENLCK is opened in OUTPUT mode at the beginning of the control program. By default, the name of this file is $SYSMAREN.MAREN.LOCK.FILE
. However, this file name is freely selectable (see section “Installation with IMON”). Restart of the control program is not possible until this file has been closed when the MARENCP task is terminated.
MAREN checks in the MAREN catalog whether a suitable MAREN version for cooperation exists on all systems in the MAREN network. If this is not the case, MARENCP terminates and reports the system concerned on the console and on SYSOUT.
The control program changes the task attribute of the MARENCP task to TP in order to enhance performance, provided the job class definition or the user entry permits this.
If the system-specific parameter LOGGING is used to enable logging and no logging file is allocated, then MARENCP creates a logging file with a default name and opens this in shared update mode. This default name is: $SYSMAREN.MAREN.LOGGING.yyyymmdd.hhmmss.<hostname>
.
Meaning:
yyyymmdd | Current date (ISO4 format); | |
hhmmss | Time | |
<hostname> | Name of the local system |
If an empty logging file is assigned, it is created anew in OPEN mode OUTIN. Otherwise, writing continues to this file in OPEN mode INOUT.