Академический Документы
Профессиональный Документы
Культура Документы
April 2010
This document contains information about AD command line options. You should read and understand all content described here before
you begin using these options. The most current version of these notes is document 1078973.1 on OracleMetaLink. There is a change log
at the end of this document.
Section 1: Overview
Introduction of AD command line options and how they are used.
Section 1: Overview
In addition to their standard functionality, AD utilities can accept command line options to modify the actions performed by the utility. This
document describes the AD command line options. Some AD command line options are not documented here because they are either
obsolete or not normally specified by end users.
For simplicity, AD utilities are referred to in these examples by their executable names instead of their utility names.For details about the
AD utilities, see Oracle Applications Maintenance Utilities. Here is a mapping of executable names to utility names:
All AD command line options have the format: token=value.In general, you should enter AD command line options in lowercase. The
tokenis converted to lower-case internally, but the valueis not.In some cases, valueis a comma-separated list of options. AD
command line options cannot contain embedded whitespace characters.
adpatch options=nocopyportion,nogenerateportion
adpatch printdebug=y
https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_adf.ctrl-state=18z88yi99f_69 1/8
3/29/13 Document Display
help=y|n
logfile=log-file-name
Purpose: Tells AD utilities what log file to use.Normally used in non-interactive mode.
Valid values: A file name (not a fully-qualified path name)
Default value: none, meaning that the utility will prompt for the log file name
Example adpatch logfile=test.log
printdebug=y|n
flags=list-of-flags
Purpose: Generic flags passed to AD utilities. See table below for more information.
Valid values: A comma-separated list of flags
Default value: none, meaning that no flags have been passed
Example adpatch flags=hidepw
Table of flags:
logging Tells the AD utility whether loggingin Use of NOLOGGING when creating indexes may increase
to create indexes using adpatch performance.However it also makes database media recovery
LOGGING or NOLOGGING incomplete and does not work with standby databases.
mode
LOGGING is the default in adpatch so that database media
recovery and standby databases work by default. Use of
flags=nologgingin adpatch is discouraged for production
systems unless a complete backup is taken both before and after
running adpatch.
trace Tells the AD utility whether notrace Sometimes it is valuable to get RDBMS trace files during an AD utility run
to log all database for debugging purposes.The flags=traceoption provides an easy way
operations to a trace file to do this.
This option creates multiple trace files for the AD utility and the AD
workers. There is a new trace file for each time the utility reconnects to
the database.
driver=patch-driver-file-name
Tells adpatch the name of the patch driver file.Normally used in non-interactive mode.Only valid when
patchtop=patch-top-level-directoryis also specified.It is valid to specify a comma-separated list
Purpose:
of patch driver file names.This is not recommended and may be desupported in a future Oracle
Applications release.
Valid values: A file name
Default value: none, meaning that adpatch prompts for the patch driver file name
Example adpatch patchtop=/d1/apps/patches/2344175 driver=c2344175.drv
order=forward|backward
Purpose: Tells adpatch how to organize its list of jobs to run in a phase.Does not affect
the order in which phases (or sub-phases) are run.
Valid values: forwardor backward
forward, meaning that adpatch organizes its list of jobs to run in a phase in
Default value:
the order they are listed in the patch driver file
Example adpatch order=backward
patchtop=patch-top-level-directory
Tells adpatch the top-level directory for the current patch.Normally used in
Purpose:
non-interactive mode.
Valid values: A fully-qualified directory name
Default value: none, meaning that adpatch prompts for the patch directory
Example adpatch patchtop=/d1/apps/patches/2344175
preinstall=y|n
options=list-of-options
https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_adf.ctrl-state=18z88yi99f_69 3/8
3/29/13 Document Display
Purpose: Generic options passed to adpatch.See tables below for more information.
Valid values: A comma-separated list of options
Default value: none, meaning that no options have been passed
Example adpatch options=integrity
compilejsp Tells adpatch whether to compilejspfor Use compilejsp or In cases where multiple
automatically compile out- standard patches nocompilejspto change the non-merged patches are
of-date JSP files. JSP files default action. applied in a maintenance
are only compiled if the nocompilejspfor window, you can use
patch contains copyactions standard patch nocompilejspto save
for at least one JSP file. translations, time.
documentation
patches, and Merging multiple patches
documentation patch and applying a single
translations merged patch is normally a
better strategy.
Table of adpatch options that control specific actions in a patch driver file:
libout libout Use noliboutto turn off You must also specify nolibinand
The liboutcommand extracts files these commands. nocopyif you specify nolibout.
from the product library.
https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_adf.ctrl-state=18z88yi99f_69 6/8
3/29/13 Document Display
abandon=y
defaultsfile=defaults-file-name
distributed=y
interactive=y|n
localworkers=number-of-local-workers
menu_option=menu-option-value
parallel_index_threshold=parallel-index-threshold-value
https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_adf.ctrl-state=18z88yi99f_69 7/8
3/29/13 Document Display
Used by: adadmin, adpatch
Specifies the number blocks in a table. If a table contains less blocks than the
threshold setting, indexes are created with parallel workers and serial DML. If
Purpose:
the table contains more blocks than the threshold setting, indexes are created
with one worker and parallel DML.
0 to 2147483647; if set to 0, indexes are created with parallel workers and
Valid values:
serial DML.
Default value: 20000; meaning a threshold of 20,000 blocks.
Example adpatch parallel_index_threshold=15000
restart=y|n
wait_on_failed_job=y|n
Default value: n
workers=number-of-workers
Change Log
Date Description
https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_adf.ctrl-state=18z88yi99f_69 8/8