Use the ggsci
command to run the GGSCI command interface from the command line of the operating system. Optionally, you can provide input from an OBEY
file. For more information about using an input file into GGSCI, see Administering Oracle GoldenGate.
Syntax for Windows, UNIX, and Linux
ggsci[ < input_file] [cd directory] [log | nolog]
<
Pipes the input file into the GGSCI program.
ggsci
Used without options, the command runs the program interactively.
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.
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.
log | nolog
Enables or suppresses the logging of GGSCI commands to the report file. The default is log
. The following commands are logged: ADD
, ALTER
, CREATE
, DELETE
, INFO
, START
, STOP
, CLEANUP
, SEND
, KILL
, EDIT
, REFRESH
.
Syntax for IBM i CLI
GGSCI [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.