Escolar Documentos
Profissional Documentos
Cultura Documentos
1
WHAT IS AD ADMINISTRATION?
AD Administration performs many important administrative
tasks to ensure Oracle Applications runs smoothly. You can
use AD Administration to complete some runtime tasks
during or after an installation or upgrade, or any time
thereafter. These tasks are divided into two categories: file
system tasks and database tasks.
2
BEFORE RUNNING ADADMIN
There are a few steps to perform before you run adadmin.
These are the same preparatory steps you would follow for running
any other AD utility, such as AutoPatch or AutoInstall.
3
• Other directories need to be in your PATH as well, such as the
location of the jre executable (from the Java Runtime
Environment).
You should update adovars.env to include all non-database specific
directories in your PATH.
4
RUNNING AD ADMINISTRATION
AD Administration asks you some initial questions.
Filename [adadmin.log] :
5
Some SQL scripts perform row set processing. You can set
the number of rows these scripts process.
Please enter the batchsize [1000] :
Example 2: If you don’t have forms files installed in this area, you
cannot generate them or run them from this $APPL_TOP.
Do you currently have Java and HTML files for Self-Service Applications
installed in this APPL_TOP [Yes] ?
• If these values are not correct, exit adadmin (by typing abort) and
edit your $ORACLE_HOME and $ORACLE_SID or $TWO_TASK
variables as needed.
6
AD Administration asks for the SYSTEM password. It then
determines the username for your Application Object Library
user.
AD Administration needs the password for your ’SYSTEM’ ORACLE schema
in order to determine your installation configuration.
7
AD ADMINISTRATION MAIN MENU
You can choose to maintain your Oracle Applications’
database objects or files.
AD Administration Main Menu
3. Exit AD Administration
8
MAINTAINING DATABASE OBJECTS
If you choose this option you are presented with a new
submenu of choices.
Maintain Applications Database Objects
9. Convert to MultiOrg
9
1. Validate APPS schema(s)
What does it do?
An output file, <APPS schema name>.lst, is produced for each APPS schema in
$APPL_TOP/admin/<db_name>/out. Review the file and fix any problems listed
by following the instructions given after the problem.
You may also want to run this task whenever receiving a runtime error that
suggests a problem coming from the AD_DDL package. For example, when
flexfield view generator or document sequences fail.
10
2. Compile APPS schema(s)
What does it do?
This task compiles all invalid packages, procedures or triggers that
reside in the APPS schema(s).
Sample run:
Enter your choice : 2
[Later...]
Assigned: file adappsgs.pls on worker 1 for product ad username APPLSYS.
[Later...]
11
3. Recreate grants and synonyms for APPS schema(s)
What does it do?
This task identifies missing grants from a base product schema to the
corresponding APPS schema or missing synonyms in the APPS schema for the
object, then recreates them. It also ensures the Applications Public schema is
set up correctly.
This task does not set up grants and synonyms for MultiLingual or
MultiCurrency schemas. To do that you must choose that specific task.
This step is never required, as FlexFields will automatically compile the data
when first used. This step alleviates a one-time runtime compilation performance
hit when automatically compiling the data.
12
5. Maintain multi-lingual tables
What does it do?
This task executes the <PROD>NLINS.sql or <PROD>NLADD.sql scripts for
multi-lingual products (AOL, AK, AX, AS, and AZ).
Multi-lingual operation uses translation (_TL) tables, which contain all translated
data associated with base tables. Each row in the translation table has a working
language and a source language. The working language indicates the rows that
are returned when running Applications forms in that language. The source
language indicates what language the data is really in.
When installing a language for the first time, the NLINS and
NLADD scripts initially set up this process by calling this package for every
translation table owned by the product. This adadmin task re-runs these scripts
to correct any discrepancies— i.e.: fix data that was replicated for some active
languages, but not all. For each missing row, it copies the matching row for the
base language, and sets the source language equal to the base language. The
data must later be replaced by translated data, either by a patch, or manually by
the user.
The NLADD script is provided by each of the multi-lingual products in the base
release and run by AutoInstall. If it needs to be patched (because of a data
model change), it is re-released as an NLINS script. AD Administration runs the
NLINS script if it exists, or the NLADD script if it doesn’t. The NLADD and NLINS
operate identically.
13
If there seems to be data missing from your translation tables, you should
choose this task to ensure the translation table contains rows for all translated
data in all active languages. This may occur if you are updating data in the
tables manually or through some other mechanism (not recommended!), or if you
have applied a patch that added new seed data improperly. (Patches to
translated data should use loaders, which populate the translation table
automatically, or SQL scripts, in which case the table handler must be called
explicitly to propagate the data to other languages.)
For example, suppose you have English and German installed. A query when
running Applications in English returns 30 rows, but when running in German
only returns 28 rows. This suggests the two extra rows exist in the translation
table for English, but not for German. The <PROD>NLINS or <PROD>NLADD
scripts, called through this adadmin task, should fix the problem.
If no such table exists, or if the table exists but has more than one row, AD
Administration displays an error message and fails. If the DUAL table exists and
has exactly one row, AD Administration succeeds.
14
7./8. Maintain MultiLingual or Multiple Reporting Currencies
schema(s)
What does it do?
This task invokes PL/SQL packages (see admntmls.pls and admntmcr.pls in
$AD_TOP/admin/sql) which maintain database objects for these features.
MRC and MLS are both implemented using "adjunct APPS schemas", meaning a
complete copy of the objects in each APPS schema is replicated (and enhanced,
in some cases) into an APPS_MRC and/or APPS_MLS schema. Whenever a
change is made to an APPS schema, the modifications must be reflected in the
adjunct schemas; otherwise, MRC and MLS functions may fail.
This task is only displayed on the Database Objects menu if you have
MultiLingual (MLS) or Multiple Reporting Currency (MRC) functionality currently
installed.
+ Note: If either of these menu items is not on the screen, subsequent menu
items are renumbered accordingly.
MultiLingual support is not built into base Release 11.0, although it may be
available later. (The menu option exists for Consultants implementing MLS.)
15
9. Convert to Multi-Org
What does it do?
This option allows you to convert a standard data group (not Multi-Org and not
Multiple Sets of Books architecture) into a Multi-Org product group with one
Operating Unit.
Before running this task, you must define an Operating Unit and set the site-level
AOL profile "MO:Operating Unit" to point to it. This profile value is used when
converting your existing data.
This task only displays on the Database Objects menu if you have not run it
previously or if you use a Multiple Sets of Books Architecture.
+ Note: If the menu item is not on the screen, subsequent menu items are
renumbered accordingly.
Warning: All users must log off Applications prior to and during this step
and you must shut down all concurrent managers.
This task may take anywhere from a few hours, for a fresh install, too much
longer, for an existing production database with a great deal of data. Part of the
conversion process involves updating every row in every Organization-sensitive
table with the ORG_ID of the default Operating Unit.
16
10. Convert to Multiple Reporting Currencies
What does it do?
This task creates and populates the adjunct APPS schema used for the Multiple
Reporting Currencies (MRC) feature.
Before running this task, you must perform several manual steps that validate
and clean up your data, to reduce the chances of failure during the conversion
process. See Appendix A of the Oracle Applications Installation manual for the
complete process.
This task only displays on the Database Objects menu if you have not run it
previously (and therefore have not implemented MRC support).
+ Note: If the menu item is not on the screen, subsequent menu items are
renumbered accordingly.
Warning: All users must log off Applications prior to and during this step
and you must shut down all concurrent managers.
This task may take anywhere from a few hours, for a fresh install, to much
longer, for an existing production database with a great deal of data. Part of the
conversion process involves updating every row in every Organization-sensitive
table with the ORG_ID of the default Operating Unit.
17
MAINTAINING FILES
If you choose option to maintain files then you are presented
with another submenu of choices.
Unix:
Maintain Applications Files
NT
Maintain Applications Files
----------------------------------------
18
This will be different in 11i, because the object files will be shipped for NT and
relinking also has to happen on NT.
19
1. Create Applications environment file/ Create Applications
environment subkey in registry
What does it do?
This creates an environment file for your current Oracle Applications
configuration. It also creates the env.html file that is stored under $JAVA_TOP
and used by the security procedures for HTML-based functionality.
NT:
Enter the name of your Oracle Applications registry subkey below.
Subkey name [VD11] :
The concurrent managers can put all the log and report files in a
where the client machines can view them.
"E:\oa\orant\plsql80\temp"
Enter the directory for temporary log/output files from PL/SQL programs.
Directory:
If all of your products are not physically located in the same APPL_TOP,
AD Administration cannot generate the correct environment file without
reading the file E:\oa\appltst\admin\topfile.txt.
Make sure the product locations listed in this file are correct
before contining, or type "abort" to exit AD Administration.
20
2. Relink Applications programs
What does it do?
Relinks your Oracle Applications binary executables.
AD Administration asks which products you want to link. You can choose all
products (the default), or a subset of products. You then have the option of
linking all executables (the default) or only specific ones for each product you
have chosen. Finally, you can link with debug information intact (typically you
should only do this if instructed to do so by Support/Development).
21
Sample run Unix:
Enter your choice : 2
Before proceeding with the relink, you may optionally want to:
- Go back to the menu by answering No below.
- Use an option on the Maintain Files menu
to generate your Applications environment file.
- Edit the file to add any customizations.
- Verify the list of executables in adlinkbk.txt which are saved
before relinking and add any additional executables as desired.
- Choose this option again, and proceed with the relink.
Enter list of products to link (’all’ for all products) [all] : oe inv
22
3. Copy files to destinations
What does it do?
Oracle Applications’use of Oracle Forms, Oracle Reports, Java and
HTML files require some files to be installed under common directories. This
option reads the product driver files to determine the set of files to copy from the
product tree to the destination (such as AU_TOP or JAVA_TOP). You are
prompted if you wish to copy a file only if it is missing (the default), or to
overwrite.
The problem would typically manifest itself in form and report generation, or
while executing HTML-based functionality.
Do you wish to copy UNCONDITIONALLY when a target file exists [No] ?
Please enter the filename you wish to use or press [RETURN] to accept
the default filename
[admvrf.lst] :
23
5. Generate message files
What does it do?
This step generates the binary US.msb files for each Application and each
language from the database definition.
The task first verifies your database character set, then asks for each type of file
if you want to regenerate Forms PL/SQL library files (pll to plx), menu files (mmb
to mmx), and executable files (fmb to fmx). The defaults are to regenerate all file
types.
The remainder of the task operates in the same manner as the "Relink
Applications programs" task. It asks which products you want to regenerate files
for, then asks if you want to regenerate specific forms objects for each selected
product.
If you choose to generate only specific objects, adadmin shows, in turn, a list of
library files, a list of menu files, and a list of forms files for the first product and
allows you to list the programs you want to link. It then generates those files and
repeats the process for all other products you’ve selected.
24
Sample run:
Enter your choice : 6
Generate specific forms objects for each selected product [No] ? yes
25
7. Generate report files
What does it do?
This step generates Oracle Reports PL/SQL libraries and binary (.rdf) files. You
should only perform this task if installing a language in a character set other than
what it is shipped in, or if instructed to in the readme.txt of a patch.
The task operates similarly to form generation. It first verifies your database
character set, then asks for each type of file if you want to regenerate Reports
PL/SQL library files (pll to plx), and executable files (rdf to rex, back to rdf). The
defaults are to regenerate all file types.
It then asks which products you want to regenerate files for, then asks if you
want to regenerate specific reports objects for each selected product.
If you choose to generate only specific objects, adadmin shows a list of library
files, followed by a list of reports, for the first product and allows you to list the
programs you want to link. It then generates those files and repeats the process
for all other products you’ve selected.
26
NEW AND CHANGED FEATURES
11.0 New Features
• Support for installation files in a subdirectory under
$APPL_TOP/admin.
• Support for failure notifications via email.
• More granularity on relinking of executables and generation of
forms, menus, and PL/SQL libraries.
• Support for MRC conversion and MRC and MLS maintenance.
27