Automatic DATINIT Files [ System Debug Reference Manual ] MPE/iX 5.0 Documentation
System Debug Reference Manual
Automatic DATINIT Files
DAT supports the automatic execution of commands with special
initialization files named DATINIT, if it/they exist. This file must be
a standard USE file (see the USE command).
DAT first tests for an initialization file (DATINIT) in the same group
and account as the DAT program file that is being executed. Secondly,
DAT looks for an initialization file in the user's group and account (if
different from the program file's group and account).
Based on the existence of these special files, it is possible to execute
initialization command files from the program's group and account and/or
from the user's group and account, or both.
The following initialization sequence is possible for DAT:
1) run dat; info="{cmdlist}" /* INFO string command list
2) DATINIT.ProgGrp.ProgAcnt /* program file group/account
3) DATINIT.UserGrp.UserAcnt /* user's group/account
To prevent the DATINIT files from being used, the following RUN command
could be used:
:run dat;info="use close; use close"
Since the info= string has precedence over the DATINIT files, the use
close commands are the first commands that DAT executes. In this case,
any open DATINIT files are closed before any commands are read from them.
MPE/iX 5.0 Documentation