Exforsys.com
 
Home Tutorials Oracle Apps
 

Oracle Apps Concurrent Processing

 

Oracle Apps Concurrent Processing

Page 1 of 4

Oracle Apps 11i Free Training : Concurrent Processing : This document talks about the concurrent processing in oracle applications. It will give the step-by-step procedure of creating concurrent programs in oracle applications. All types of concurrent programs are described in detail. Concurrent programs can be scheduled to run or manually run in oracle applications. In Oracle Applications, concurrent processing simultaneously executes programs running in the background with online operations to fully utilize your hardware capacity, hence the name ‘Concurrent Processing’. You can write a program (called a ”concurrent program”) that runs as a concurrent process. Typically, you create concurrent programs for long–running, data–intensive tasks, such as posting a journal or generating a report.


Concurrent Programs


A concurrent program is an instance of an execution file, along with parameter definitions and incompatibilities. Concurrent programs use concurrent program executables to locate the correct execution file. Several concurrent programs may use the same execution file to perform their specific tasks, each having different parameter defaults and incompatibilities.


Concurrent Program Executable

A concurrent program executable links an execution file or and the method used to execute it with a defined concurrent program. Under Concurrent Processing, an execution method may be a program written in a standard language, a reporting tool, or an operating system language.


An execution method can be a PL/SQL Stored Procedure, an Oracle Tool such as Oracle Reports or SQL*Plus, a spawned process, or an operating system host language.


Concurrent Program Execution File

A concurrent program execution file is an operating system file or database stored procedure which contains your application logic and can be executed by either invoking it directly on the command line or by invoking a program which acts upon it. For example, you run a Pro*C program by invoking it on the command line. You run a SQL script by running SQL*Plus and passing the name of the SQL script without the .sql extension.


Steps to Create a Concurrent Pro

1. Executable :

The first step in creating a concurrent program in oracle applications is to create the concurrent program executable. To do this, navigate to Application Developer responsibility after you login to Oracle Applications. To login, you can take the help of the ‘Topic11 - Oracle Applications Login Document’.

To open the Executable form follow the below mentioned navigation path.

Application Developer à Concurrent à Executable.



Figure 1. Executable Form Navigation


You will see the form as shown in figure 2 below.



Figure 2. Executable Form


Field Description


i) Executable - Enter executable name here. Enter any user friendly name.


ii) Short Name - Enter short name for your executable. This is used for mapping the executable with the concurrent program. Usually executable name are of 8 characters.

iii) Application - Give the application to which the executable belongs to. E.g. you want some program to run from oracle payables then account payables should be entered as application name.

iv) Description - Give the brief description of the executable in this field.

v) Execution Method - Here you need to choose the appropriate execution method for your executable. Following are the possible execution methods which are commonly used in oracle applications.


  • Oracle Reports – used for the RDF reports
  • Host – used for shell scripts, basically the language of the host operating system
  • PL/SQL Stored procedure – used to run the stored procedure through oracle applications
  • SQL*Loader – used to run the sql loader programs
  • SQL*Plus - used to run the anonymous PL/SQL blocks. It will get executed in the same fashion as you are running on SQL Plus.
  • Java Stored Procedure – The execution file is a Java stored procedure.
  • Java Concurrent Program – Used for program written in Java.
  • Spawned – used for c or pro*c Program. Mainly used by standard oracle interfaces.
  • Perl Concurrent Program – used for programs written in CGI Perl.
  • Request Set Stage Function – PL/SQL stored function that can be used to calculate the completion statuses of request set stages.
  • Immediate – execution file is a program written to run as subroutine of the concurrent manager. Oracle doesn’t recommend use of this executable type.
  • Multi-Language function – execution file is an MLS function that supports running concurrent program in multiple languages.

PL/SQL Stored Procedure, Oracle Reports, Host, SQL*loader, SQL*Plus are the most commonly used executable types.


vi) Executable File name – This should contain the name of the executable file. In case of PL/SQL Stored procedure or Java Stored Procedure it should be the fully defined name of the stored procedure.

vii) Subroutine Name – This field is only used when executable type is spawned or immediate.

viii) Execution File Path -

ix) The Stage Function Parameters button opens a window that allows you to enter parameters for the Request Set Stage Function. This button is only enabled when you select Request Set Stage Function as your Execution Method.


Next Page: Oracle Apps Concurrent Processing - Page 2


Read Next: Oracle Apps Concurrent Library Window



 

 

Comments


furkanalam said:

  Nice one
September 15, 2005, 2:48 pm

geetha24 said:

  Good One
July 24, 2006, 1:04 pm

Abdo said:

  Very Informative.... Keep up the good work.....
July 28, 2006, 9:26 am

Chakri07 said:

  A very good article for oracle developers those who work on development environment
August 10, 2006, 12:25 am

KARMI said:

  your are excellent..... ;)
August 18, 2006, 11:51 am

walker said:

  Very neatly explained step by step
December 2, 2006, 3:07 pm

B.Raju said:

  Excellent Article very Good
December 22, 2006, 2:31 am

Durgaprasad said:

  This material is gud,

But give detailed description of each field
Its better to learn more for beginners
February 4, 2007, 9:23 am

KT said:

  Very Good site. Well laid out with good examples. Much easier to use than the official documentation.
May 16, 2007, 10:28 pm

Zylan said:

  Way the explanation is given, really useful for beginners and whoever wants to refresh their knowledge.
June 20, 2007, 2:29 am

Lee Cheng said:

  Good information. If will be even better if it includes how to set email notification should the concurrent process fails.
September 16, 2007, 8:40 am

VINOD said:

  u can add the complete slide shots upto the report or forms execution in apps . thank you
November 2, 2008, 12:38 am

gopi said:

  Good informationm,can u give some more information like if a concurrent program is running from a long time,what may be the problem.Actually it has to complete the same in the minutes.So please can u clear me what may be the issue,and where we can have a look ...
December 4, 2008, 5:38 am

Prashant Salode said:

  Hi,
I am using java concurrent Program to call shell script.
In Shell Scrip i want APPS user name and Password,to exucute SQLLoader Command.
IF we use Host Conncurrent program, we getUSer name and password directly. any idea how i can get this in java concureent program.

Thanks,
Prashant
August 26, 2009, 1:54 am

Post Your Comment:

Members Please Login
Your Name:*
e-mail ID:(required for notification)*
Image Verification: 
 
 Subscribe    

Sponsored Links

 

Subscribe via RSS


Get Daily Updates via Subscribe to Exforsys Free Training via email


Get Latest Free Training Updates delivered directly to your Inbox...

Enter your email address:


 

Subscribe to Exforsys Free Training via RSS
 

 
Partners -  Privacy and Legal Policy -  Site News -  Contact   Sitemap  

Copyright © 2000 - 2010 exforsys.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape