3.10 mgr

Use mgr to run the Manager program from the command line of the Linux, UNIX, Windows, or IBM i operating system. The mgr command is installed in the Oracle GoldenGate installation directory or library.

Syntax for Windows, UNIX, and Linux

mgr paramfile parameter_file 
[cd directory]
[pauseatend | nopauseatend]
[port portnum]
[reportfile report_file]
[usesubdirs | nousesubdirs]
mgr

Used without options, the command runs the program interactively.

paramfile parameter_file

Specifies the relative or absolute path name of the parameter file for the Manager program that is being run.

cd directory

Changes the current working directory of the process. The process will use the specified directory for all of its operations, such as opening and writing files.

pauseatend | nopauseatend

(Windows only) When the process stops, requires an Oracle GoldenGate user to look at the console output and then strike any key to clear it. Also indicates whether the process ended normally or abnormally.

port portnum

The number of the first port that Manager will check to start a connection. If this port number is not available, Manager increments the number by one and continues incrementing until it finds a port number that is available. However, if a port number is specified in the Manager parameter file, that number takes precedence as the start point for this search.

reportfile report_file

Sends command output to the specified report file. Without the reportfile option, the command output is printed to the screen.

usesubdirs | nousesubdirs

Includes the Oracle GoldenGate subdirectories when the process searches for a file to open. usesubdirs is the default.

Syntax for IBM i CLI

MGR PARAMFILE(input_file) 
[OTHERS(other_options)]
PARAMFILE(input_file)

The input text file, known as an OBEY file, containing the commands that you want to issue, in the order they are to be issued, one command per line. The name can be anything supported by the operating system.

OTHERS(other_options)

Any options that are supported in the UNIX version of the command provided as a space separated list.