Path to the logfile CM in oracle 11i

Hi gurus,

I need path for the CM log file in oracle 11i. Could u please help me.

Thank you
Vinoth

Hello
Is the path to the logfile cm

You need first to source the environment file, then you can find the files of newspapers of CM in
$APPLCSF / $APPLLOG

See also,

Re: Where is my simultaneous log file
Re: Concurrent managers start & actual/target population is not even

Thank you

Tags: Oracle Applications

Similar Questions

  • What responsibility is requirted to create the new Org in Oracle 11i

    Can someone help me please... I want to know what responsibility is needed to create the new Org in Oracle 11i.

    Published by: Estelle on April 20, 2011 02:16

    Salvation;

    Check your other thread
    Re: I am unable to see some jurisdiction Org

    Respect of
    HELIOS

  • Need to create files on unix (path of the oracle directory)

    Is it possible to create a file in the path of the oracle directory (in the unix folder).

    I use a dynamic procedure to create the external Tables, when the given model file is present, the procedure to create the external table, if the file is not present then it should create an empty file so that the corresponding external table would return zero (0) records. It must not fail.
    It must be through plsql not not using unix script.

    ..............

    UTL_FILE. FGETATTR (V_DIR_NAME, V_FILE_NAME, V_EXISTS, V_FILE_LENGTH, V_BLOCKSIZE);

    IF v_exists is FALSE
    -Create an empty file
    v_file_name: = empty_file;
    end if;

    -Create the table script that dynamically creates the external table

    v_sql: = 'CREATE TABLE' | V_RX_NAME | » ( '|| RTrim(v_cols,',_') |') ' ||
    'EXTERNAL ORGANISATION'.
    ' (TYPE ORACLE_LOADER ' |)
    "DEFAULT DIRECTORY" "|" " v_dir_name | '"'||
    'ACCESS SETTINGS'.
    ' (RECORDS DELIMITED BY THE NEW LINE ' |)
    ' LOAD WHEN (' |) RTrim(v_null_cols,'and_') |') ' ||
    "BADFILE"' | rec_mkt_name. SUBJECT_AREA_NAME | » _'|| rec_mkt_name. PARAM_NAME |'. BAD "' |
    ' DISCARDFILE "' | rec_mkt_name. SUBJECT_AREA_NAME | » _'|| rec_mkt_name. PARAM_NAME |'. THROW "' |
    "LOGFILE"'| " rec_mkt_name. SUBJECT_AREA_NAME | » _'|| rec_mkt_name. PARAM_NAME |'. JOURNAL "' |
    "' FIELDS TERMINATED BY" ~ "POSSIBLY PROVIDED BY" ' "' |
    "THE MISSING FIELD VALUES ARE NULL.
    ') LOCATION ("' |) V_FILE_NAME | " ') RELEASE UNLIMITED LIMIT ';
    GV_CURR_STEP: = v_sql;
    dbms_output.put_line (V_FILE_NAME);

    EXECUTE IMMEDIATE v_sql;
    ...........

    Try to use utl_file.fopen with 'W '.

  • Options output/display the display log are redirecting to browser automatically in Oracle 11i applications

    Hello

    Can someone let me know the what is the option to change the popup options in oracle applications 11i.

    My requirement is when I click on the options output/display the journal should it appear he himself, rather than redirect to the browser.

    Version of the application is: 11.5.10.2

    Thank you

    Govind

    Hello

    Clear the value of the following profile option:

    Viewer: text

    Kind regards

    Bashar

  • Remove the path of the windows 2008 64-bit Oracle client

    Hi all

    I had to unstall the product of Hyperion epm after I found the installation have to done on another language, that has the oracle for 32 and 64-bit client. But when I reinstall it complains the way at oracle.

    Here is the error I get from the newspaper.

    [FATAL] [INS-32053] The original name of the Oracle Home specified directory already exists.

    CAUSE: The name of the base directory Oracle Home specified on the command line matches an existing Oracle Home directory name in the central inventory.

    ACTION: Choose a different name for the Oracle Home Directory. Renoncer give to this setup session, and then try again.

    I made sure that the file system is completely is deleted after the unstallation except these client files which I deleted manually.

    It seems that the unnstalation does not correctly for clients and old path is somewhere still exists. I deleted the path in the environment variable path list customer and tried again but no luck.

    Can someone help me identify the places where I should look to remove Oracle's previous home.

    Thank you

    The register, perhaps, or the inventory (which is in c:\program files\oracle or c:\program files (x 86) \oracle - I don't remember right now).

    However, if you search for 'clean up the windows machine' Support of Oracle, you can find an article that shows you how to remove all traces of the Oracle software from your Windows computer.

  • Hi, I am a consultant technical oracle apps HRMS. I wanted to know, can we implement Digital Signatures in the XML Reports.if Oracle Applications 11i Yes what is the approach to do? Your prompt response is appreciated. Sincerely, Patrice Sayyad.

    Hello

    I am Consultant technical Oracle Apps HRMS.

    I wanted to know, if we can make Digital Signatures in the reports XML for HRMS application of Oracle 11i applications.

    If so, what is the approach to do so.

    Your prompt response is appreciated.

    Kind regards

    Jean Michel Sayyad.

    Hi Patrice,

    The BI Publisher standard part of EBS applications.

    Most of the EBS reports (R12) rely on BI Publisher.

    If you check the 'XML Publisher Administrator' responsibility, you can see all the models used in the application.

    Your technical team should already know this.

    On the other hand OBIEE need separate licenses.

    But for you would be BI Publisher.

    See you soon,.

    Vignesh

  • How license Latin American localization (JL) in the Oracle 11i Applications

    Hello

    How license Latin American localization (JL) in the Oracle 11i Applications.

    Kind regards.

    Pls check below MOS: -.

    How to use OAM license JA (Asia/Pacific locations), I (European locations), JG (regional locations) and JL (Latin American locations) in the Oracle Applications? [351900.1 ID]

    How to install the localization of Latin America? [268396.1 ID]

    Also, to check the currently installed location, pls check below MOS: -.

    NOTE: 122491.1 -how can I know what I need a setup of country-globalization 11i?

    Thank you
    JD

    Published by: JD on May 27, 2011 03:28

  • Environment variable is not set after the installation of oracle 11i...

    Hello

    I installed oracle 11i on .After setting environment variable LINUX4AS is not defined. like $OAD_TOP, $APPL_TOP.

    HELP PLZ

    Hello

    What env file that you are trying to source? How do you source the env file?

    Question ".» //APPSORA.env and then check.

    Kind regards
    Hussein

  • How the classification of versioning and patch Oracle 11i did.

    Hi Hussein.

    Sometimes, I see there are updates for Oracle 11i and mini/family/ORS patches are released. How these patches are classified. What's the point also releases average figures. For example 11.5.10.2.x.x for 5, 10, 2 and x.
    and any time a product includes names such as 11i. GSS. E.1.

    Please can you me to any ML Doc or URL so that I can ask for the conventions of patching.


    Concerning
    -Samar-

    Samar,

    See the links following/documents.

    Note: the 457566,1 - patch FAQ for version 11i Oracle Applications
    Note: the 459156,1 - patch FAQ for release 12 Oracle Applications
    Note: the 174436,1 - patch FAQ Oracle Applications

    Maintain all Documentation Oracle Applications
    http://www.Oracle.com/technology/documentation/applications.html

    Products and families and Versions - Oh, my!
    http://blogs.Oracle.com/stevenChan/2009/04/products_and_families_and_vers.html

    Kind regards
    Hussein

  • Need help for analysis "plan and background events waiting" on the report statspack for oracle database 11.2.0.4 on AIX

    HI: I analyze the STATSPACK report: this is the "volume test" on our UAT server for most of entry or "bind variables".  Our shared pool is well used in oracle.  Recovery of Oracle logs is not configured properly on this server, as in "Top 5 events of waiting", there are 2 for Oder.

    I need to know what other information may be digging from of 'waiting in the foreground events' & ' background waiting events ", and which can help us better understand, in combination of ' Top 5 wait event, that how did the server test /?  It could be overwhelming. wait events, so appreciate useful diagnostic or analyses.  Database is oracle 11.2.0.4 updated from 11.2.0.3 on IBM AIX 64-bit, level 6.x system power


    STATSPACK report


    DB Id Instance Inst Num Startup Time Release RAC database


    ~~~~~~~~ ----------- ------------ -------- --------------- ----------- ---

    700000XXX XXX 1 22 April 15 12:12 11.2.0.4.0 no.


    Host name Platform CPU Cores Sockets (G) memory

    ~~~~ ---------------- ---------------------- ----- ----- ------- ------------

    dXXXX_XXX AIX-Based Systems (64-2 1 0 16.0)


    Snapshot Id Snap Snap time Sessions Curs/Sess comment

    ~~~~~~~~    ---------- ------------------ -------- --------- ------------------

    BEGIN Snap: 5635 22 April 15 13:00:02 114 4.6

    End Snap: 5636 22 April 15 14:00:01 128 8.8

    Elapsed time: 59.98 (mins) Av law Sess: 0.6

    DB time: 35,98 (mins) DB CPU: 19,43 (mins)


    Cache sizes Begin End

    ~~~~~~~~~~~       ---------- ----------

    Cache buffer: block 2 064 M Std size: 8 K

    Shared pool: 3 072 M Log Buffer: 13 632 K

    Load profile per second per Transaction per Exec by call

    ~~~~~~~~~~~~      ------------------  ----------------- ----------- -----------

    DB Time (s): 0.0 0.6 0.00 0.00

    DB CPU: 0.0 0.3 0.00 0.00

    Size: 458 720,6 8,755.7

    Logical reads: 245,7 12 874,2

    Block changes: 1 356.4 25.9

    Physical reads: 6.6 0.1

    Physical writings: 61.8 1.2

    The user calls: 38.8 2 033,7

    Analysis: 286,5 5.5

    Hard analysis: 0.5 0.0

    Treated W/A Mo: 1.7 0.0

    Logons: 1.2 0.0

    Runs: 801,1 15.3

    Cancellations: 6.1 0.1

    Operations: 52.4


    Indicators of the instance

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Buffer % Nowait: 100.00 do NoWait %: 100.00

    Buffer % success: 99.98% W/A optimal, Exec: 100.00

    Library success %: 99,77% soft Parse: 99.82

    Run parse %: 64.24 latch hit %: 99.98

    Analyze the CPU to analyze Elapsd %: 53.15% Non-Parse CPU: 98.03


    Shared pool statistics Begin End

    ------  ------

    % Memory use: 10.50 12.79

    % SQL with executions > 1: 69,98 78,37

    % Memory for SQL w/exec > 1: 70.22 81,96

    Top 5 timed events Avg % Total

    ~~~~~~~~~~~~~~~~~~                                                   wait   Call

    Event waits time (s) (ms) time

    ----------------------------------------- ------------ ----------- ------ ------

    CPU time                                                       847          50.2

    ENQ: TX - 4 480 97 434 25.8 line lock conflict

    Log file sync 284 169 185 1 11.0

    log file parallel write 299 537 164 1 9.7

    log file sequential read 698 16 24 1.0

    Host CPU (processors: 2 hearts: Sockets 1: 0)

    ~ ~ ~ Medium load

    Begin End User System Idle WIO WCPU

    ------- -------   ------- ------- ------- ------- --------

    1.16 1.84 19.28 14.51 66.21 1.20 82.01


    Instance of CPU

    ~~~~~~~~~~~~                                       % Time (seconds)

    -------- --------------

    Host: Time (s) Total: 7,193.8

    Host: Availability of time processor (s): 2,430.7

    % of time host is busy: 33.8

    Instance: Time processor Total (s): 1,203.1

    % Busy CPU used, for example: 49.5

    Instance: Time of database total (s): 2,426.4

    % DB time waiting for CPU (resp. resources): 0.0


    Statistical memory Begin End

    ~~~~~~~~~~~~~~~~~                ------------ ------------

    Host Mem (MB): 16,384.0 16 384,0

    Use of LMS (MB): 7,136.0 7 136,0

    Use of PGA (Mo): 282.5 361.4

    Host % Mem used for SGA + PGA: 45.3 45.8

    Foreground wait events DB/Inst: XXXXXs Snaps: 5635-5636

    -> Only events with wait times Total (s) > =.001 are indicated

    --> sorted by Total desc waiting time, waits desc (idle last events)


    AVG % Total

    % Tim Total wait Wait Wait call

    Event is waiting for the time (s) (ms) /txn times

    ---------------------------- ------------ ---- ---------- ------ -------- ------

    ENQ: TX - line lock 4 480 0 434 97 contentio 0,0 25.8

    284 167 0 185 1 file synchronization log 1.5 11.0

    File I/O 8 741 of disk 0 4 operations 0.0 0.2

    direct path write 0 13 247 3 0.1 0.2

    DB file sequential read 6 058 0 1 0.0 0.1

    buffer busy waits 1 800 0 1 1 0,0.1

    SQL * Net more data to the client 29 161 0 1 0.2 0.1

    direct path read 7 696 0 1 0.0 0.0

    db file scattered read 316 0 1 2 0,0.0

    latch: shared pool 144 0 0 2 0,0.0

    Initialization of 30 0 0 3 0,0.0 CSS

    cursor: hand 10 0 0 9 0,0.0 S

    lock row cache 41 0 0 2 0,0.0

    latch: rank objects cache 19 0 0 3 0,0.0

    log file switch (private 8 0 0 7 0,0.0 str

    library cache: mutex X 28 0 0 2 0,0.0

    latch: cache buffers chains 54 0 0 1 0,0.0

    free lock 290 0 0 0.0 0.0

    sequential control file read 1 568 0 0 0.0 0.0

    switch logfile (4 0 0 6 0,0.0 control point

    Live sync 8 0 0 3 0,0.0 road

    latch: redo allocation 60 0 0 0 0.0.0

    SQL * Net break/reset for 34 0 0 1 0,0.0 customer

    latch: enqueue hash chains 45 0 0 0 0.0.0

    latch: cache buffers lru chain 7 0 0 2 0,0.0

    latch: allowance 5 0 0 1 0,0.0 session

    latch: object queue header 6 0 0 1 0,0.0 o

    Operation of metadata files ASM 30 0 0 0 0.0.0

    latch: in memory of undo latch 15 0 0 0.0 0.0

    latch: cancel the overall data 8 0 0 0 0.0.0

    SQL * Net client message 6 362 536 0 278 225 44 33.7

    jobq slave wait 7 270 100 3 635 500 0.0

    SQL * Net more data to 7 976 0 15 2 0,0 clien

    SQL * Net message to client 6 362 544 0 8 0 33.7

    -------------------------------------------------------------

    Context of the DB/Inst events waiting: XXXXXs clings: 5635-5636

    -> Only events with wait times Total (s) > =.001 are indicated

    --> sorted by Total desc waiting time, waits desc (idle last events)

    AVG % Total

    % Tim Total wait Wait Wait call

    Event is waiting for the time (s) (ms) /txn times

    ---------------------------- ------------ ---- ---------- ------ -------- ------

    log file parallel write 299 537 0 164 1 1.6 9.7

    log file sequential read 698 0 16 24 0.0 1.0

    db file parallel write 9 556 0 13 1 0,1.8

    146 0 10 70 0,0.6 startup operating system thread

    control file parallel write 2 037 0 2 1 0,0.1

    Newspaper archive e/s 35 0 1 30 0,0.1

    LGWR wait for redo copy 2 447 0 0 0.0 0.0

    async file IO DB present 9 556 0 0 0.1 0.0

    DB file sequential read 145 0 0 2 0,0.0

    File I/O disk 349 0 operations 0 0.0 0.0

    db file scattered read 30 0 0 4 0,0.0

    sequential control file read 5 837 0 0 0.0 0.0

    ADR block lu file 19 0 0 4 0,0.0

    Block ADR file write 5 0 0 15 0,0.0

    direct path write 14 0 0 2 0,0.0

    direct path read 3 0 0 7 0,0.0

    latch: shared pool 3 0 0 6 0,0.0

    single log file write 56 0 0 0.0 0.0

    latch: redo allocation 53 0 0 0 0.0.0

    latch: 1 0 0 3 0,0.0 active service list

    free latch 11 0 0 0 0.0.0

    CPI of RDBMS 5 314 523 57 189 182 1.7 message

    Space Manager: slave wa slowed 4 086 88 18 996 4649 0.0

    DIAG idle wait 7 185 100 1000 7 186 0.0

    Streams AQ: waiting time 2 50 4 909 # 0,0

    Streams AQ: qmn slowed slave 129 0 3 612 28002 0.0 w

    Streams AQ: Coordinator of the 258 50 3 612 14001 0,0 qmn

    SMON timer 2 43 3 605 83839 0.0

    PMON timer 99 1 199 2999 3 596 0.0

    SQL * Net client message 17 019 0 31 2 0.1

    SQL * Net message to client 12 762 0 0 0.1 0

    class slaves wait 28 0 0 0 0.0

    Thank you very much!

    Hello

    I think that your CPU is overloaded by your stress tests. You have one VCPU with 2 wires (2 LCPU), right? And the load average is greater than one. You have time DB which is not counted in (CPU time + wait events) and which comes no doubt from time spent in the runqueue.

    > Oracle recovery logs is not properly configured on this server, as in "Top 5 events of waiting", there are 2 for oder

    It is an error in statspack for show "log file parallel write here." This moment is historical and is included in 'log file sync '. And I don't think you have to redo misconfiguration. Waiting for 1ms to commit is ok. In OLTP you should have more than one validation in a user interaction so that the user don't worry not about 1 m in batch mode, unless you commit to each row, 1 DC to commit should not increase the total execution time.

    The fact that you have a lot of line lock (enq: TX - line lock conflict) but very little time (on average 97 ms) is probably a sign that testers are running simultaneously a charge affecting the same data. Their set of test data is perhaps too simple and short. An example: when stress tests of an order entry system if you run 1000 concurrent sessions, ordering the same product to the same customer, you can get this kind of symptoms, but the test we unrealistic.

    It's a high activity of 2000 calls per second, 52 transactions per second, user. But you also have low average active sessions, so the report probably covers a period of non-uniform activity, which makes the averages without meaning.

    So note to tell about the events of waiting here. But we don't have any info about 39% of DB time devoted to the CPU which is where something can be improved.

    Kind regards

    Franck.

  • Problem with Autoconfig on Oracle 11i

    Hello

    I installed the Oracle 11i (11.5.10.2) with Oracle 9.2.0.6.0 in single node mode. The applications are on CU2 is autoconfig enabled. I renamed the appsutil on DB level and what follows on the applications

    Perl $AD_TOP/bin/admkappsutil.pl

    Starting from the generation of appsutil.zip
    Logfile located at /u01/app/oracle/VIS/visappl/admin/log/MakeAppsUtil_03160452.log
    Exit to /u01/app/oracle/VIS/visappl/admin/out/appsutil.zip
    MakeAppsUtil completed successfully.

    I moved over the appsutil.zip to the RDBMS Oracle Home and unziped the appsutil.zip, but the problem is that I am only able to find the following directories, any directory script or the context file etc.

    Ben pilot html java support perl sql model xml

    where, as in the directory of apputil Moose, I have the following directories / files


    bin clone pilot html install java media model VIS_ocapma.xml perl scripts sql temp outgoing xml journal

    It comes to the new installation of 11.5.10.2. Please notify.

    Thank you
    -Samar
    .

    Published by: user4314207 on March 16, 2009 15:00

    Hi Samar,

    You have the bin directory, which is sufficient. Just follow the steps described in the note mentioned above to create the context file (using 'perl adbldxml.pl level = db'), then you need to run adconfig.sh (which is also in the bin directory) and this will create the scripts folder.

    Please read the note again once, it should solve the problem.

    Kind regards
    Hussein

  • Xcopy - need of path of the error log file

    Hey Microsoft,

    I run the xcopy command:

    xcopy/C/H/E "C:\Original" /e > "C:\LOGFILE. TXT"2 >"C:\ERROR_LOGFILE. TXT ".

    The error log gives me this result:

    "File creation error - the system cannot find the file specified."

    But I need the path of the file that caused this error.

    How this is done?

    Thank you!

    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/xcopy.mspx?mfr=true

    Maybe this page will help?

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-files/Xcopy-system-cannot-find-the-file-specified-what/abb0cf37-0842-E011-9767-d8d385dcbb12?msgId=a082bb88-d8fa-47d1-9d13-8986f8a4a4dc

    or that, asked in the forums of win7

  • How to get the default path of the data of a table space file

    I used below the sql statement to create a table space:

    CREATE A TABLESPACE DATAFILE AAA BBB SIZE 10 M AUTOEXTEND OFF...

    Notice, I do not give a full path instead of a file name, and then ask questions relevant to tables

    get the full path of the data file, assume that it's path below:

    d:\oracle\...\BBB

    So I don't think that there is a default path that oracle can use it to create the data file. My question

    is how to get this default path before creating a table space.

    Thank you very much.

    Hello

    I did similar simulations for you, then it could be seen easily:

    SQL > Show parameter db_create_file_dest

    VALUE OF TYPE NAME

    ------------------------------------ ----------- ------------------------------

    db_create_file_dest chain

    SQL > SELECT NAME, VALUE OF V$ PARAMETER

    2 where lower (name) = "db_create_file_dest;

    NAME

    --------------------------------------------------------------------------------

    VALUE

    --------------------------------------------------------------------------------

    db_create_file_dest

    It has the value NULL. Then where my datafile is going?

    SQL > create tablespace TEST datafile 'test01.dbf' size 10 M;

    Created tablespace.

    SQL > select file_name

    2 of dba_data_files

    3 where nom_tablespace = 'TEST ';

    FILE_NAME

    --------------------------------------------------------------------------------

    /U01/app/Oracle/product/12.1.0/Db_1/DBS/Test01.dbf

    When you check the alert logs, it will not show you the location of the data file. It will tell you what exactly you ran.

    ..

    ..

    Completed: drop tablespace test whose content and data files

    create tablespace datafile 'test01.dbf' size 10 M TEST

    Completed: create tablespace TEST datafile 'test01.dbf' size 10 M

    ..

    ..

    You can not SQL user * more? Well, I would say that, when you run the CREATE TABLESPACE command, is where you run the command:

    SQL > select file_name

    2 of dba_data_files

    3 where nom_tablespace = 'TEST ';

    FILE_NAME

    --------------------------------------------------------------------------------

    /U01/app/Oracle/product/12.1.0/Db_1/DBS/Test01.dbf


    So, you should get the location of your data file. Alternatively, you can run the query in the parameter $ v so that you know your default data file location.

    I hope this helps.

    Thank you.

    Kind regards

    Gaetan

  • RMAN duplicate grave crashes when I'm trying to change the paths of the destination

    Hello community,

    I am trying to duplicate a database of PROD for a test environment using the basic backup technique. I test the script in double and everything works fine when the paths of the database "auxiliary" (the database that I am creating) have the same paths as the basis of the 'target' (the database of production). If I change the paths, the double has failed because it does not find a backup of controlfile:

    channel ch1: from the restore backup set data file

    channel ch1: restore the control file

    channel ch1: reading of the backup piece PROD_cf_c-2175092736-20151204-0 c

    channel ch1: ORA-19870: error when restoring backup piece PROD_cf_c-2175092736-20151204-0 c

    «"ORA-19507: failed to retrieve the sequential file, handle ="PROD_cf_c-2175092736-20151204-0 c", parms ="»

    ORA-27029: skgfrtrv: sbtrestore returned error

    ORA-19511: error received from layer media manager, error text:

    < PROD_cf_c-2175092736-20151204-0 c > backup file not found in the NetBackup catalog

    This is the script that works, but if I have the same structure of directories in PROD and TEST (but this isn't a real scenario):

    run

    {

    allocate auxiliary channel ch1 device type sbt;

    Send "NB_ORA_CLIENT = xxx NB_ORA_POLICY = xxx, NB_ORA_SCHED = Full_Diario';"

    duplicate database for TEST PROD

    until 'sysdate-2/24.

    NOFILENAMECHECK;

    output channel ch1.

    }


    And this is the script that it does not work because I have the PROD and TEST different directory structure

    run

    {

    allocate auxiliary channel ch1 device type sbt;

    Send "NB_ORA_CLIENT = xxx NB_ORA_POLICY = xxx, NB_ORA_SCHED = Full_Diario';"

    duplicate database for TEST PROD

    until 'sysdate-2/24.

    SPFile

    control_files value ' / TEST/orabd1/ctl/control_PROD_01.ctl','/TEST/oralog1/ctl/control_PROD_02.ctl','/TEST/oralog2/ctl/control_PROD_03.ctl '

    db_file_name_convert value "/ PROD /", "/ TEST / '.

    the value log_file_name_convert "/ PROD /", "/ TEST / '.

    core_dump_dest value "/ TEST/oralog1/cdump".

    the value 'TEST' db_name

    Set diagnostic_dest ' /TEST/oralog2'

    instance_name must bring 'TEST'.

    all local_listener 'LISTENER_TEST '.

    Set log_archive_dest_1 ' LOCATION = / TEST/arch.

    the value of log_archive_dest_2 'LOCATION = NULL'

    ;

    output channel ch1.

    }

    I tried to restore a Netbackup file and it works. I try to duplicate a database when the structures of directories are identical and it works. Why it's a failure when I change the destination paths?

    Thank you!

    Marina.

    Hello

    We had a similar problem in our shop. In our case, that we never knew if she was related to Oracle or NetBackup, but we found a Bug of Oracle, so we think it was a problem with the Oracle.

    Bug 11783792  RMAN SEND command does not hold the value of the variable

    DOC - ID 11783792.8


    Rather than send 'NB_ORA_CLIENT = DCLI, NB_ORA_POLICY is BD_DC_2, NB_ORA_SCHED = Full_Diario';.

    try something like this:

    Run {}

    allocate channels ch01 type 'sbt_tape' PARMS 'ENV =(NB_ORA_CLIENT=DCLI) ";

    Send "NB_ORA_SERV =';"

    Restore settings

    output channel ch01.

    }

    Let me know if it helps.

    Kind regards

    Ferran

  • Dynamics, where the form of Clause - Oracle 10g

    Hi all

    The scenario is we provide an interface (via form 10g) to execute different queries. These requests have set the columns and tables (for example, we have same SELECT and FROM clauses for each request). However, WHERE clause is unique for each request. So, I'm writing a dynamic cursor, but DYNAMIC CURSORS are not clear for me. I post my code for taking advice from experts in the forum.


    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


    Load_Rows EXEC_SQL. CursType;

    New_Query varchar2 (5000) = ' SELECT IRR_TAMPERED_OK | «, » || IRR_DATE_DISPATCHED | «, » || IRR_DISPATCHED_NO | «, » || IRR_REG_ID | «, » || IRR_CONS_NO | «, » || CON_NAM | «, » || CON_ADR | «, » || IRR_SR | «, » ||

    EMC_EVC_NO | «, » || IRR_TNO | «, » || IRR_MTR_TYPE | «, » || IRR_MTR_DIC | «, » || MTR_RED_COR | «, » || MTR_RED_UNCOR | «, » || MTR_RED | «, » || IRR_FP_SIGN | «, » || IRR_FP_OPEN | «, » || IRR_FP_SIGN_CHK | «, » || IRR_FP_CHK | «, » || IRR_20PSIG_SIGN | «, » || IRR_20_PSIG_VALUE | «, » || IRR_40_PSIG_SIGN | «, » || IRR_40_PSIG_VALUE | «, » || IRR_60_PSIG_SIGN | «, » || IRR_60_PSIG_VALUE | «, » || IRR_80_PSIG_SIGN | «, » || IRR_80_PSIG_VALUE | «, » || DTE_REM | «, » || DTE_REC | «, » || IRR_CALL_REMARKS | «, » || IRR_SEAL_COND | «, » || IRR_G_OBSER | «, » || Data IRR_REMARKS

    Of

    inproving_result_remarks, MTR_RET_CRD' | : WHERE_CLAUSE;

    Start

    Load_Rows: = Exec_SQL. Open_cursor;

    EXEC_SQL. PARSE (Load_Rows, New_Query);

    EXEC_SQL. DEFINE_COLUMN (Load_Rows, 1, v_colchar1, 30);

    EXEC_SQL. DEFINE_COLUMN (Load_Rows, 2, v_colchar2, 15);

    EXEC_SQL. DEFINE_COLUMN (Load_Rows, 3, v_colchar3, 30);

    v_exec: = EXEC_SQL. Execute (Load_Rows);

    WHILE EXEC_SQL. FETCH_ROWS (Load_Rows) > 0 LOOP

    EXEC_SQL. COLUMN_VALUE(Load_Rows,1,v_colchar1);

    EXEC_SQL. COLUMN_VALUE(Load_Rows,2,v_colchar2);

    EXEC_SQL. COLUMN_VALUE(Load_Rows,3,v_colchar3);

    END LOOP;

    EXEC_SQL. CLOSE_CURSOR (Load_Rows);

    end;


    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


    I have to integrate above slider DYNAMICS written in the code below that was written using a simple slider:


    BEGIN

    -Path to the file

    user_nam: = WebUtil_ClientInfo.Get_User_Name ();

    path_part: = to_char (sysdate, 'DD-MM-YYYY (MI-HH-SS)');

    lv_File_Name: ='C:\Users\'|| user_nam | "\CMS_MIR_'|| path_part |'. CSV';

    -Open the file in write mode

    lv_File: = client_text_io. FOpen (lv_File_Name, 'W');

    -Write the header columns

    client_text_io. Put_Line(lv_File,'IRR_TAMPERED_OK, IRR_DATE_DISPATCHED,IRR_DISPATCHED_NO,IRR_REG_ID,IRR_CONS_NO,CON_NAM,CON_ADR,IRR_SR,EMC_EVC_NO,IRR_TNO,IRR_MTR_TYPE,IRR_MTR_DIC,MTR_RED_COR,MTR_RED_UNCOR,MTR_RED,IRR_FP_SIGN,IRR_FP_OPEN,IRR_FP_SIGN_CHK,IRR_FP_CHK,IRR_20PSIG_SIGN,IRR_20_PSIG_VALUE IRR_40_PSIG_SIGN (, IRR_40_PSIG_VALUE, IRR_60_PSIG_SIGN, IRR_60_PSIG_VALUE, IRR_80_PSIG_SIGN, IRR_80_PSIG_VALUE, DTE_REM, DTE_REC, IRR_CALL_REMARKS, IRR_SEAL_COND, IRR_G_OBSER, IRR_REMARKS');

    -- Write lines in the file

    Row_Count: = 0;

    FOR i IN Load_Rows LOOP

    -COUNT: = Load_Rows % ROWCOUNT; -counter

    Row_Count: = Row_Count + 1;

    client_text_io. Put_line (lv_File, i.DATA);

    IF Row_Count = 5000 THEN

    Synchronize;

    Row_Count: = 0;

    END IF;

    END LOOP;

    -Classify

    client_text_io. FClose (lv_File);

    Message ("meter inspection report was generated: C:\Users\'||") user_nam | "\CMS_MIR_'|| path_part);

    Message ("meter inspection report was generated: C:\Users\'||") user_nam | "\CMS_MIR_'|| path_part);

    END;

    Just so that I understand what you're trying, you are not display the results in your form, you simply run a dynamic query that you export the results to a file.  Is this correct?

    So, what happens when you run your code?  Are you an error (If Yes, what is the full error)?

    One suggestion that I have after reviewing your code example is that you don't have a space after your FROM clause before you concatenate your WHERE Clause in your sql string variable.

    Your example Code:

    ...
    FROM
    inproving_result_remarks,MTR_RET_CRD'||:WHERE_CLAUSE;
    

    There should be a space after MTR_RET_CRD.  For example:

    ...
    FROM
    inproving_result_remarks,MTR_RET_CRD '||:WHERE_CLAUSE;
    

    Without the space your SQL will not scan properly.

    Another suggestion that I have is that you move your code from collection to a stored procedure (procedure or function) in your database of data and your stored procedure returns a collection.  This will eliminate the constant travel to the database for each line of the recording because your stored procedure will return the record complete game.  In addition, your stored procedure allows you to use dynamic SQL Native (Execute Immediate) will allow instead of using dynamic SQL from forms (EXEC_SQL) package. Native dynamic SQL is much more efficient and a lot less code.  In order to use native dynamic SQL, you must have on the Oracle Database 9i or higher.

    Craig...

Maybe you are looking for