2.147 LOGON

Valid for

Extract, Replicat

Description

Use LOGON to run Extract or Replicat under an ID different from the process that starts it (normally Manager). Extract and Replicat normally inherit the user ID of the Manager process. This parameter provides password encryption options.

You must place the LOGON parameter near the top of your parameter file so that all other files are created with the correct ownership. For example, a DISCARDFILE may be created with the incorrect user ID and password, causing problems when Extract and/or Replicat try to start up.

Either place the entire LOGON parameter statement on one line, or use an ampersand (&) continuation to split the statement into two or more lines.

If Manager is running under SUPER.SUPER authority, only the user_id portion of this parameter is necessary (the comma is still required). If password is specified, it is not echoed in the report file.

Syntax

LOGON user_id, PASSWORD password
[KEYNAME DEFAULT | KEYNAME  keyname]
user_id

The user ID for running Extract.

password

The password for running Extract.

ENCRYPTKEY DEFAULT

Required if the password was encrypted with a default Oracle GoldenGate key by means of the ENCRYPT PASSWORD KEYNAME command without arguments.

ENCRYPTKEY keyname

Required if the password was encrypted with a user-defined key by means of the ENCRYPT PASSWORD KEYNAME keyname command. For keyname, use the logical name as shown in the ENCKEYS file.

Example

Example 1   
LOGON "super.super", PASSWORD "ggs123"
Example 2   
LOGON super.super, PASSWORD & AACAAAAAAAAAAAIALCKDZIRHOJBHOJUH, KEYNAME superx128
Example 3   
LOGON super.super, PASSWORD & AACAAAAAAAAAAAIALCKDZIRHOJBHOJUH, KEYNAME default