Oracle Adapter R3 Implementation Guide
Oracle Adapter R3 Implementation Guide
Implementation Guide
r3
This documentation and any related computer software help programs (hereinafter referred to as the
“Documentation”) is for the end user’s informational purposes only and is subject to change or withdrawal by CA at
any time.
This Documentation may not be copied, transferred, reproduced, disclosed, modified or duplicated, in whole or in
part, without the prior written consent of CA. This Documentation is confidential and proprietary information of CA
and protected by the copyright laws of the United States and international treaties.
Notwithstanding the foregoing, licensed users may print a reasonable number of copies of the documentation for
their own internal use, and may make one copy of the related software as reasonably required for back-up and
disaster recovery purposes, provided that all CA copyright notices and legends are affixed to each reproduced copy.
Only authorized employees, consultants, or agents of the user who are bound by the provisions of the license for
the product are permitted to have access to such copies.
The right to print copies of the documentation and to make a copy of the related software is limited to the period
during which the applicable license for the Product remains in full force and effect. Should the license terminate for
any reason, it shall be the user’s responsibility to certify in writing to CA that all copies and partial copies of the
Documentation have been returned to CA or destroyed.
EXCEPT AS OTHERWISE STATED IN THE APPLICABLE LICENSE AGREEMENT, TO THE EXTENT PERMITTED BY
APPLICABLE LAW, CA PROVIDES THIS DOCUMENTATION “AS IS” WITHOUT WARRANTY OF ANY KIND, INCLUDING
WITHOUT LIMITATION, ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
OR NONINFRINGEMENT. IN NO EVENT WILL CA BE LIABLE TO THE END USER OR ANY THIRD PARTY FOR ANY
LOSS OR DAMAGE, DIRECT OR INDIRECT, FROM THE USE OF THIS DOCUMENTATION, INCLUDING WITHOUT
LIMITATION, LOST PROFITS, BUSINESS INTERRUPTION, GOODWILL, OR LOST DATA, EVEN IF CA IS EXPRESSLY
ADVISED OF SUCH LOSS OR DAMAGE.
The use of any product referenced in the Documentation is governed by the end user’s applicable license
agreement.
Provided with “Restricted Rights.” Use, duplication or disclosure by the United States Government is subject to the
restrictions set forth in FAR Sections 12.212, 52.227-14, and 52.227-19(c)(1) - (2) and DFARS Section 252.227-
7014(b)(3), as applicable, or their successors.
All trademarks, trade names, service marks, and logos referenced herein belong to their respective companies.
Chapter 1: Introduction 7
The Purpose of This Guide ...................................................................... 7
Overview ..................................................................................... 8
Supported Oracle Versions ..................................................................... 8
Contents v
Appendix A: Windows Adapter Configuration After Installation 39
Access ConfigOapAdp to Configure the Adapter ................................................. 39
Create an Oracle Configuration ................................................................ 40
Edit an Oracle Configuration ................................................................... 42
Delete an Oracle Configuration ................................................................ 42
Create a New Oracle Access ID ................................................................ 43
Index 79
vi Implementation Guide
Chapter 1: Introduction
This section contains the following topics:
Introduction 7
Overview
Overview
Unicenter JM Adapter for Oracle Applications acts as an
intermediary between a job management engine and Oracle
Applications. When the job runs, it connects to the Oracle
database and collects the data needed to define the task.
8 Implementation Guide
Chapter 2: Windows Installation
This section contains the following topics:
In addition, you must have installed one of CA's job management engines or a
job management agent, set the environment variables, and sourced the
environment.
Any CA job scheduler, such as Unicenter AutoSys JM, Unicenter CA-7, CA-
JobTrac, or Unicenter Job Management Option.
You must also install an Oracle Client before installing the adapter.
More information:
Windows Installation 9
Install the Adapter on a Windows System
2. Click Next.
Note: You can click Cancel at any time to quit the installation. If you click
Cancel, the Exit Setup page opens. Click Yes to quit the installation or No
to continue the installation. If the installation is terminated, no software is
installed on the computer.
Express
Custom
Note: If you selected the Express installation, some of the following steps
will not apply to your installation.
10 Implementation Guide
Install the Adapter on a Windows System
Documentation
If you do not know the directory location, click Browse to browse for and
select a directory.
Defines the service name used to name the configuration created from
this installation.
Oracle Access ID
Defines the password associated with the specified Oracle Access ID.
Password verify
Windows Installation 11
Post-Installation Tasks for Windows Systems
Responsibility
Default: SYSADMIN
When the installation completes, you must restart your system before
proceeding.
More information:
More information:
12 Implementation Guide
Post-Installation Tasks for Windows Systems
If sqlplus is available on your system, you can use it to verify the Oracle
service name. To verify the service name, run sqlplus as follows:
sqlplus oracle_id/password@database_name
oracle_id
password
database_name
Windows Installation 13
Set Up and Run an Unattended Installation on a Windows System
3. Change to the drive in which you inserted the installation media and enter
the following command at the command prompt to record the response file
for unattended installation:
setup /r /f1”path_to_response_file\silent.iss”
path_to_response_file
Note: Do not include a space between f1 and the response file path or the
installation will fail.
The setup program creates the response file at the specified location.
14 Implementation Guide
Set Up and Run an Unattended Installation on a Windows System
8. Change to the drive in which you inserted the installation media, and enter
the following command to run the previously recorded response file:
setup /s /f1”path_to_response_file\silent.iss”
path_to_response_file
Note: Do not include a space between f1 and the response file path or the
installation will fail.
When the installation completes, you must restart your system before
proceeding.
More information:
Windows Installation 15
Chapter 3: UNIX Installation
This section contains the following topics:
In addition, you must have installed one of CA's job management engines or a
job management agent, set the environment variables, and sourced the
environment.
Any CA job scheduler, such as Unicenter AutoSys JM, Unicenter CA-7, CA-
JobTrac, or Unicenter Job Management Option.
You must also install an Oracle Client before installing the adapter.
If you will use Unicenter JM Adapter for Oracle Applications with Unicenter
AutoSys JM, you must make sure the system is properly configured before you
install the adapter.
UNIX Installation 17
Upgrading a Unicenter AutoSys Adapter for OAP Installation
If you previously installed Unicenter AutoSys Adapter for OAP, the Unicenter
JM for Oracle Applications post-installation process replaces the current
auto_oap11 executable file with a symbolic link to the new auto_oap11
executable file. Existing job definitions will run without modification after the
new installation.
oap_setup.sh [-t trace_file] [-p log_file] [-r response_file] [-s] [-F] [-x]
[-v] [-a output_response_file]
-t trace_file
-p log_file
-r response_file
-s
18 Implementation Guide
Install the Adapter on a UNIX System
-F
-x
-v
-a output_response_file
Indicates to create a response file with the specified name to use when
running an unattended (silent) installation.
2. Click Next.
Note: You can click Cancel at any time to quit the installation. If you click
Cancel, the Exit Setup page opens. Click Yes to quit the installation or No
to continue the installation. If the installation is terminated, no software is
installed on the computer.
3. Accept the terms of the license agreement, and click Next. You must scroll
to the end of the license agreement to enable the I Agree button.
The Installation Location page opens. If you did not accept the license
agreement, the installation is terminated and no software is installed on
the computer.
4. Enter the installation location for the Unicenter JM Adapter for Oracle
Applications, and click Next.
/opt/CA/UnicenterJMAOracleApps
UNIX Installation 19
Install the Adapter on a UNIX System
5. Select the owner and group names for the Unicenter JM Adapter for Oracle
Applications files, and click Next.
Owner
Default: root
Group
Default: sys
If the owner or group is not defined in the system, select the Create the
owner or group account if they are not defined in the system check box,
thereby creating a new owner or group account.
Defines the service name used to name the configuration created from
this installation.
TNS_ADMIN Directory
Defines the directory path of the tnsnames.ora file. This value is set as
the TNS_ADMIN setting for the run-time environment.
Defines the password associated with the specified Oracle App. Access
ID.
Password verify
20 Implementation Guide
Install the Adapter on a UNIX System
Responsibility
Default: SYSADMIN
8. Verify that the installation information is correct, and click Install Product.
When the installation completes, you must close all sessions before
proceeding.
More information:
Set Up and Run an Unattended Installation on a UNIX System (see page 24)
UNIX Installation 21
Post-Installation Tasks for UNIX Systems
Unicenter AutoSys JM
Workload agent
More information:
Configuring TNS_ADMIN
22 Implementation Guide
Post-Installation Tasks for UNIX Systems
If sqlplus is available on your system, you can use it to verify the Oracle
service name. To verify the service name, run sqlplus as follows:
sqlplus oracle_id/password@service_name
oracle_id
password
service_name
When you use the Unicenter JM Adapter for Oracle in AIX operating
environments, you must define the NLS33 directory and the timezone.dat file.
In general, you can fulfill these requirements in either of the following ways:
Set the ORACLE_HOME environment variable to point to an Oracle 9.0 or
higher instance. The adapter will search this directory for the appropriate
NLS33 and timezone.dat files.
Explicitly set the ORA_NLS33 environment variable to point to an NLS33
directory and set the ORA_TZFILE environment variable to point to a
timezone.dat file.
UNIX Installation 23
Set Up and Run an Unattended Installation on a UNIX System
1. Mount the installation media, and issue the following command at the
command prompt to record the response file for unattended installation:
oap_setup.sh -a output_response_file
-a output_response_file
oap_setup.sh -s -r response_file
-r response_file
When the installation completes, you must close all sessions before
proceeding.
More information:
24 Implementation Guide
Reinstalling the Adapter on a UNIX System
During reinstallation, you cannot change the installation directories from those
specified during the original installation.
UNIX Installation 25
Chapter 4: Using the Adapter
This section contains the following topics:
To define the job, create a command job with your CA job management engine
and include ca_oap11 and its parameters in the command attribute. You can
schedule a CA job management engine to start based on a variety of criteria,
including the completion of one or more jobs, the occurrence of a specified
date and time, or any combination of the above.
Note: For more information about scheduling criteria, see the appropriate CA
job management engine documentation.
If the adapter cannot start a request, or if the job fails for another reason, use
the appropriate attribute in the job definition if you want the job management
engine to submit the job again.
After the job is submitted to Oracle Applications, the adapter will not exit until
the Oracle Applications job either completes successfully or terminates. By
default, the adapter polls the Oracle Applications database every 30 seconds
to check the job status.
[-D] [-L] [-l] [-P seconds] [-H intervals] -S service_name [-i oracle_id] [-u
user] [-r responsibility] [-a application] [-M errors] [-p printer] [-s
printstyle] [-n copies] ApplicationShortName ProgramShortName [prog_args]
[-D] [-L] [-l] [-P seconds] [-H intervals] -S service_name [-i oracle_id] [-u
user] [-r responsibility] [-a application] [-M errors] [-p printer] [-s
printstyle] [-n copies] [-b]
-j ApplicationShortName RequestShortName [-R [-p printer] [-s printstyle] [-n
copies] stage_name sequence_no [prog_args]]
-D
-L
Indicates to log information about the job to the Event Processor log.
-l
Limits: If the Unicenter Job Manager Agent and Unicenter JM Adapter are
not running on the same machine as the Concurrent Manager, Unicenter
JM Adapter may be unable to locate the request log.
-P seconds
Defines the interval, in seconds, at which the system checks the status of
the task.
Default: 30
-H intervals
Default: 4
28 Implementation Guide
ca_oap11 Command Syntax
-S service_name
-i oracle_id
Defines the user name and password of the ORACLE ID under which the
concurrent program is to run.
Default: apps
-u user
Default: SYSADMIN
-r responsibility
Limits: You must enclose responsibility in quotation marks when its value
contains spaces.
-a application
Default: SYSADMIN
-M errors
Defines the maximum number of database connection errors that can
occur before the adapter terminates.
If the adapter fails to get a status back from the Oracle Applications job
after attempting the specified number of times, it exits with "Exceeded
maximum number of stat failures". Setting this parameter to a low number
quickly alerts you to problems communicating with the Oracle database.
Default: 50
-p printer
-s printstyle
Default: PORTRAIT
Limits: You can set this parameter to any value from the
FND_PRINTER_STYLES table (for example, PORTRAIT or LANDSCAPE).
-n copies
-j ApplicationShortName
Defines the short name of the application for the concurrent program. This
name, with the concurrent program name, uniquely identifies the
concurrent program for your concurrent request.
ProgramShortName
Defines the name of the concurrent program. This name, with the
concurrent program application short name, uniquely identifies the
concurrent program for your concurrent request.
RequestShortName
Defines the name of an Oracle concurrent request set. This name, with the
concurrent program application short name, uniquely identifies the
concurrent request set for your concurrent request.
The print parameters (-p, -s, and -n) specified for a request set apply to
all the concurrent programs in a request set. Individual parameters
specified in a concurrent program that is part of a request set override the
print parameters specified for the request set.
-R
After the -R parameter, you can use the same syntax as for the global
print parameters to override the print parameters. After specifying the
optional print parameters, you must specify the unique concurrent
program to which these overrides pertain. This is specified by supplying
the Stage_name and Sequence_no values of the concurrent program in
the stage. After you identify the specific concurrent program, you can
specify individual concurrent program argument overrides.
30 Implementation Guide
ca_oap11 Command Syntax
Stage_name
Defines the stage name of the concurrent program that the -R option
preceded. The stage name and the sequence number uniquely identify the
concurrent program defined in the request set.
Sequence_no
prog_args
Position
The first parameters on the command line after the ca_oap11 program
name replace any default parameter in the same position.
For example:
Note: Any following methods used to override the arguments will forego
the position method. Once used on the job definition command line for an
Oracle Applications program, any following argument cannot use the
Position method again until the end of the arguments specification of the
current program.
For example:
For example:
Column Name
Precede the column name with a percent sign (%). For example:
Note: If the argument contains embedded spaces, you must enclose the
entire specification in quotation marks. For example,
32 Implementation Guide
Running a ca_oap11 job
You can define the Unicenter JM Adapter for Oracle Applications job as you
would a typical command line program or utility. The job management agent
on the computer on which the adapter is installed invokes Unicenter JM
Adapter for Oracle Applications and returns the run status of the adapter to its
scheduler.
Note: For more information about running a ca_oap11 job, see the
appropriate documentation for your CA job management engine.
Note: The examples in this section are generic and are intended as an aid to
correct command line syntax. See the appropriate documentation for specific
examples for using your job management engine.
This example shows a job definition that uses the Default Oracle Access ID and
password defined in the configuration VIS, which is defined during installation
or with the configuration utility.
-S VIS
Defines the service name that identifies the Oracle Applications server.
FND
FNDSCARU
This example shows a job definition that sets the global print options for the
program FNDSCRUR to use printer Print1 to print two copies of every report. It
also uses explicit position and explicit column sequence overrides to override
two arguments in the specified program.
-i apps@VIS
-p Print1
-n 2
FND
FNDSCRUR
“Oracle Purchasing”
Buyer
34 Implementation Guide
ca_oap11 Single Request Examples
This example shows a job definition that runs in debug mode and sets the
global print options for the program FNDSCRUR to use printer Print1 to print
one copy of every report. It also uses explicit position and explicit column
sequence overrides to override two arguments in the specified program.
-D
-i apps
-S VIS
Defines the name of the service that defines the Oracle Applications
server.
-p Print1
-n 1
FND
FNDSCRUR
@2=Buyer
%1=”Oracle Purchasing”
More information:
Overriding ca_oap11 Parameters from the Command Line (see page 32)
Note: The examples in this section are generic. See the appropriate
documentation for specific examples for using your job management engine.
This example shows a job definition that uses the Default Oracle Access ID and
password defined in the configuration VIS, which is defined during installation
or with the configuration utility.
-S VIS
Defines the service name that identifies the Oracle Applications server.
-j
FND
FNDRSSUB727
36 Implementation Guide
ca_oap11 Request Set Examples
This example sets the global print options for request set FNDRSSUB727 to
printer Print1 and prints one copy of every printable report in the request set.
It also overrides the arguments for the reports defined in the request set by
specifying the stage and sequence number.
-S VIS
Defines the service name that defines the Oracle Applications server.
-p Print1
-n 1
-j
FND
FNDRSSUB727
-R Stage10 10 Both “” “”
-S VIS
Defines the service name that defines the Oracle Applications server.
-p Print1
-n 1
-j
FND
FNDRSSUB727
-R Stage10 10
-p peach
-n 2
38 Implementation Guide
Appendix A: Windows Adapter
Configuration After Installation
This section contains the following topics:
ConfigOapAdp.exe
2. Click New.
3. Enter the path to the Oracle home directory on the client computer, and
click Next.
ConfigOapAdp verifies the validity of the directory you entered, and the
Create a New Configuration dialog opens.
Note: If you do not know the location of the Oracle home directory, click
the button next to the Oracle Home Directory field to browse for and select
the directory.
4. Select a database connection from the Configuration Name list, and click
Add ID.
The Create a New ID dialog closes and the Create a New Configuration
dialog refreshes to include the new Oracle access ID in the Oracle Access
ID List box.
6. Select an Oracle access ID to use as the default for this configuration from
the Oracle Access ID List, and click Set As Default.
40 Implementation Guide
Create an Oracle Configuration
Default: SYSADMIN (if you did not change this value during
installation).
Responsibility
Defines the default responsibility for the user identified in the Oracle
Access ID box.
Default: System Administrator (if you did not change this value
during installation).
Default: SYSADMIN (if you did not change this value during
installation).
More information:
2. Select a configuration from the Available Configurations List area, and click
Edit.
3. Update the fields on the Edit Configuration dialog as appropriate, and click
OK.
To create a new Oracle access ID, click Add ID in the Oracle Access ID
List area.
To delete an Oracle access ID, select the ID from the Oracle Access ID
List area and click Delete ID.
More information:
2. Select a configuration from the Available Configurations List area, and click
Delete.
42 Implementation Guide
Create a New Oracle Access ID
ID
Password
Confirm Password
ConfigOapAdp saves the new ID, the Create a New ID dialog closes, and
the Oracle Access ID List area of the Create a New Configuration or the
Edit Configuration dialog refreshes.
Main Menu:
0. Exit.
1. Create a new configuration.
2. Edit a configuration.
3. Delete a configuration.
4. List defined configuration name.
5. Show a configuration.
6. Save the configuration.
Please select one action ( 0-6 ) :
The utility prompts you to enter the name of the new configuration.
The utility prompts you to enter the Oracle client's home directory.
4. Enter the path to the Oracle home directory on the client computer, and
press Enter.
ConfigOapAdp verifies the validity of the directory you entered, and the
Create New Configuration menu appears.
5. Select option 1. Set default Oracle access ID, and press Enter.
Note: If necessary, you can select option 5. Add new ID to create a new
Oracle access ID.
46 Implementation Guide
Create an Oracle Configuration
6. Enter an Oracle access ID to use as the default for this configuration, and
press Enter.
7. Select option 2. Set default OAP application user I, and press Enter.
The utility prompts you to enter the default Oracle Applications user ID to
use for applications that use this configuration.
Note: If you do not enter a value and you did not change this value during
installation, the default Oracle Applications user ID is set to SYSADMIN.
The utility prompts you to enter the default responsibility for the user
identified by the Oracle Access ID.
10. Enter a responsibility to use as the default for this configuration, and press
Enter.
Note: If you do not enter a value and you did not change this value during
installation, the default responsibility is set to System Administrator.
11. Select option 4. Set default Responsibility Application Short Name, and
press Enter.
The utility prompts you to enter the default responsibility application short
name.
12. Enter a responsibility application short name to use as the default for this
configuration, and press Enter.
Note: If you do not enter a value and you did not change this value during
installation, the default responsibility application short name is set to
SYSADMIN.
Main Menu:
0. Exit.
1. Create a new configuration.
2. Edit a configuration.
3. Delete a configuration.
4. List defined configuration name.
5. Show a configuration.
6. Save the configuration.
Please select one action ( 0-6 ) :
The utility prompts you to enter the name of the configuration to edit.
48 Implementation Guide
Edit an Oracle Configuration
To create a new Oracle access ID, select option 5. Add new ID, and
press Enter.
To delete an Oracle access ID, select option 7. Delete an ID, and press
Enter.
The utility prompts you to enter the name of the configuration to delete.
The utility prompts you that the configuration has been deleted, and the
Main menu appears.
50 Implementation Guide
Appendix C: ca_oap11 Job Status and
Exit Codes
This section contains the following topics:
UNKNOWN means the job completed with a status other than NORMAL,
WARNING, ERROR, CANCELLED, or TERMINATED.
ca_oap11 tracks job phases and statuses in Unicenter AutoSys JM only. If you
use the -L argument, this information is printed as a comment to the Event
Processor log. For example:
You can use the max_exit_success job attribute to determine what exit codes
the job management engine maps to success.
NORMAL 0
WARNING 8
ERROR 16
CANCELLED 32
TERMINATED 64
UNKNOWN 128
The following additional job statuses are valid for Unicenter JM Adapter for
Oracle Applications:
The adapter checked for the status of the job the specified number of
times and failed to get a status.
52 Implementation Guide
Warning Messages
Warning Messages
This section describes warning messages and provides descriptions and
required actions for each instance.
Reason:
Action:
None.
Reason:
Action:
None.
Reason:
Action:
None.
Reason:
Action:
None.
Reason:
Action:
None.
Reason:
Action:
Reason:
A negative value was used with -M for maximum number of status failure.
Action:
Reason:
A negative value was used with the -H option for heartbeat pace.
Action:
986 Unable to obtain routine address for EmEvt_wto; error code=%d. Unicenter Event Logging
disabled.
Reason:
Action:
54 Implementation Guide
Warning Messages
987 Unable to load CAUEVT.DLL; error code=%d. Unicenter Event Logging disabled.
Reason:
Action:
988 Unable to load library %s. Unicenter Event Logging is not available.
Reason:
Action:
989 Unable to obtain function address for EmEvt_wto. Unicenter Event Logging is not available.
Reason:
Action:
Reason:
Action:
Reason:
Unicenter JM Adapter for Oracle Applications could not locate the Oracle
Applications log file.
Action:
Remove the -l parameter from the job definition, or meet the requirements to
use the -l parameter. The -l parameter is only available when Unicenter JM
Adapter for Oracle Applications is running on the same computer as the Oracle
Applications server.
Reason:
Action:
Check the system log on the Oracle Applications server or the host computer
to determine the specific cause and action.
Reason:
Action:
Reason:
The OCI DDL command failed to set sql trace mode to "on."
Action:
Verify that the owner of the Unicenter JM Adapter for Oracle Applications job
has rights to turn on trace mode on the Oracle database server.
56 Implementation Guide
Warning Messages
995 The default Application Short Name is not set. “SYSADMIN” is used instead.
Reason:
Action:
Set a default Application Short Name, either with the -a parameter or through
the configuration utility.
996 The Default Responsibility Name is not set. “System Administrator” is used instead.
Reason:
Action:
Set a default Responsibility Name, either with the -r parameter or through the
configuration utility.
997 The default user name is not set. “SYSADMIN” is used instead.
Reason:
Action:
Set a default Oracle Application User ID, either with the -u parameter or
through the configuration utility.
Reason:
-L is not working.
Action:
Reason:
The -b parameter is defined, but the job is not defined as a request set job.
Action:
Remove the -b parameter from the job definition if the job is not a request set
job or define appropriate additional parameters to define a request set job.
58 Implementation Guide
Error Codes
Error Codes
This section describes error codes, and provides descriptions and required
actions for each instance.
Reason:
Action:
Reason:
(UNIX only) Unable to create a new process for Unicenter JM Adapter for
Oracle Applications.
Action:
Reason:
Action:
Check the system status.
Reason:
Action:
Reason:
Action:
Reason:
Action:
Reason:
Action:
Reason:
Action:
Reason:
Action:
Check the system status.
60 Implementation Guide
Error Codes
Reason:
Action:
Reason:
Action:
Reason:
Action:
Reason:
Action:
Reason:
The specified path or file name does not match the specified file status mode.
Action:
Specify the correct path or file name of the file status mode.
Reason:
Action:
Make sure that the path specified by <path> is a valid directory, and that the
job owner has access rights to the specified directory of <path>.
Reason:
Action:
Make sure that the path specified by <path> is a valid directory, and that the
job owner has access rights to the specified directory of <path>.
Reason:
Action:
Make sure that the path specified by <path> is a valid directory, and that the
job owner has access rights to the specified directory of <path>.
Reason:
Action:
Check the job definition and remove any invalid command line switches.
62 Implementation Guide
Error Codes
Reason:
Action:
Reason:
Action:
Reason:
Action:
Reason:
Action:
None.
Reason:
Action:
None.
Reason:
Failed to open the specified file in the specified mode, with the error returned
by fopen.
Action:
Make sure the file specified by <file name> exists, and that job owner has
access rights to the specified file.
Reason:
Action:
Make sure the uname utility is available for Unicenter JM Adapter for Oracle
Application's run-time environment and is accessible by the job owner.
218 TNS_ADMIN is not set. Unable to use it for database sign on. Please use configuration to set
one.
Reason:
Action:
64 Implementation Guide
Error Codes
219 Unable to locate Unicenter JM Adapter for Oracle Applications install path.
Reason:
Action:
Reason:
Connection error with an Oracle error code; unable to log in to specified Oracle
Applications server.
Action:
Make sure that the service name, Oracle access ID, and password are correct.
Reason:
(Windows only) Unable to create a new process for Unicenter JM Adapter for
Oracle Applications.
Action:
Reason:
Action:
Specify a valid Oracle service name for the Oracle connection by using -S
service name or -i user/password@service name, and recheck the validity of
the command line options.
Reason:
Either application short name or request set name is not specified in the job
definition.
Action:
Specify both application short name and request set short name in the job
definition.
Reason:
Either application short name or program short name is not specified in the job
definition.
Action:
Specify both application short name and program short name in the job
definition.
225 invalid syntax: %s [opts] -j <app_short_name> <request_set_name_ [-R [Prog opts]...], {Prog
opts] part has syntax error.
Reason:
Action:
Specify the program options in the job definition and make sure they meet the
requirements of the program.
Reason:
Action:
66 Implementation Guide
Error Codes
Reason:
Action:
Set the program active. Check the Oracle Application server, or check the
database connection between the Unicenter JM Adapter for Oracle Applications
computer and the Oracle Applications server.
Reason:
(UNIX only) The configuration file was not found, or the owner of the job does
not have proper access rights.
Action:
Make sure $OAPDIR is correctly set at run time, and that $OAPDIS/config has
proper access for the job owner.
Reason:
Action:
Windows: Make sure the Unicenter JM Adapter for Oracle Applications
registry setting is intact. You must run the installation program to repair any
problems.
UNIX: Make sure the configuration file is intact through the configuration
utility. If the configuration file is intact, check your system memory usage
status.
230 log_EMConsole -> Error Calling Unicenter Event Management - EmEvt_wto rc=%s(%d).
Reason:
Action:
231 Unable to open log file. Please check the permission of <INSTALL_PATH/log directory or
available Disk space. Error fopen(%s).
Reason:
Action:
Reason:
Unable to locate a SQL statement for the flex field whose resolving method is
set as a SQL statement.
Action:
Make sure the flex field is resolved through a SQL statement. Check the Oracle
report definition after resolving the flex field.
Reason:
Unable to resolve the value of the flex field command as overridden by the
set_cmdline_vals function.
Action:
Make sure the command line options used to override the flex field in the job
definition meet syntax and Oracle report definition requirements.
Reason:
Failed to set printer options for an Oracle report; either the printer is not
defined or the printing style is not defined.
Action:
Make sure the printer is defined on the host system and the Oracle instance,
then check that the printing style is available for the specified printer.
68 Implementation Guide
Error Codes
Reason:
Unable to obtain the request ID for the requested Oracle Application job
because of a run-time database communication error; either the request
submit procedure failed, or OCI has a run-time error during the request ID
query.
Action:
Reason:
Programs were not submitted for the request set or the submission for a
request set failed.
Action:
Reason:
The Oracle API failed to obtain the request set definition from the Oracle
Applications instance.
Action:
Reason:
Action:
Reason:
Action:
240 Job definition has unassigned command line options for request set <%s>.
Reason:
Command line syntax error; either the stage code or sequence number for the
overridden program is wrong. Unicenter JM Adapter for Oracle Applications
cannot locate the program specified in the job definition from the request set
definition.
Action:
Make sure the stage code and sequence number following the -R parameter
correctly specify the program in the request set.
Reason:
Action:
Reason:
Action:
70 Implementation Guide
Error Codes
Reason:
Action:
Correct the problems listed in the Unicenter JM Adapter for Oracle Applications
job definition according to the cause, or check the system status.
244 Failed to abort request <%s>. Cause: %s(<error code>) in method: %s.
Reason:
Failure to abort the request in the Oracle Applications instance due to the
reason stated in the log.
Action:
Reason:
Action:
246 Failed to obtain application table name for flex value set id = %ld.
Reason:
Failed to obtain application table name for flex value set ID.
Action:
Reason:
Unable to obtain request status from Oracle Applications instance, with an OCI
run-time error; the communication channel may be temporarily lost.
Action:
248 src_mem_err
Reason:
Unable to acquire memory for an OCI function call with an OCI run-time error.
Action:
Reason:
Action:
Reason:
Invalid program or request set short name with the specified application short
name.
Action:
Make sure both application short name and program or request set short name
are correctly specified in the job definition.
72 Implementation Guide
Error Codes
Reason:
The ID is not defined in the configuration or the password supplied for the ID
is incorrect.
Action:
Use a valid ID for the configuration name or make sure you are using the
correct password. The configuration name is specified in the job definition with
the -i option or defined in the configuration file.
Reason:
There are undefined syntax errors in the job information specified in the
Unicenter JM Adapter for Oracle Applications job definition.
Action:
Reason:
There are undefined syntax errors in the command line options specified in the
Unicenter JM Adapter for Oracle Applications job definition.
Action:
Reason:
Either the service name is not defined or it does not match one of the defined
values.
Action:
Specify a correct service name for the Oracle Applications instance. The
service name must be used as the Unicenter JM Adapter for Oracle
Applications configuration name.
255 Unable to obtain install path from environment variable OAPDIR. (UNIX only)
Reason:
Action:
Make sure the OAPDIR environment variable is set by the installation program
and is available at Unicenter JM Adapter for Oracle Applications run time.
74 Implementation Guide
Information Codes
Information Codes
This section describes Information Codes and provides descriptions for each
instance.
Reason:
Action:
None.
Reason:
Action:
None.
Reason:
Action:
None.
Reason:
Action:
None.
Reason:
Action:
None.
302 Program - <PROGRAM DESC> <stage - <STAGE DESCR> (,SEQ %d>)> <set - <SET DESCR>> of
<REQUA+EST ID> is <PHASE>. Status: <STATUS>.
Reason:
Action:
None.
303 Program - <PROGRAM DESCR> <stage - <STAGE DESCR> (<SEQ %d>)> <set - <SET DESCR>> of
<REQUEST ID> is Completed. Status: <STATUS>.
Reason:
Action:
None.
401 Stage - <STAGE DESCR> (<SEQ %d>) of <REQUEST ID> has started!
Reason:
Action:
None.
402 Stage - <STAGE DESCR> (<SEQ %d>) of <REQUEST ID> is <PHASE>. Status: <STATUS>.
Reason:
Action:
None.
76 Implementation Guide
Information Codes
403 Stage - <STAGE DESCR> (<SEQ %d>) of <REQUEST ID> is completed. Status: <STATUS>.
Reason:
Action:
None.
Reason:
Action:
None.
502 Set - <SET DESCR><<SET CODE>> of <REQUEST ID> is <PHASE>. Status: <STATUS>.
Reason:
Action:
None.
503 Set - <SET DESCR><<SET CODE>> of <REQUEST ID> is Completed. Status: <STATUS>.
Reason:
Action:
None.
Index 79
T
technical support, contacting • iii
TNS_ADMIN, configuring • 22
tnsnames.ora file, verifying location • 23
U
unattended installation
UNIX • 24
Windows • 14
UNIX installation
adapter configuration after installation • 45
installation procedure • 18
post-installation considerations • 22
pre-installation considerations • 17
reinstallation procedure • 25
service name, verifying • 13
TNS_ADMIN, verifying • 22
tnsnames.ora file, verifying location • 23
unattended installation • 24
Unicenter AutoSys Adapter for OAP,
upgrading • 18
upgrading • 18
W
warning messages, ca_oap11 command • 53
Windows installation
adapter configuration after installation • 39
installation procedure • 10
Oracle service name • 13
post-installation tasks • 12
pre-installation considerations • 9
unattended installation • 14
80 Implementation Guide