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 ] ] 
profile-name
Name of the profile for the specific managed process.
AUTOSTART
Specifies whether the managed process has to be started automatically when the Administration Service starts. The default value is YES.
DELAY
Set the delay-number to configure the delay time to automatically start the managed process.
AUTORESTART
Specifies whether the managed process has to be restarted if it stops or abends. The default value is YES.
RETRIES
Specifies the number of retries for attempting to automatically restart the managed process.
WAITSECONDS
Specifies the time to wait before attempting another retry to restart.
RESETSECONDS
Used to reset the time for the retries.
DISABLEONFAILURE
Specifies if the managed process has to be disabled if it fails to restart. The default value is NO.

Example:

ADD PROFILE Critical AUTOSTART AUTORESTART RETRIES 1 WAITSECONDS 0 RESETSECONDS 0 DISABLEONFAILURE NO

Command succeeded with no output.