Вы находитесь на странице: 1из 10

Concurrent Program Creation

For creating concurrent program, follow the following path:

Application Developer  Concurrent  Program


A. Once “Program” is clicked, following Concurrent Programs window shown
appears.

 Enter the name of concurrent Program and also enter Short Name for the
program.
 Mention the name of Application to which this program belongs.
 Enter the name of Executable to execute the program using specific Method.
One can create the executable and select it from “find” window. (Executable
Creation will be seen later the session).
 It’s optional to mention Request Type, Incrementor, and MLS Function.
The checkboxes can be checked for specific requirements.
For ex.
o Use in SRS: the concurrent program can be used in SRS.
o Run Alone: the concurrent program needs to be run alone, i.e. its
incompatible with other programs due to data unavailability, etc.
o Restart on System Failure: If system fails when this program is in
“running” state, it should be restarted when system is up.
o Enable Trace: The program is enabled for tracing back if in case it fails
somewhere in middle of execution.
 The output of program execution can be saved in one of the many Formats
like text, HTML, PostScript, xml, etc.
 One can even mention the number of rows Columns, Rows, Style.
 Printer can be selected to print the output in desired format.
 The Business Events can be checked for many conditions like Request
submitted, running, and many more.
B. The parameters required for the executing the program can be entered in the
Concurrent Program Parameters window which appears on clicking
“Parameters” (highlighted with pink color).

 The Program name and Application name will be implicitly filled.


 If there are any domains which may conflict the execution of this program,
then it needs to be mentioned in Conflicts Domain.
 The sequence of parameters can be managed by entering Sequence number.
 Enter the name of Parameter and (optional) Description.
Right then, Value Set must be mentioned, its details like default type,
description, etc. also can be mentioned.
 The Display properties can be set.
C. The programs which are not compatible while the executing the created
program can be entered in the Incompatible Programs window which appears
on clicking “Incompatibilities” (highlighted with pink color).

 Enter the name of Incompatible programs from particular Application.


 Specify the Scope, either “Set” scope or “Program” scope i.e. either this
incompatibility is only for this particular concurrent program or whole set if it
belongs to any.
 Specify the Type of incompatibility either “Domain” or “Global”.
D. The concurrent program database session control can be done in the window
which appears on clicking “Session Control” (highlighted with pink color).

 Select the Customer Group for this session.


 Mention the Rollback Segment i.e. the column which can be rolled back in
case of any database inconsistency.
 Select Optimizer Mode.
 Mention Target Node, Target Instance of that node.
E. All the same settings for current concurrent program can be copied to
another concurrent program, in order to save time in case of same
requirements. This can be done in the Copy to window which appears when
“Copy to” (highlighted with pink color) is clicked.

 Enter the new Program name and even Short name for the new program.
 Mention the Application to which this program belongs.
 Even the list of Incompatible Programs and Parameters can be included in
the new program by checking the boxes.
 Click OK.

Click “save” icon to save all the settings for this concurrent program and close it.
Executable Creation

Executables are needed to be selected while concurrent program creation. They can
be created by following the path mentioned below:

Application Developer  Concurrent  Executable


The following window will appear once “Executable” is clicked.

 Enter the new Executable name and even Short name for it.
 Mention the Application to which this executable belongs.
 Description can be entered (optional).
 One of the many Execution Methods can be selected for the executable.
Refer following image to know different Execution Methods i.e. Java Stored
Procedure, Java Concurrent Program, Oracle Reports, PL/SQL Stored
Procedure, SQL*Loader, etc.
 Mention the Execution File Name, Subroutine Name and Execution File Path.
 Only if the method selected is Request Set Stage Functions, Stage Function
Parameters needs to be entered.
Thus we have seen how to create a concurrent program and executable.