ADD PROFILE
This command is used to create a profile for managed Extract and Replicat processes from the Admin Client.
For Distribution and Receiver path processes, you need to use the
AUTOSTART
and AUTORESTART
options available with
the ALTER DISTPATH
and ALTER RECVPATH
commands.
Syntax:
ADD PROFILE profile-name
[ AUTOSTART [ YES | NO ]
[ DELAY delay-number ]
[ AUTORESTART [ YES | NO ]
[ RETRIES retries-number]
[ WAITSECONDS wait-number]
[ RESETSECONDS reset-number]
[ DISABLEONFAILURE [ YES | NO ] ]
-
AUTOSTART
- Specifies whether the managed process has to be started
automatically when the Administration Service starts.
The default value is
YES
.
-
AUTORESTART
- Specifies whether the managed process has to be restarted if it stops or
abends. The default value is
YES
.
Example:
ADD PROFILE Critical AUTOSTART AUTORESTART RETRIES 1 WAITSECONDS 0 RESETSECONDS 0 DISABLEONFAILURE NO
Command succeeded with no output.