Use this window to define and modify your concurrent programs.
Build the execution file for your concurrent program.
Use the Concurrent Program Executables window to define a concurrent program executable for your operating system program.
The combination of application name plus program name uniquely identifies your concurrent program.
You see this longer, more descriptive name when you view your requests in the Requests window. If this concurrent program runs through Standard Request Submission, you see this name in the Submit Requests window when you run this program.
Enter a brief name that Oracle E-Business Suite can use to associate your concurrent program with a concurrent program executable.
The program's application determines what ORACLE username your program runs in and where to place the log and output files.
Indicate whether users should be able to submit requests to run this program and the concurrent managers should be able to run your program.
Disabled programs do not show up in users' lists, and do not appear in any concurrent manager queues. You cannot delete a concurrent program because its information helps to provide an audit trail.
Select the concurrent program executable that can run your program. You define the executable using the Concurrent Program Executables window. You can define multiple concurrent programs using the same concurrent program executable. See: Concurrent Program Executables.
Some execution methods, such as Oracle Reports, support additional execution options or parameters. You can enter such options in this field. The syntax varies depending on the execution method.
If you define a concurrent program with the bitmapped version of Oracle Reports, you can control the orientation of the bitmapped report by passing the ORIENTATION parameter or token. For example, to generate a report with landscape orientation, specify the following option in the Options field:
ORIENTATION=LANDSCAPE
Do not put spaces before or after the execution options values. The parameters should be separated by only a single space. You can also specify an orientation of PORTRAIT.
You can control the dimensions of the generated output with the PAGESIZE parameter. A specified <width>x<height> in the Options field overrides the values specified in the report definition. For example:
ORIENTATION=LANDSCAPE PAGESIZE=8x11.5
The units for your width and height are determined by your Oracle Reports definition. You set the units in your Oracle Reports menu under Report => Global Properties => Unit of Measurement.
If the page size you specify with the PAGESIZE parameter is smaller than what the report was designed for, your report fails with a "REP-1212" error.
The execution method your concurrent program uses appears here.
Valid values are:
| Spawned | Your concurrent program is a stand-alone program in C or Pro*C. |
| Host | Your concurrent program is written in a script for your operating system. |
| Immediate | Your concurrent program is a subroutine written in C or Pro*C. Immediate programs are linked in with your concurrent manage and must be included in the manager's program library. |
| Oracle Reports | Your concurrent program is an Oracle Reports script. |
| PL/SQL Stored Procedure | Your concurrent program is a stored procedure written in PL/SQL. |
| Java Stored Procedure | Your concurrent program is a Java stored procedure. |
| Java Concurrent Program | Your concurrent program is a program written in Java. |
| Multi Language Function | A multi-language support function (MLS function) is a function that supports running concurrent programs in multiple languages (as well as territories and numeric character settings). You should not choose a multi-language function in the Executable: Name field. If you have an MLS function for your program (in addition to an appropriate concurrent program executable), you specify it in the MLS Function field. |
| SQL*Loader | Your concurrent program is a SQL*Loader program. |
| SQL*Plus | Your concurrent program is a SQL*Plus or PL/SQL script. |
| Request Set Stage Function | PL/SQL Stored Function that can be used to calculate the completion statuses of request set stages. |
You can switch between Spawned and Immediate, overriding the execution method defined in the Concurrent Program Executable window, only if either method appears when the executable is selected and both an execution file name and subroutine name have already been specified in the Concurrent Program Executable window. See: Concurrent Program Executables.
You can assign this program its own priority. The concurrent managers process requests for this program at the priority you assign here.
If you do not assign a priority, the user's profile option Concurrent:Priority sets the request's priority at submission time.
If you want to associate your program with a predefined request type, enter the name of the request type here. The request type can limit which concurrent managers can run your concurrent program.
For use by Oracle E-Business Suite internal developers only. The incrementor function is shown here.
The MLS function, if any, used by the program.
The Multilingual Concurrent Request feature allows a user to submit a request once to be run multiple times, each time in a different language. If this program utilizes this feature, the MLS function can be used to determine which installed languages are needed for the request.
Beginning with Release 12.1, MLS functions can support multiple territories and numeric character sets as well as multiple languages.
See:
Oracle E-Business Suite Developer's Guide
Note: If your program has an MLS function associated with it and the "Use in SRS" box (below) is not checked, then the MLS function will be ignored.
Check this box to indicate that users can submit a request to run this program from a Standard Request Submission window.
If you check this box, you must register your program parameters, if any, in the Parameters window accessed from the button at the bottom of this window.
If you check the Use in SRS box, you can also check this box to allow a user to enter disabled or outdated values as parameter values.
Many value sets use special table columns that indicate whether a particular value is enabled (using ENABLED_FLAG, START_DATE_ACTIVE, and END_DATE_ACTIVE columns). These value sets normally allow you to query disabled or outdated values but not enter them in new data. For Standard Request Submission, this means that a user would not normally be allowed to enter disabled values as report parameter values when submitting a report, even if the report is a query-only type report.
Indicate whether your program should run alone relative to all other programs in the same logical database. If the execution of your program interferes with the execution of all other programs in the same logical database (in other words, if your program is incompatible with all programs in its logical database, including itself), it should run alone.
You can enter any specific incompatible programs in the Incompatible Programs windows.
Turns on SQL tracing when program runs.
Use this option to indicate that this concurrent program should automatically be restarted when the concurrent manager is restored after a system failure.
This box is checked if the program allows for a user to submit a request of this program that will reflect a language and territory that are different from the language and territory that the users are operating in.
For example, users can enter orders in English in the United Kingdom, using the date and number formats appropriate in the United Kingdom, then generate invoices in German using the date and number formats appropriate to their German customers.
If this box is left blank then a user can associate any installed language with the request, but the territory will default to the territory of the concurrent manager environment.
Note that this option should be set only by the developer of the program. The program must be written as NLS Compliant to utilize this feature. See: the Oracle E-Business Suite Developer's Guide.
Note that this option should be set only by the developer of the program. The program must be written as NLS Compliant to utilize this feature.
Parameters used in Standard Request Submission can have default values that are generated dynamically, such as by SQL statements, from profile option values, or using the current date or time. Check this box if the default parameter values should be recalculated upon resubmission or copying a request for this program.
For more information, see Recalculation of Dynamic Default Parameters in Standard Request Submission.
Select the output format from the following:
HTML
PCL (HP's Printer Control Language)
PS (Post Script)
Text
Attention: If you choose HTML or PDF as the output type with Oracle Report programs, you must use an appropriate printer driver that handles HTML or PDF files.
Indicate whether to automatically save the output from this program to an operating system file when it is run. This value becomes the default for all requests submitted for this program. The output of programs with Save set to No is deleted after printing.
If this is a Standard Request Submission program, users can override this value from the Submit Requests window.
If you enter No, your concurrent program's output is never sent to the printer.
Enter the minimum column and row length for this program's report output. Oracle E-Business Suite uses this information to determine which print styles can accommodate your report.
The print style you select depends on your system and printer setup. Print styles include:
132 columns and 66 lines (Landscape)
180 columns and 66 lines (Landwide)
80 columns and 66 lines (Portrait)
132 columns and 62 lines (A4)
Your list is limited to those styles that meet your program's columns and row length requirements.
If your program requires a specific print style (for example, a checkwriting report), use this check box to enforce that print style.
If you want to restrict your program's output to a single printer, enter the name of the printer to which you want to send your output. If your program has minimum or maximum columns or rows defined, your list of values is limited to those printers that can support your program's requirements.
Users cannot override your choice of printer from the Submit Requests or Requests windows.
Concurrent programs can be integrated with the Business Event System in Oracle Workflow. Business events can be raised at key points of the life cycle of a request to run a concurrent program. Users can subscribe to the business events and create their own business processes interacting with the concurrent programs.
Here you specify the points at which business events are enabled. The possible points are:
Request Submitted
Request On Hold
Request Resumed
Request Running
Program Completed
Post Processing Started
Post Processing Ended
Request Completed
Possible parameters for each event are:
REQUEST_ID REQUESTED_BY PROGRAM_APPLICATION_ID CONCURRENT_PROGRAM_ID STATUS COMPLETION_TEXT TIME_STAMP
| Copy to... | Choose this button to create another concurrent program using the same executable, request and report information. You can elect to copy the incompatibility and parameter details as well. |
| Session Control | Choose this window to specify options for the database session of the concurrent program when it is executed. |
| Incompatibilities | Choose this button to open the Incompatible Programs window. |
| Parameters | Choose this button to open the Concurrent Program Parameters window. |
Create another concurrent program using the same executable, request and report information as the current program. You can optionally copy the incompatibility and parameter details information as well.
Use this window to specify options for the database session of the concurrent program when it is executed.
Optionally specify the resource consumer group for the concurrent program.
See: Resource Consumer Groups in Oracle E-Business Suite.
Optionally specify a rollback segment to be used with the concurrent program. This rollback segment will be used instead of the default and will be used up until the first commit.
Attention: If you specify a rollback segment here, your concurrent program must use the APIs FND_CONCURRENT.AF_COMMIT and FND_CONCURRENT.AF_ROLLBACK to use the specified rollback segment. See: the Oracle E-Business Suite Developer's Guide.
Optionally specify an optimizer mode. You can choose ALL_ROWS, FIRST_ROWS, Rules, or Choose. You would specify an optimizer mode only for a custom program that may not perform well with the default cost-based optimizer (CBO) and needs tuning. You can use a different optimizer mode until your program is tuned for CBO.
If you are on a PCP/RAC environment, optionally specify the target node on which requests for this program will run. When requests for this program are submitted, they run on this node if possible.
If no specification is made for the concurrent program, a request will be picked up by any manager able to run it.
If the target node is down, any available manager will pick up the request for processing and log a message to FND_LOG_MESSAGES.
Optionally specify a Real Application Cluster (RAC) instance on which the program will run. When requests for this program are submitted, they run on this instance if possible.