aol faq1 by brain

Upload: chirlapavan

Post on 08-Apr-2018

221 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/7/2019 AOL FAQ1 by Brain

    1/37

    Where do concurrent request logfiles and output files go?

    The concurrent manager first looks for the environment variable $APPLCSF. If this is

    set, it creates a path using two other environment variables: $APPLLOG and $APPLOUT

    It places log files in $APPLCSF/$APPLLOG

    Output files go in $APPLCSF/$APPLOUT

    So for example, if you have this environment set:

    $APPLCSF = /u01/appl/common

    $APPLLOG = log

    $APPLOUT = out

    The concurrent manager will place log files in /u01/appl/common/log, and output files in/u01/appl/ common/out

    Note that $APPLCSF must be a full, absolute path, and the other two aredirectory names.

    If $APPLCSF is not set, it places the files under the product top of the applicationassociated with the request.

    So for example, a PO report would go under $PO_TOP/$APPLLOG and$PO_TOP/$APPLOUT

  • 8/7/2019 AOL FAQ1 by Brain

    2/37

    Logfiles go to: /u01/appl/po/9.0/log

    Output files to: /u01/appl/po/9.0/out

    Of course, all these directories must exist and have the correct permissions. Note that allconcurrent requests produce a log file, but not necessarily an output file.

    What are the logfile and output file naming conventions?

    Logfiles: l.req

    Output files: If $APPCPNAM is not set: .

    If $APPCPNAM = REQID: o.out

    If $APPCPNAM = USER: .out

    Where: = The request id of the concurrent request

    And: = The id of the user that submitted the request

    How do I check if Multi-org is installed?

    SELECT multi_org_flag FROM fnd_product_groups;

    How do I find out what the currently installed release of Applications is?

    SELECT release_name FROM fnd_product_groups

  • 8/7/2019 AOL FAQ1 by Brain

    3/37

    How do I find the name of a form?

    GUI: Use Help->About Oracle Applications

    Scroll down to find the form name

    Character: Use \Help->Version

    How do I lookup ORA errors? (and TNS errors)

    Use: oerr ora XXXX

    or: oerr tns XXXX

    where XXXX is the error number (This also supports a number of other error types. Use

    the 3-letter error prefix in place of 'ora')

    How do I generate a message file (usaeng.msb)?

    Use: FNDMDCMF applsys/pwd 0 Y APP usaeng

    where: applsys/pwd is the APPLSYS user and password and APP is the short name of

    the application (like PO or INV)

    Page 2 of 5

    How do I submit a concurrent request from PL/SQL?

  • 8/7/2019 AOL FAQ1 by Brain

    4/37

  • 8/7/2019 AOL FAQ1 by Brain

    5/37

    You're just full of trick questions today Applications for NT does not include charactermode forms.

    Why does Help->Tools->Ex

    amine ask for a password?

    The profile option Utilities:Diagnostics is set to NO

    This profile option controls whether users can use the Examine utility.

    The password should be the APPS password.

    How do I set the name of the site that shows up under Help->About Oracle Applications?

    Set the profile option 'Site Name'

    How do I open a form in query-only mode?

    Navigate to the Form Functions form (Application->Function)

    Query the particular form and add the parameter QUERY_ONLY=YES

    Not all forms will accept this parameter however.

    How do I find the version of an installed product? (such as Reports, SQL*Net etc.)

    One of the easiest ways is to run the product if you can. Running Reports designer willgive you the Reports version, running SQL*Plus will give you its version etc.

  • 8/7/2019 AOL FAQ1 by Brain

    6/37

    Another easy way is to launch the Oracle Installer and look in the installed products onthe right side. It will list all the products installed with their versions.

    Another way is to look at the .rgs file. This file is located in ORACLE_HOME/orainstOn UNIX, it will be called unix.rgs. On the PC, it will be called Windows.rgs. This file will listall the products installed and their versions. Note though that this file is not always correct. Forexample, patching Reports from 2.5.5.4 to 2.5.5.8 will not show up in this file as the newversion. Running Reports Designer is the best way of getting the correct version.Also, on UNIXthere is an executable called 'inspdver'. It is located in $ORACLE_HOME/orainst. Running itwill produce a display of all the installed products. It just pulls the information from unix.rgs, soit may show the wrong information as well.

    I just ran AutoInstall successfully, but I don't have character mode! (on UNIX)

    You probably picked 'Server' when asked what type of installation to do. This choiceinstalls everything except the character mode forms and executables. The choice you wanted topick was 'Standalone'. You can recreate character mode by unloading the forms directories,regenerating the forms, and relinking aiap.

    I changed a profile option, but it doesn't seem to take effect?

    Profile option values are cached, so you need to log out and back in in order to have thenew value take effect. Switching responsibilities will usually do it too.

    How do I generate one single form? (As opposed to using adadmin to generate them all)

    Character mode forms: Use adfrmgen

    Usage: adfrmgen filelist=

    Or: adfrmgen product="product shortname(s)"

  • 8/7/2019 AOL FAQ1 by Brain

    7/37

    [filepath="dir-path/filename"]

    Page 3 of 5

    For example :

    adfrmgen filelist=filelist.txt

    adfrmgen product="gl" filepath="forms/GLXSSMTY.inp" (one file)

    adfrmgen product="gl" filepath="forms" (entire directory)

    adfrmgen product="gl" (entire product)

    adfrmgen product="fnd gl" (multiple products)

    adfrmgen product="fnd gl" filepath="forms" (entire directories from multiple products)

    GUI forms: use f45gen

    Usage: f45gen module= userid=output_file= module_type=form batch=yes compile_all=special

    Example:

    f45gen module=/u16/appl/nca/au/1.0/forms/US/FNDCPMCP.fmb

    userid=APPS_APPDEMO/APPS

    output_file=/u16/appl/nca/fnd/7.5/forms/US/FNDCPMCP.fmx

    module_type=form batch=yes compile_all=special

  • 8/7/2019 AOL FAQ1 by Brain

    8/37

    Note that in Release 11, adadmin will allow you to compile specific forms

    What do I do if I am missing an executable from my APPL_TOP?

    Binary executables are created with adrelink. For example, if addmimp is missing use:

    adrelink force=y ranlib=y "ad addmimp"

    In Release 11, where do I apply all of these new patch drivers?

    (i.e. where do I apply the c driver, the d driver and the g driver?)

    The 'c' driver is the copy driver. It copies files and relinks executables, similar to the oldpatch.drv.

    The 'd' driver is the database driver. It runs scripts against the database like the old dbdriver.

    The 'g' driver is new to release 11. It is the generate driver. It generates forms, reports,and message files.

    In a multiple-tier environment, you should apply the copy driver to all tiers, the databasedriver to the administration tier, and the generate driver to the forms and concurrent processingtier.(Some of these may be the same tier)

    Adpatch will ask questions about what kind of APPL_TOP it is in, so it will know whatportions of the driver to run.

  • 8/7/2019 AOL FAQ1 by Brain

    9/37

    Concurrent Manager

    Check/set the PMON method?

    To check the PMON method:

    1) cd $FND_TOP/sql

    sqlplus apps/apps @afimchk.sql

    This will tell whether the internal manager is running, what the PMON method is, andwhere the log file is,

    To set the PMON method:

    1) first shut the concurrent managers down

    2) cd $FND_TOP/sql

    3) sqlplus apps/apps @afimpmon.sql LOCK (or RDBMS)

    Enable/disable the Conflict Resolution Manager?

    Use the system profile option 'Concurrent: Use ICM'

    Setting this to No (which is the default) allows the CRM to be started

    Setting it to Yes causes the CRM to be shutdown and the Internal manager will take overthe conflict resolution duties.

    If the CRM will not start (it is started automatically by the ICM), check this profileoption.

  • 8/7/2019 AOL FAQ1 by Brain

    10/37

    Clean out the Concurrent Manager tables?

    First, be sure to shutdown the managers

    As the APPLSYS user:

    DELETE from fnd_concurrent_processes;

    UPDATE fnd_concurrent_queues

    SET running_processes=0, max_processes=0;

    DELETE from fnd_concurrent_requests WHERE status_code='T';

    If you do not need the information in fnd_concurrent_requests and it is getting very large,you can truncate this table as well. This also works to shutdown the concurrent managers afterkilling the OS processes.

    Tell concurrent manager processes apart?

    Use: pf -ef | grep FNDLIBR

    This will produce output like:

    vd11 13703 13660 0 May 11? 0:01 FNDLIBR FND Concurrent_Processor

    MANAGE OLOGIN="APPS/94A491A1000000000000000000 n1070161 24936 249270 Apr 29? 0:05 FNDLIBR FND Concurrent_Processor

  • 8/7/2019 AOL FAQ1 by Brain

    11/37

    MANAGE OLOGIN="APPS_APPDEMO/94C4B1C10000000000 n1070161 2493824927 0 Apr 29? 0:06 FNDLIBR FND Concurrent_Processor

    MANAGE OLOGIN="APPS_APPDEMO/94C4B1C10000000000 n1070161 2492724922 0 Apr 29? 2:03 FNDLIBR FND CPMGR FNDCPMBR sysmgr ="" sleep=60pmon=20 diag=N logfile=/u16/app

    The last process, #24927, shows 'FNDLIBR FND CPMGR'

    This one is the Internal concurrent manager

    Notice that it gives some of the parameters it was started with.

    The other processes showing 'Concurrent_Processor' are Standard manager processes

    Notice that the Internal manager process is the parent process of the Standard managers.(processes 24936 and 24938)

    Other managers will have the name of the executable, like ARLIBR or INVLIBR:

    $ ps -ef | grep ARLIBR

    vd11 13683 13660 0 May 11? 0:20 ARLIBRAPPS/82A2A4940000000000000000000 000000000000000000000000000000000 AR ART

    The Conflict Resolution manager will look like:

    $ ps -ef | grep FNDCRM

    n1070161 24941 24927 0 Apr 29? 1:17 FNDCRMAPPS_APPDEMO/84BFBEB900000

  • 8/7/2019 AOL FAQ1 by Brain

    12/37

    0000000000000000000000000000000000000000000000

    I hit the Restart button to start the Standard manager but it still didn't start?

    Telling a manager to restart just sets the status to Restart. The ICM will start it the nextprocess monitor session or the next time the ICM starts. Use Activate to start a managerimmediately.

    Also, when a manager is deactivated manually, the ICM will not restart it. You will needto set it to Restart, or activate it manually.

    Why does the "to start" date of my concurrent request default to 24 hours in the past?

    The short story: If you get patch 387798, then this behavior can be turned on and offusing the profile "Concurrent: Multiple Time Zones".

    The long story: This behavior is a temporary fix until we can build time zone support intothe product in a future release.

    If the profile "Concurrent: Request Start Time" is set, then we default the "to start" dateof a request to that value. Otherwise we assume that the user wants the request to start as soon aspossible.

    Problems occur when the user is in a time zone that is ahead of the time zone in which the

    concurrent managers are running. Say a user submits the request in a field office in the Easterntime zone at 9:00, so we default the requested start date to 9:00. But now the concurrentmanagers are at HQ in California, so user's request will run at 9:00 Pacific time, 12:00 Eastern.In order to default requests to start as soon as possible, we submit them to start 24 hours beforetheir request date. This covers the worst case time zone difference.

    Page 5 of 5

  • 8/7/2019 AOL FAQ1 by Brain

    13/37

    Can I submit a report set using CONCSUB?

    No, you may not. This is documented in bug 334337.

    How do I submit a request with CONCSUB that has a null parameter?

    Use '""' as the null parameter. (Single quote, double quote, double quote, single quote)

    How can users submit requests with CONCSUB without giving them the APPS password?

    Try this:

    1. As the applmgr user, create a shell script that runs CONCSUB Either hardcode theparameters for the report, or pass them in as parameters to The script.

    2. Change the permissions on this script to 700. Now no one can read this script and getthe password.

    3. Create another script that calls the first script. Pass parameters along if you need to.

    4. Change the permissions on this script to 6755. Now any user can execute and read thesecond script, which calls the first one. Have the users run this script to submit their requests

    without knowing the password.

    What is the syntax for controlling the concurrent manager using startmgr and concsub in

    NT?

  • 8/7/2019 AOL FAQ1 by Brain

    14/37

    On NT, the concurrent manager is run as an NT service. You start and stop the managersusing the Services control panel. See the Applications Installation manual for NT, Appendix Afor details.

    See pg. 5-9 of this manual for instructions on creating the concurrent manager service.

    Java/JDK

    How do I tell what version of the JDK I am using?

    At a command prompt, type: java -version

    How do I get a stack dump from the appletviewer?

    In the DOS window where appletviewer is running, hit Control and Break

    What is the difference between the JDKand JRE?

    1. JRE is the Java Runtime Environment

    2. JDK is the Java Developers Kit

    They both can run Java programs, the JDK is also a full development environment. Itcontains the Java compiler and other utilities required to create Java programs, The JRE can onlyrun the programs.

    What is this CLASSPATH thing anyway?

  • 8/7/2019 AOL FAQ1 by Brain

    15/37

    1. CLASSPATH is an environment variable the Java interpreter uses to search for classfiles.

    2. It is set to a colon separated list of directories, similar to the PATH variable.

    3. It it used both to locate the Java system classes, and user-written classes.

    4. In Java 1.0, you always had to set it, or it would not be able to find the system classes.

    5. In Java 1.1, the interpreter uses classes.zip and the current directory as a default ifCLASSPATH is not set.

    6. This means that using the 1.1 JDK on the PC, you do not need to set CLASSPATH.

    7. It also means that if you do set it, you must include the defaults, or the system classeswill not be found.

    8. The JRE uses rt.jar instead of classes.zip, so always include this file in CLASSPATH.

  • 8/7/2019 AOL FAQ1 by Brain

    16/37

  • 8/7/2019 AOL FAQ1 by Brain

    17/37

  • 8/7/2019 AOL FAQ1 by Brain

    18/37

  • 8/7/2019 AOL FAQ1 by Brain

    19/37

    What is the story on those yellow bars on the appletviewer windows?

    The Java security mechanism normally prevents applets from performing certain actions

    on the user's machine. These include accessing the local disk, launching programs, and printing.

    This is a good thing, since you would not normally want to download an applet off theInternet and have that applet be able to do these things on your computer. (That would spoil allthe fun for the virus writers)

    The yellow bars signify that this is an 'untrusted' applet, and it will not be allowed to do

    these things. (You will not be able to print from Action->Print, or launch a browser to view Helpfiles.)

    Oracle supplies a digital certificate with Applications that essentially turns the applet intoa 'trusted' applet, and the yellow bars are not displayed.

  • 8/7/2019 AOL FAQ1 by Brain

    20/37

  • 8/7/2019 AOL FAQ1 by Brain

    21/37

    Step 1:

    a. Create the directory

    b. Create a top directory for your product underneath $APPL_TOP.

    c. Make sure applmgr has the correct ownership and permissions.

    d. Create subdirectories underneath this directory that you will need.

    e. (bin, forms, log, out, lib, etc.)

    f. Add an entry into your APPLSYS.env file to set the product top environmentvariable:

    PF_TOP=/u01/appl/pf

    g. export PF_TOP

    h. If you will be creating custom 10SC forms, you will need to create a top directory onthe client PCs. Create a Forms and a Mesg directory underneath it, and add theproduct top environment variable to oaconfig.ora.

    Step 2:

    a. Create the Oracle ID

    b. Create a new Oracle ID in the database. Give the new schema any roles andprivileges it will need.

    c. At this time you can run $AD_TOP/admin/sql/adappss.pls and adappsb.pls to createthe APPS_DDL and APPS_ARRAY_DDL packages.

    Step 3:

    a. Register the Oracle ID

    b. Navigate to the Register Oracle ID form. Enter the custom Oracle ID, password, andlogical database. Select 'Register' and save the screen.

  • 8/7/2019 AOL FAQ1 by Brain

    22/37

    Step 4:

    a. Register the application

    b. Navigate to the Register Applications form. Enter the long and short applicationname, abbreviation, and product top environment variable.

    Step 5:

    a. Add the application to a datagroup

    b. Navigate to the Define Data Group form. Add your application to a datagroup, using

    the APPS schema as the Oracle ID.

    Step 6:

    a. Register custom tables and packages

    b. Custom tables and indexes are created in the custom schema, and registered withAOL using the AD_DD package. See Appendix B of the Installation manual for anexample of this. The APPS schema must have a synonym for all tables, and be

    granted privileges on them. Custom packages and

    c. Procedures must be created in the APPS schema.

    d. Now custom concurrent programs, forms, reports, etc. can be registered against yournew application.

    How do I register a custom concurrent program?

    Step 1:

    a. Register a concurrent program executable

    b. Navigate to the Define Executable form (AOL Reference manual pg 9-84)

    c. This determines the type of program being run, ie an Oracle Report, a C program, ashell script etc.

  • 8/7/2019 AOL FAQ1 by Brain

    23/37

    d. Fill in the executable name, application and execution method.

    e. For the Execution File, fill in just the filename. The concurrent manager will look inthe appropriate directory under the application's top directory.

    f. For spawned programs, the file must be in the bin directory, for Oracle Reports therdf file must be in the srw directory.

    g. For PLSQL concurrent programs, put the name of the stored procedure.

    Step 2:

    a. Define the concurrent program

    b. Navigate to the Define Concurrent Program form (AOL Reference manual pg 9- 87)This form links a concurrent program to the executable you just defined, as well asdefines the programs parameters, incompatibilities, and other options.

    c. Enter the concurrent program name, application, short name and description.

    d. Check Standard Submission if you want to be able to submit this program from theStandard Report Submission form.

    e. Enter the name of the executable you defined and any report information ifnecessary.

    f. Also define any parameters your program needs here and any incompatibilities.

    Step 3:

    a. Add the concurrent program to a Report Group

    b. First you will need to find the name of the Report Group to use.

    c. Go to Security->Responsibility and query the responsibility you want to run theprogram with.

    d. It should show a Report Group name. Query this name in Security->Responsibility->Report

    e. Add your new program to the list of available programs. Now when you go to submita request with this responsibility, you will be able to submit your custom program.

  • 8/7/2019 AOL FAQ1 by Brain

    24/37

    How do I compile a custom C program?

    Spawned programs:

    Step 1:

    Write the code

    Step 2:

    Compile the source

    You must use the makefile under $FND_TOP/usrxit

    Use: make -f $FND_TOP/usrxit/Makefile program.o

    We do not support using any other makefile

    Step 3:

    Link the program

    This part is a little tricky. You need to create a custom makefile for this step.Use$FND_TOP/lib/sample.mk as a starting point. Copy this file to the lib directory under yourapplications top directory. Rename it .mk (ie fnd.mk, gl.mk etc) Modify this fileaccording to the directions in it. Basically you need to add a target and build commands for yourexecutable.

    Next, use adrelink to link the executable: adrelink force=y ranlib=y "shortnameprogramname"

    Step 4:

    Register the program as in the above question

  • 8/7/2019 AOL FAQ1 by Brain

    25/37

    Immediate programs:

    Just don't do it.

    How do I run a shell script as a concurrent program?

    1. Write the script and call it .prog. Place the script under the bin directory underyour applications top directory.

    For example, call the script CUSTOM.prog and place it under $CUSTOM_TOP/bin

    2. Make a symbolic link from your script to $FND_TOP/bin/fndcpesr

    For example, if the script is called CUSTOM.prog use this:

    ln -s $FND_TOP/bin/fndcpesr CUSTOM

    Page 3 of 4

    3. Register a concurrent program as described above, using an execution method of'Host'Use the name of your script without the .prog extension as the name of theexecutable For the example above, you would use CUSTOM

    4. Your script will be passed at least 4 parameters, in $1 through $4

    These will be: orauser/pwd, userid, username, request_id. Any other parameters youdefine will be passed in $5 and higher. Make sure your script returns an exit status.

    If your script returns a failure exit status but the concurrent manager does not report theerror (shows it as still running normal) apply patch 442824

    Can I run my custom forms with Forms Designer?

  • 8/7/2019 AOL FAQ1 by Brain

    26/37

  • 8/7/2019 AOL FAQ1 by Brain

    27/37

    This procedure is defined in the TEMPLATE form. It contains instructions in thecomments on how to modify this procedure. You must do this for all of the custom forms youwrite or you will have problems closing the window.

    How do I preserve customizations through an upgrade?

    The upgrade process may overwrite any data owned by one of the Oracle Applications.

    Move all of your customizations (menus, responsibilities, report groups, etc) to a customapplication. After the upgrade, you can move them back if you want.

    Can I disable the items in the Help menu? (like Trace, Debug, etc)

    Yes.

    Web Applications

    How can I assign responsibilities in Release 11 Web Apps?

    In Release 11, regular applications users and web users have been merged. This means

    that the same user name and password is used to log into Apps and Web apps. Also, OSSWAresponsibilities are assigned in the Define Users form, just like regular responsibilities.

    This also means that FND_WEB_USERS is no longer used.

  • 8/7/2019 AOL FAQ1 by Brain

    28/37

    Where do I find the configuration files for the Webserver?

    Go to $ORAWEB_ADMIN (usually $ORACLE_HOME/ows/admin).

    Navigate down to the ows directory, then into the site name directory. There should be awrb directory here and a http_servername directory here. Under the wrb directory will be aconfig directory and a log directory. In config, you will find a file called wrb.app. This filecontains the configuration for the Web Request Broker.

    It is all the information you enter on the admin screens. (ie, all the DAD info, cartridge

    info, virtual directories etc..)

    The log directory of course holds log files. Back up in the http_servername directory, youwill find directories for each listener. In each directory there will be config and log directoriesagain.

    In the config directory is a file called sv'listenername'.cfg (substitute the name of the listener)

    This file holds the configuration for this listener.

    This link should be named the same as your script without the .prog extension. It shouldbe in the same directory as the script.

    Page 4 of 4

    Table Registration API

  • 8/7/2019 AOL FAQ1 by Brain

    29/37

    1. You register your custom application tables using a PL/SQL routine in the AD_DDpackage.

    2. To alter a registration you should first delete the registration, then reregister the table orcolumn.

    3. You should delete the column registration first, then the table registration.

    4. The AD_DD API does not check for the existence of the registered table or column inthe database schema, but only updates the required AOL tables. You must ensure that thetables and columns registered actually exist and have the same format as that definedusing the AD_DD API.

    5. You need not register views.

    Example

    Procedures in the AD_DD Package

    procedure register_table (p_appl_short_name in varchar2,p_tab_name invarchar2,p_tab_type in varchar2,p_next_extent in number default 512,p_pct_free in numberdefault 10,p_pct_used in number default 70);

    procedure register_column (p_appl_short_name in varchar2,p_tab_name in varchar2,p_col_name in varchar2,p_col_seq in number,0p_col_type in varchar2,p_col_width in number,

    p_nullable in varchar2,p_translate in varchar2,p_precision in number default null,p_scale innumber default null);

    procedure delete_table (p_appl_short_name in varchar2,p_tab_name in varchar2);

    procedure delete_column (p_appl_short_name in varchar2,p_tab_name in varchar2,

    p_col_name in varchar2);

  • 8/7/2019 AOL FAQ1 by Brain

    30/37

    p_appl_short_name: The application short name of the application that owns the table(usually your custom application).

    p_tab_name: The name of the table (in uppercase letters).

    p_tab_type: Use T if it is a transaction table (almost all application tables), or S for aseed data table(used only by Oracle Applications products).

    p_pct_free: The percentage of space in each of the tables blocks reserved for futureupdates to the table (199). The sum of p_pct_free and p_pct_usedmust be less than 100.

    p_pct_used: Minimum percentage of used space in each data block of thetable (199).The sum of p_pct_free and p_pct_used must be less than 100.

    p_col_name: The name of the column (in uppercase letters).

    p_col_seq: The sequence number of the column in the table (the order in which thecolumn appears in the table definition).

    p_col_type: The column type (NUMBER, VARCHAR2, DATE, etc.).

    p_col_width: The column size (a number). Use 9 for DATE columns, 38 for NUMBER

    columns (unless it has a specific width).

    p_nullable: Use N if the column is mandatory or Y if the column allows null values.

  • 8/7/2019 AOL FAQ1 by Brain

    31/37

    p_translate: Use Y if the column values will be translated for an Oracle Applicationsproduct release (used only by Oracle Applications products) or N if the values are nottranslated (most application columns).

    p_next_extent: The next extent size, in kilobytes. Do not include the K.

    p_precision: The total number of digits in a number.

    p_scale: The number of digits to the right of the decimal point in a number.

    PART3

    PACKAGE AD_DD

    package ad_dd as

    /* $Header: addds.pls 110.3 98/09/18 18:24:23 porting ship $ */

    procedure register_table (p_appl_short_name in varchar2, p_tab_name in varchar2,

    p_tab_type in varchar2, p_next_extent in number default 512, p_pct_free in number default 10,p_pct_used in number default 70);

    procedure register_column (p_appl_short_name in varchar2, p_tab_name in varchar2,

  • 8/7/2019 AOL FAQ1 by Brain

    32/37

    p_col_name in varchar2, p_col_seq in number, p_col_type in varchar2, p_col_width in number,

    p_nullable in varchar2, p_translate in varchar2, p_precision in number default null, p_scale innumber default null);

    procedure register_primary_key(p_appl_short_name in varchar2, p_key_name invarchar2, p_tab_name in varchar2, p_description in varchar2, p_key_type in varchar2 default'S',p_audit_flag in varchar2 default 'N', p_enabled_flag in varchar2 default 'Y');

    procedure update_primary_key(p_appl_short_name in varchar2, p_key_name invarchar2, p_tab_name in varchar2, p_description in varchar2, p_key_type in varchar2 defaultnull,p_audit_flag in varchar2 default null, p_enabled_flag in varchar2 default

    null);

    procedure register_primary_key_column(p_appl_short_name in varchar2, p_key_name invarchar2, p_tab_name in varchar2, p_col_name in varchar2, p_col_sequence innumber);

    procedure delete_primary_key_column(p_appl_short_name in varchar2, p_key_name in

    varchar2, p_tab_name in varchar2, p_col_name in varchar2 default null);

    procedure delete_table (p_appl_short_name in varchar2, p_tab_name in varchar2);

    procedure delete_column (p_appl_short_name in varchar2, p_tab_name in varchar2,p_col_name in varchar2);

    end ad_dd;

    CONCURRENT PROCESSING IN ORACLE APPS.

  • 8/7/2019 AOL FAQ1 by Brain

    33/37

    Definitions

    What is a Concurrent Program ?

    An instance of an execution file, along with parameter definitions and incompatibilities.Several concurrent programs may use the same execution file to perform their specific tasks,each having different parameter defaults and incompatibilites.

    What is a Concurrent Program Executable ?

    An executable file that performs a specific task. The file may be a program written in astandard language, a reporting tool or an operating system language.

    What is a Concurrent Request ?

    request to run a concurrent program as a concurrent process.

    What is a Concurrent Process ?

    n instance of a running concurrent program that runs simultaneously with otherconcurrent processes.

    What is a Concurrent Manager ?

    program that processes users requests and runs concurrent programs. SystemAdministrators define concurrent managers to run different kinds of requests.

  • 8/7/2019 AOL FAQ1 by Brain

    34/37

    What is a Concurrent Queue ?

    ist of concurrent requests awaiting processing by a concurrent manager.

    What is a Spawned Concurrent program ?

    Concurrent program that runs in a separate process than that of the concurrent managerthat starts it. L/SQL stored procedures run in the same process as the concurrent manager; use

    them when spawned concurrent programs are not feasible.

    Page 2 of 3

    LIFE CYCLE OF CONCURRENT REQUESTS

    What are the phases and statuses through which a concurrent prequest runs through?

    A concurrent request proceeds through three, possibly four, life cycle stages or phases:

    Pending Request is waiting to be run

    Running Request is running

    Completed Request has finished

    Inactive Request cannot be run

    Within each phase, a request's condition or status may change. Below appears a listing ofeach phase and the various states that a concurrent request can go through.

  • 8/7/2019 AOL FAQ1 by Brain

    35/37

  • 8/7/2019 AOL FAQ1 by Brain

    36/37

    INACTIVE Disabled Program to run request is not enabled. Contactyour system administrator.

    On Hold Pending request is placed on hold, by selecting Holdin the Status field of the Request Details zone.

    No Manager No manager is defined to run the request. Checkwith your system administrator.

    Page 3 of 3

    What is the difference between Request group and request set ?

    REQUESTS GROUPS AND REQUEST SETS

    Reports and concurrent programs can be assembled into request groups and request sets.

    1. A request group is a collection of reports or concurrent programs. A SystemAdministrator defines report groups in order to control user access to reports and

    concurrent programs. Only a System Administrator can create a request group.

    2. Request sets define run and print options, and possibly, parameter values, for a collectionof reports or concurrent program. End users and System Administrators can definerequest sets. A System Administrator has request set privileges beyond those of an enduser.

    Standard Request Submission and Request Groups

    Standard Request Submission is an Oracle Applications feature that allows you to selectand run all your reports and other concurrent programs from a single, standard form. Thestandard submission form is called Submit Requests, although it can be customized to display adifferent title.

  • 8/7/2019 AOL FAQ1 by Brain

    37/37

    3. The reports and concurrent programs that may be selected from the Submit Requestsform belong to a request security group, which is a request group assigned to aresponsibility.

    4. The reports and concurrent programs that may be selected from a customized SubmitRequests form belong to a request group that uses a code.

    In summary, request groups can be used to control access to reports and concurrentprograms in two ways; according to a user's responsibility, or according to a customized standardsubmission (Run Requests) form.