Confusion in column of V$session_wait

Hi experts, please explain me the meaning of p1,p2,p3 columns i am confused, i know this wait event but i am not able to interpret what p1,p2,p3 value means here
SQL> select event,seconds_in_wait,p1,p2,p3 from v$session_wait where sid=34
EVENT SECONDS_IN_WAIT P1 P2 P3
enq: TX - row lock contention 52 1415053318 458757 989
Edited by: 842638 on May 3, 2012 8:24 PM

842638 wrote:
Hi experts, please explain me the meaning of p1,p2,p3 columns i am confused, i know this wait event but i am not able to interpret what p1,p2,p3 value means here
SQL> select event,seconds_in_wait,p1,p2,p3 from v$session_wait where sid=34
EVENT SECONDS_IN_WAIT P1 P2 P3
enq: TX - row lock contention 52 1415053318 458757 989
Edited by: 842638 on May 3, 2012 8:24 PMwhen all else fails, Read The Fine Manual
http://docs.oracle.com/cd/E11882_01/server.112/e25513/dynviews_3024.htm#REFRN30229
Handle:     842638
Status Level:     Newbie
Registered:     Mar 8, 2011
Total Posts:     85
Total Questions:     47 (33 unresolved)
WHY so many unanswered questions?
Edited by: sb92075 on May 3, 2012 8:29 PM

Similar Messages

  • If variable name is the same as the column name in procedure ?

    If variable name is the same as the column name in procedure , What should i do?
    For Example :
    CREATE OR REPLACE PROCEDURE "TEST_PROC" (MIN_SALARY in UMBER)
    as
    begin
    INSERT INTO TEST SELECT JOB_ID,MIN_SALARY FROM JOBS WHERE MIN_SALARY = MIN_SALARY;
    end;

    You could follow a better naming convention and have the parameters to the procedures named in a way so as not to be confused with column names.
    You could prefix the variable names with the name of the procedure they appear in but then what if your have procedure names same as table names?
    SQL> create or replace procedure test_proc(sal in number) is
      2    cnt number ;
      3  begin
      4    select count(*) into cnt from scott.emp where scott.emp.sal = test_proc.sal ;
      5    dbms_output.put_line('cnt='||cnt) ;
      6  end ;
      7  /
    Procedure created.
    SQL> set serveroutput on
    SQL> exec test_proc(800) ;
    cnt=1
    PL/SQL procedure successfully completed.
    SQL>If you search you can find several posts here itself on naming convention to avoid such issues in first place.

  • Redo log wait event

    Hi,
    in my top evens i've:
    Top 5 Timed Events Avg %Total
    ~~~~~~~~~~~~~~~~~~ wait Call
    Event Waits Time (s) (ms) Time Wait Class
    CPU time 1,894 36.1
    log file sync 36,862 1,008 27 19.2 Commit
    db file scattered read 165,508 970 6 18.5 User I/O
    db file sequential read 196,596 857 4 16.3 User I/O
    log file parallel write 35,847 565 16 10.8 System I/O
    Log file are on a separate disks, with no activity, only 1 redo per group, and 4 groups.
    I think that 27ms for log file synch is high.
    I raised commits in sqlloader putting rows=100000 instead 30000 but it's always high.
    Which check i can perform?
    I'm on AIX 5.3 and database in 10.2.0.4.4

    Log File Sync
    The “log file sync” wait event is triggered when a user session issues a commit (or a rollback). The user session will signal or post the LGWR to write the log buffer to the redo log file. When the LGWR has finished writing, it will post the user session. The wait is entirely dependent on LGWR to write out the necessary redo blocks and send confirmation of its completion back to the user session. The wait time includes the writing of the log buffer and the post, and is sometimes called “commit latency”.
    The P1 parameter in <View:V$SESSION_WAIT> is defined as follows for this wait event:
    P1 = buffer#
    All changes up to this buffer number (in the log buffer) must be flushed to disk and the writes confirmed to ensure that the transaction is committed and will be kept on an instance crash. The wait is for LGWR to flush up to this buffer#.
    Reducing Waits / Wait times:
    If a SQL statement is encountering a significant amount of total time for this event, the average wait time should be examined. If the average wait time is low, but the number of waits is high, then the application might be committing after every row, rather than batching COMMITs. Applications can reduce this wait by committing after “n” rows so there are fewer distinct COMMIT operations. Each commit has to be confirmed to make sure the relevant REDO is on disk. Although commits can be "piggybacked" by Oracle, reducing the overall number of commits by batching transactions can be very beneficial.
    If the SQL statement is a SELECT statement, review the Oracle Auditing settings. If Auditing is enabled for SELECT statements, Oracle could be spending time writing and commit data to the AUDIT$ table.
    If the average time waited is high, then examine the other log related waits for the session, to see where the session is spending most of its time. If a session continues to wait on the same
    If the average time waited is high, then examine the other log related waits for the session, to see where the session is spending most of its time. If a session continues to wait on the same buffer# then the SEQ# column of V$SESSION_WAIT should increment every second. If not then the local session has a problem with wait event timeouts. If the SEQ# column is incrementing then the blocking process is the LGWR process. Check to see what LGWR is waiting on as it may be stuck. If the waits are because of slow I/O, then try the following:
    Reduce other I/O activity on the disks containing the redo logs, or use dedicated disks.
    Try to reduce resource contention. Check the number of transactions (commits + rollbacks) each second, from V$SYSSTAT.
    Alternate redo logs on different disks to minimize the effect of the archiver on the log writer.
    Move the redo logs to faster disks or a faster I/O subsystem (for example, switch from RAID 5 to RAID 1).
    Consider using raw devices (or simulated raw devices provided by disk vendors) to speed up the writes.
    See if any activity can safely be done with NOLOGGING / UNRECOVERABLE options in order to reduce the amount of redo being written.
    See if any of the processing can use the COMMIT NOWAIT option (be sure to understand the semantics of this before using it).
    Check the size of the log buffer as it may be so large that LGWR is writing too many blocks at one time. 

  • Fetch returns more rows

    Hi,
    I have the following table:
    ID number, not null, unique
    fname varchar2(50),not null
    lname varchar2(50), not null
    email varchar2(200)not null, uniqueand the following procedure that queries the table:
    declare
    name varchar2(100);
    email varchar2(500);
    stmt varchar2(4000);
    nbr number;
    begin
    name:=substr('sam wilkins:[email protected]',1,(instr('sam wilkins:[email protected]',':')-1));
    email:=substr('sam wilkins:[email protected]',(instr('sam wilkins:[email protected]',':')+1));
    stmt:='select id from tbl where '
          || 'fname ||'' ''||'
          || 'lname='|| ''''||lower(name)||''''||' and email='||''''||lower(email)||''''||'';
    execute immediate stmt into nbr;
    select id into nbr from tbl where fname||' '||lname = name and email = email;
    dbms_output.put_line(stmt);
    dbms_output.put_line(nbr);
    end;When I run the procedure with just the execute immediate, the query returns just one id, but when I use the select into, I get the 'Fetch returns more rows' error. Why is this?
    Thanks.

    Hi,
    natet wrote:
    Hi,
    I have the following table:
    ID number, not null, unique
    fname varchar2(50),not null
    lname varchar2(50), not null
    email varchar2(200)not null, uniqueand the following procedure that queries the table:
    declare
    name varchar2(100);
    email varchar2(500);
    stmt varchar2(4000);
    nbr number;
    begin
    name:=substr('sam wilkins:[email protected]',1,(instr('sam wilkins:[email protected]',':')-1));
    email:=substr('sam wilkins:[email protected]',(instr('sam wilkins:[email protected]',':')+1));
    stmt:='select id from tbl where '
    || 'fname ||'' ''||'
    || 'lname='|| ''''||lower(name)||''''||' and email='||''''||lower(email)||''''||'';
    execute immediate stmt into nbr;
    select id into nbr from tbl where fname||' '||lname = name and email = email;
    dbms_output.put_line(stmt);
    dbms_output.put_line(nbr);
    end;When I run the procedure with just the execute immediate, the query returns just one id, but when I use the select into, I get the 'Fetch returns more rows' error. Why is this?
    Thanks.Give your local variables names that cannot be confused for column names.
    In this statement:
    select  id
    into      nbr
    from      tbl
    where      fname ||' '|| lname     = name
    and      email                      = email;email (in both places) refers to the column in the table. No doubt you want to use the local variable in place of one of them.

  • Column p3 (id#/block#) in v$session_wait/v$active_session_history

    The environment is 10.2.0.3 in AIX 5.3.0.0 in a two node cluster.
    In v$session_wait/v$active_session_history, the column p3 is reffered as
    For gc buffer busy waits - id#
    and
    For buffer busy waits - Class#
    (1)Could somebody please explain what exactly these values mean id#/class# and how can we associate them with other statitistics availble to troublshoot the issue?
    In my system when I made a query in v$active_session_history it is found that file#(p1) with block# (p2) 287724 is having high count of "gc buffer waits" with tow different values in id# (p3) (pls find below result) The file 16 with block 287724 is having most number of counts for gc buffer busy (with two different id#(??))
    EVENT P1 P2 P3 COUNT(*)
    gc buffer busy 18 1091724 65537 2
    gc buffer busy 16 287724 131073 58
    gc buffer busy 7 575153 65537 2
    gc buffer busy 13 1528666 65537 1
    gc buffer busy 14 843396 65537 2
    gc buffer busy 12 1157771 65537 1
    gc buffer busy 16 287724 65537 86
    gc buffer busy 12 12231 65537 1
    gc buffer busy 18 1091732 65537 1
    gc buffer busy 11 1642482 65537 2
    gc buffer busy 10 1527484 65537 2
    EVENT P1 P2 P3 COUNT(*)
    gc buffer busy 11 1642497 65537 1
    gc buffer busy 14 843396 131073 1
    And I found that this is a primary key index with the segment_statistics as follows (from V$SEGMENT_STATISTICS)
    OBJECT_NAME STATISTIC_NAME VALUE
    PROCESS_LOCK_PK logical reads 18176
    PROCESS_LOCK_PK buffer busy waits 33
    PROCESS_LOCK_PK gc buffer busy 776
    PROCESS_LOCK_PK db block changes 6624
    PROCESS_LOCK_PK physical reads 2
    PROCESS_LOCK_PK physical writes 64
    PROCESS_LOCK_PK physical reads direct 0
    PROCESS_LOCK_PK physical writes direct 0
    PROCESS_LOCK_PK gc cr blocks received 1991
    PROCESS_LOCK_PK gc current blocks receive 2771
    PROCESS_LOCK_PK ITL waits 0
    OBJECT_NAME STATISTIC_NAME VALUE
    PROCESS_LOCK_PK row lock waits 0
    PROCESS_LOCK_PK space used 0
    PROCESS_LOCK_PK space allocated 0
    PROCESS_LOCK_PK segment scans 0
    with these available informations how can I solve this problem of "gc buffer busy" waits.
    I am not able to find from anywhere what exactly this "id#" is and how can we use it to solve this problem.
    Any help will be highly appreciated.
    Thanks
    N. Sethi
    Message was edited by:
    user623256

    Hi,
    gc buffer busy
    This wait event, also known as global cache buffer busy prior to Oracle 10g, specifies the time the remote instance locally spends accessing the requested data block. This wait event is very similar to the buffer busy waits wait event in a single-instance database and are often the result of:
    Hot Blocks - multiple sessions may be requesting a block that is either not in buffer cache or is in an incompatible mode. Deleting some of the hot rows and re-inserting them back into the table may alleviate the problem. Most of the time the rows will be placed into a different block and reduce contention on the block. The DBA may also need to adjust the pctfree and/or pctused parameters for the table to ensure the rows are placed into a different block.
    Inefficient Queries ? as with the gc cr request wait event, the more blocks requested from the buffer cache the more likelihood of a session having to wait for other sessions. Tuning queries to access fewer blocks will often result in less contention for the same block.
    Please find the below link.. I hope it will help out for you..Since I did not have much idea on RAC ..
    http://www.ardentperf.com/2007/09/12/gc-buffer-busy-waits-in-rac-finding-hot-blocks/
    Thanks
    Pavan Kumar N

  • Confusion in the APP column in V$ARCHIVED_LOG

    Hi All,
    I have some confusion regarding APP column of v$ARCHIVED_LOG
    On my Primary machine when i execute :-
    SQL> SELECT THREAD#,SEQUENCE#,FIRST_CHANGE#,NEXT_CHANGE#,APPLIED FROM V$ARCHIVED_LOG;
       THREAD#  SEQUENCE# FIRST_CHANGE# NEXT_CHANGE# APP
             1          2        527611       545327 NO
             1          3        545327       549119 NO
             1          4        549119       557792 NO
             1          5        557792       559897 NO
             1          6        559897       560068 NO
             1          7        560068       560072 NO
             1          6        559897       560068 YES
             1          7        560068       560072 YES
             1          5        557792       559897 YES
             1          8        560072       560335 NO
             1          9        560335       560338 NO
       THREAD#  SEQUENCE# FIRST_CHANGE# NEXT_CHANGE# APP
             1         10        560338       560340 NO
             1         10        560338       560340 YES
             1          8        560072       560335 YES
             1          9        560335       560338 YES
             1         11        560340       560819 NO
             1         11        560340       560819 YES
             1         12        560819       560840 NO
             1         12        560819       560840 YES
             1         13        560840       561853 YES
             1         13        560840       561853 NO
             1         14        561853       590041 YES
       THREAD#  SEQUENCE# FIRST_CHANGE# NEXT_CHANGE# APP
             1         14        561853       590041 NO
             1         15        590041       590061 NO
             1         15        590041       590061 YES
             1         16        590061       594075 YES
             1         16        590061       594075 NO
             1         17        594075       594119 NO
             1         17        594075       594119 YES
             1         18        594119       604547 YES
             1         18        594119       604547 NO
             1         19        604547       605449 YES
             1         19        604547       605449 NO
       THREAD#  SEQUENCE# FIRST_CHANGE# NEXT_CHANGE# APP
             1         20        605449       605682 NO
             1         20        605449       605682 YES
             1         21        605682       605722 NO
             1         21        605682       605722 YES
             1         22        605722       605726 NO
             1         22        605722       605726 YES
             1         23        605726       605728 NO
             1         23        605726       605728 YES
             1         23        605726       605728 NO
             1         22        605722       605726 NO
             1         21        605682       605722 NO
       THREAD#  SEQUENCE# FIRST_CHANGE# NEXT_CHANGE# APP
             1         19        604547       605449 NO
             1         20        605449       605682 NO
             1         18        594119       604547 NO
    On my standby Machine when i execute :-
    SQL>  SELECT THREAD#,SEQUENCE#,FIRST_CHANGE#,NEXT_CHANGE#,APPLIED FROM V$ARCHIVED_LOG;
       THREAD#  SEQUENCE# FIRST_CHANGE# NEXT_CHANGE# APP
             1          7        560068       560072 YES
             1          6        559897       560068 YES
             1          5        557792       559897 YES
             1         10        560338       560340 YES
             1          8        560072       560335 YES
             1          9        560335       560338 YES
             1         11        560340       560819 YES
             1         12        560819       560840 YES
             1         13        560840       561853 YES
             1         14        561853       590041 YES
             1         15        590041       590061 YES
       THREAD#  SEQUENCE# FIRST_CHANGE# NEXT_CHANGE# APP
             1         16        590061       594075 YES
             1         17        594075       594119 YES
             1         18        594119       604547 YES
             1         19        604547       605449 YES
             1         20        605449       605682 YES
             1         21        605682       605722 YES
             1         22        605722       605726 YES
             1         23        605726       605728 YES
             1         24        605728       605818 YES
             1         25        605818       606571 YES
             1         26        606571       606586 NO
    So here we find that in primary machine in the APP column NO is mentioned but as i can check in the standby machine the log is present. So what do we understand by NO in primary machine.

    Hi,
    Yes It is not APP columns, Its APPLIED.
    Applied column says, The particular sequence of archive log is applied on stand by database or not
    If YES - Applied, NO - Not Applied, IN-MEMORY - In Process of applied
    On Primary database every sequence has entry with respected DEST_ID
    DEST_ID = 1 = Primary database
    DEST_ID = 2 = Standby database
    On Primary database O/P looks like
    SEQUENCE# APPLIED   ARC
    DEST_ID
    90763 YES  
    YES     
    2
    90763 NO   
    YES     
    1
    90764 YES  
    YES     
    2
    90764 NO   
    YES     
    1
    90765 YES  
    YES     
    2
    90765 NO   
    YES     
    1
    90766 YES  
    YES     
    2
    No Need to apply archive logs on primary that's why it says NO under Applied columns on Primary database
    Thanks
    Viren

  • Dynamic Input form with PLAN and Actual Confusion (YEAR-row / MONTH-Column)

    Hi Guru's,
    Assume that
    Row Axis: YEAR
    Column Axis: MONTH
    Page Axis: VERSION
    From the VERSION dimension, we re able to get Budget Year and the latest Actual Month.
    For example, As u see below, the budget year is 2014 and we retreive + or - 2 years of budget year which is 2014.
    And the latest actual month is Jun.
    So is it possible to make a dynamic report that can retreive actual data for the budget year and latest actual month of selected VERSION and also rest of the cells should be inputtable.
    By the way, we have a dimension which named as for the PLAN , ACTUAL etc.
    So what do you suggest for that case?  Is there any way to handle without VBA?
    Thanks to all in adv.
    MONTH / YEAR
    Jan
    Feb
    Mar
    Apr
    May
    Jun
    Jul
    Aug
    Sep
    Oct
    Nov
    Dec
    2012
    2013
    2014
    2015
    2016

    Hi Sadi,
    I agree Vadim, you do not need extra dimension for time. You can "report" in Bex analyzer with this format but BPC reporting/input schedules is not dynamic enough. Because you can not use property in axis but in Bex it is possible. Maybe you can change input form design because where is other contex in your form, 2012.01 what, price or stocks or sth? You have to specify account and entity. I think  it is useless design to input data. I added figure for sales model. In this figure, you can manage actual / budget with "if" and "today" excel formulas. And you can easily link your olap member in column axis. I think it will help you.
    Best regards
    Haşim.

  • Table numbering confusion and how to link to tables in a book/document?

    More questions :-(
    Table numbering confusion...
    I'm porting over (from MS Word) a document that has a bunch of tables in it.
    The document currently looks something like this:
    1 Major heading
    1.1 Sub heading
    text for that sub heading that refers to a table that follows (or may preceed) such as see Table 1-1 that follows
    Table 1-1
    Row 1/Column 1 content   Column 2 content   Column 3 content
    Row 2/Column 1 content   etc....            etc.
    Row 3                    etc.               etc.
    1.2 Next sub heading
    Text to follow that sub head that references Table 1-2 below...
    Table 1-2
    Row 1/Column 1 content   Column 2 content   Column 3 content
    Row 2/Column 1 content   etc....            etc.
    Row 3                    etc.               etc.
    2 Major heading
    2.1 Next sub heading
    Text to follow that sub head that references Table 2-1 below...
    Table 2-1
    Row 1/Column 1 content   Column 2 content   Column 3 content
    Row 2/Column 1 content   etc....            etc.
    Row 3                    etc.               etc.
    3 Major heading
    3.1 Next sub heading
    etc.
    Hopefully that makes sense.
    Currently it seems that the tables are numbered based on the chapter number with the chapter apparently being set at 2.
    I need the tables to instead use numbering based on the heading (Titles) numbers, but can't seem to figure out how to get the numbers set for the tables as I would want them to be.
    What do I need to do to make the table numbers reset based on the paragraph numbers (subchapters if you would refer to them that way...)
    Thanks again!

    What is the paragraph format of "Table 2-1" lines?
    Table numbering is commonly controlled by two things:
    1. Format > Paragraph > Paragraph Designer
    [table title para name]
    [ Numbering]
    and
    2. Format > Document > Numbering
    The default in Frame is that tables have titles of para fmt "TableTitle", but tables can switch that off, and also be anchored to paragraphs (often Headings) of any arbitrary format name and numbering scheme.

  • Converting each row in a column to an XML

    Hi everyone,
    Using Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit
    I have a table where there is a comments column which is VARCHAR2. That column contains string data in the form of XML tags.
    Like for eg. *<tag_name attr_name="10"/>* (sorry cant provide the exact values as I'm not allowed to)
    There are many such rows. Now I want to use these strings and operate on them as XML like using XPath to find certain attributes etc.
    I tried using the extract function and to use it i need a XMLType object. So I tried to create one using the XMLType() constructor.
    But it gives me the error ORA-19032: Expected XML tag , got no content
    When I looked it up on the net, I found that this error number doesn't correspond to the error message that I'm getting. The error msg found on the internet was Expected XML tag string got string
    I used this query
    SELECT XMLType (<column>) FROM <table>;But when I modified it (based on someone's hunch) to
    SELECT XMLType (<column>)
      FROM <table>
    WHERE ROWNUM <= 1;The query worked fine. Like it can take only one row.
    I also tried like this
    SELECT XMLType ('<tag_name attr_name="10"/>')
      FROM DUAL;This too worked fine.
    So finally this has left me completely confused. Is there a way to convert every row in a column to an XMLType object so that I can use the extract function to gather information about it.
    For the time being I have used REGEXes to write the code. But having the flexibility of xml would be better.
    Any help would be appreciated.
    Regards,
    Arijit
    Edited by: Arijit Kanrar on May 23, 2013 5:27 AM

    Arijit,
    The error message is correct. What you found is merely the generic message with string placeholders.
    The error message is also pretty self-explanatory : you can't pass an empty string (NULL) to the XMLType constructor.
    SQL> select xmltype('') from dual;
    ERROR:
    ORA-19032: Expected XML tag , got no content
    ORA-06512: at "SYS.XMLTYPE", line 310
    ORA-06512: at line 1
    no rows selectedYou have to either add a WHERE clause to filter out NULL columns, or use a CASE statement to only convert strings that aren't empty :
    SELECT XMLType (<column>)
      FROM <table>
    WHERE <column> IS NOT NULL ;
    SELECT CASE WHEN <column> IS NOT NULL THEN XMLType (<column>) END
    FROM ...And do not use EXTRACT if you want to access scalar values, use EXTRACTVALUE instead :
    SQL> select extractvalue(xmltype('<tag_name attr_name="10"/>'), '/tag_name/@attr_name') from dual;
    EXTRACTVALUE(XMLTYPE('<TAG_NAMEATTR_NAME="10"/>'),'/TAG_NAME/@ATTR_NAME')
    10

  • How to grey out column in NewForm.aspx

    Good morning,
    I have created a custom list.  In this list, I have a Drop-Down Column with various options and also a Text Column. 
    What I am hoping to achieve is that if, for example, if Choice 3 is selected from the drop-down column, then the Text Column becomes "available".  Otherwise this column remains greyed out.
    I am no master at coding so hopefully a solution that is not too complex.
    Thanks!

    If you're building out the form in InfoPath, you can also do this with some simple rules.
    Load the form in InfoPath, and select the textbox control
    Select 'Manage Rules' from the Home ribbon
    Create a formatting rule for the text box as follows
    Conditions = If dropdown column=blank, OR dropdown column=option 1, OR dropdown column=option 2 (see below screenshot)
    Select the 'Disable this control' checkbox
    I also recommend changing the color of the textbox so that it is greyed out, otherwise people could be confused as to why they can't edit the text field. You can do this in the same rule, with the paint bucket icon
    (Where 'session' is your dropdown column and "Option 1" and "Option 2" is the text for your first two options.)
    If you want to provide even more user guidance, you could add some text underneath the textbox which is only displayed when the textbox is disabled, saying something like "This textbox is only available when option 3 is selected". To do this, add the text
    to the form and then add a formatting rule to the displayed text:
    Conditions = If dropdown column=option 3
    Select 'Hide this control'
    Hope that helps!

  • Link to URL from column in report

    I still trying to find a way to display a static file on a report page. I have been unsuccessful with using an HTML region using #APP_IMAGES#filename.sh or using the value found in the coulmn: #APP_IMAGES#&P28_SCRIPT.
    Now, I've added a link on the column of the report. The column itself contains the URL that I want to go to. For ex. http://sharepoint.bankofamerica.com/sites/GIM2000upgrade/Shared%20Documents/Supporting%20Documents/Scripts/ds_broker_gim.sh
    The URL for the Link in the Column Attributes is set to : &SCRIPT_SHAREPOINT_HTML..
    When I click on the column, it brings me to the APEX Logon???
    I've used this URL in a List Template in a Region on a page as the Target URL and it works fine??
    I'm thoroughly confused at this point.
    Can anyone offer any assistance with this? It's driving me crazy and holding up any further development I need to get done????
    Thank-You

    Scott,
    Thanks so much and it would be better just to go to the hosted site that i am prototyping. Sorry for the confusion.
    What I want to do is to drill-down to the unix script file. I have upload the file: ds_broker_gim.sh to Static files. I want to be able to display the contents of this file after the drill-down from the ASE_AUTOSYS table.
    If you logon to my workspace: WIM
    UserName: [email protected]
    Password: ireland
    1. From View Application - select the Application name : CGM
    2. Click on the ASE tab bringing you to p.2
    3. Click on AUTOSYS tab ( Go to p.30)
    4. From the AutoSys Search Select Pulldown - 5. Select 'GIM2_D_DS_CREATEBOKER_UX ' (PS is there a way to do a'smart select to scroll the list as you type?)
    6. Click on the column link in Autosys_Script (it should say' /vol01/apps/gim/scripts/ds_broker_gim.sh'
    7. Click on the AUTOSYUS_SCRIPT column
    8. Brings you to p.28 where I'm various things to get the shared file to display.
    Note: I added the field: SCRIPT_FILE to the table AUTOSYS_SCRIPTS as a CLOB. I thought, well If I can't get it via an URL or as a static document- let me try storing the code in a clob field. As you can see, I'm having no success in displaying the ontents of the static file or contents of the column field.
    Also note that on P.2, I have include the URL in a List Tmplate : 'Document's. When i click on this, it does go to the URL. You won't be able to use this as it is located in our firewall but at least it work but not what I want.
    If you could help me with this, I would be very gratefult to you. I'm ploying away doing this on own and certainly I've got a lot to learn but at the same time I've managed to get quite a bit done.
    Thankks so much for your help. I hope I've explained this better.

  • Trying to do a pop up from a column link

    I have one interactive report (page 1) which I have defined a column link.
    The column link is targeted to another interactive (page 2) within the same application.
    Everything works except when I click on the column link in page 1 it does not pop up page 2, but instead replaces page 1 in the current window.
    I have tried all kinds of java code popup window functions, but to no avail.
    This is another simple syntax mistake I am making I am sure.
    Any Ideas ?
    Thanks in advance for your time.
    Anon

    Hello Anon,
    Ok, here is how this works:
    If Target = "Page in This Application" Then
    in the Link Attributes box just above the Target put target="_blank" - this will open a new window and display your target page in that window.
    HOWEVER, if your target = URL, you still need to put target="_blank" in the Link Attribute box, but put the URL in the place provided.
    When I responded before, I got ahead of myself. This: javascript:popUp2('f?p=&APP_ID.:2:&SESSION.::&DEBUG.::P2_ID:#ID#',500,400)
    is used in the HTML source for a Region (for example) to define a link.
    Sorry for the confusion,
    Don.
    You can reward this reply by marking it as either Helpful or Correct :)

  • Sql report, How to access current rows 6 columns data

    I have one page having page items & SQL report having 8 columns.
    First column of report is a link for editing.
    on clicking first column, that record gets displayed on page items, which are opn same page.
    Now my problem is i have used link column of report and set 3 page items value on click of link column.\
    But i need to set values for 2 more page items.
    I tried to create computation & process but not working. i am confused about which process point to select & whether onclick page gets submitted or not.
    I tried to write jscript but not succeeded. I dont know how to get current row id in jscript & different column values of current rowid.
    any help.

    Hi,
    Thanks for reply.
    in 5 items, first three are numeric and last two are timestamp fromtime, totime.
    as I mentioned earlier if i interchange 4 & 5 items i.e. now ITEM4 is totime & ITEM5 is fromtime
    and their values. I get value for totime & not for fromtime. all records contain values for all 5 columns. no null.
    So basically their is no problem in value or data, The only problem is whatever sequence is maintained first 4 items get value & 5th item remains blenk.
    Either I type all 5 ITEM NAMES in one Item name-value pair of link or use all three pairs, 5th ITEM remain blank.

  • Passing value from Report Column to Javascript

    Dear Apex wizards,
    I am a bit stuck right now with implementing a modal pop-up/iframe/javascript and this forum is my last hope to fix this issue.
    Anyway, will try to explain what I am trying to accomplish.
    What I need is: I want to have an SQL report, as a very first column I want to have an "ID" numbers from my table and I want this column to have a "Column Link" set in "Column Attributes" proper ties. The trick is, that when I click on the column link (when I run my report on Apex page) I need a JQuery modal window to pop-up where in IFrame will be another page and this page will use an "ID" from my column link URL to display data. So, basically I want to pass an "ID" value from my parent page to my child page which is displayed in iFrame of modal window.
    And here is what I have:
    1. I do have an SQL report:
    select SUBNET_ID,
           long2ip(NETWORK_ADDRESS),
           long2ip(SUBNET_MASK),
           long2ip(END_HOST),
           long2ip(START_HOST),
           MAX_HOSTS,
           long2ip(BROADCAST_IP),
           NETWORK_CLASS,
           NETWORK_SIZE,
           HOST_SIZE
    from   YC_CM_IP_SUBNETS 2. Then, in "Column Attributes" for "SUBNET_ID" a have set a "Column Link" to URL as : javascript:ViewNetworkDetails(#SUBNET_ID#); 3. Now, when I run my page and point my mice on any item in my "SUBNET_ID" column I can see that it is getting a "SUBNET_ID" number from my table and it shows it in the buttom of the browser as :javascript:ViewNetworkDetails(1);, or (2) or whatever "SUBNET_ID" is. So, that is good.
    4. And here I am getting confused, basically I have to pass a value of javascript:ViewNetworkDetails(#SUBNET_ID#);, which seems to work as it gives me correct numbers from my table, to my "ViewNetworkDetails" JavaScript function, so it can paste this value into "f?p=........." iFrame URL. Below is my Jquery Modal form script and Javascript to redirect me to my popup page (the script is in HTML Header):
    <script type="text/javascript">
    function ViewNetworkDetails(){
    var apexSession = $v('pInstance');
    var apexAppId = $v('pFlowId');
    var subnetIDNumber = document.getElementById(#SUBNET_ID#);
    $(function(){
    vRuleBox = '<div id="ViewNetworkDetailsBox" title="View Subnet Details">
    <iframe src="f?p='+apexAppId+':103:'+apexSession+'::NO:103:P103_SUBNET_ID:'+subnetIDNumber+'
    "width="875" height="500" title="View Subnet Details" frameborder="no"></iframe></div>'
    $(document.body).append(vRuleBox);
    $("#ViewNetworkDetailsBox").dialog({
                            buttons:{"Cancel":function(){$(this).dialog("close");}},
                            stack: true,
    modal: true,                            
                            width: 950,                    
    resizable: true,
    autoResize: true,
    draggable: true,
    close : function(){$("#ViewNetworkDetailsBox").remove();
                            location.reload(true); }
    </script> P.S. My assumption is, that there is a problem with this part of my scriptvar subnetIDNumber = document.getElementById(#SUBNET_ID#); where I cannot get my "SUBNET_ID" value from javascript:ViewNetworkDetails(#SUBNET_ID#); into "subnetIDNumber" variable and that is why I cannot pass it to my iFrame URL.
    P.S. P.S. the child page 103 has a "Automated Row Fetch", so it is not a problem. In addition, I did a simple test, where I had a page item "P102_Value" with some value and in my script I had instead var subnetIDNumber = document.getElementById(#SUBNET_ID#); this var subnetIDNumber = $v('P102_Value'); and it worked perfectly fine....but cannot make it working against SQL Select statement :-(
    HEEEEEEEEEEEEEELLLLLPPPP.
    Thanks

    Change your column link to send the subnet_id column's value to the function call (you mentioned it, but I m not sure if you actually did)
    javascript:ViewNetworkDetails(#SUBNET_ID#);<u>You are passing the parameter value to the function, but not defined any parameters in the function definition</u>(this is possible in JS, any extra parameters is ignored)
    So, modify the function to accept the subnet ID parameter(I am actually surprised how you missed this) and assign that parameter to variable.
    <script type="text/javascript">
    function ViewNetworkDetails(pSubnetId){
    var apexSession = $v('pInstance');
    var apexAppId = $v('pFlowId');
    var subnetIDNumber = pSubnetId;
    //rest of the code would be the same

  • [2007A] - [8.81] Aging report with passed due date invoices in 120+ column

    Hello,
    My database contains invoices due in october 2010.
    When I run the aging report, the amount of the invoice is not in column 0-30 but in column 120+
    When I run the dunning wizard, these invoice are not included.
    i tried to look all the parameter without success. Any idea why I have these invoice in this column ? Please let me know if you need more information to understand my issue.
    I also tried to run the report in 8.81, and teh problem remain the same
    Thank you for you help
    Sébastien

    Gordon,
    OK you're right, I didn't read well this report, and I was confused with the fact that these invoices were not in the dunning wizard result.
    So yes, the aging report is correct, but my issue was the dunning wizard, and I realize these invoices have a dunning level in the installment higher than the max dunning level of my dunning terms.
    So thank you for your answer, it lead me to look at the real problem!
    Sébastien

Maybe you are looking for

  • Easy Setup Suggestions

    Hi everyone, ok, once again a silly question, but apparently in the past I committed mistakes so... I'm shooting HDV with an HDR FX1, will import as SD for sake of time and hard drive space. Final destination will be DVD and TV. What easy setup shoul

  • Multi-dimensional array with dynamic size - how to?

    Hi I have a CONSTANT number of buckets. Each of them has to take a VARIOUS number of data series. The data series have one VARIOUS length per bucket. I'd like to index the buckets like an array to loop over them. So basically I need something like a

  • Dup or double copies of contact after syncing

    Hi I have had this problem with my Treo 650 when I sync with the Address Book and now the same thing with the iPhone. I believe it is something I am doing wrong. Here is what I can tell that I know of. 1. My addressbook ap has about 2400 contacts in

  • Problem with the Workflow Notification Mailer

    Hi Community, Recently we have just installed the E-Business Suite release 12.0.4 from e-delivery.oracle.com for Linux x86-64 using the VISION Demo database, in order to see and test the release for a future upgrade of our Production environment. The

  • Viewing Tasks in Calendar

    Hi, I am attempting to view my tasks in the calendar. After selecting this preference in the Calendar options, I return to agenda view (my default setting for calendar). Firstly, the tasks cause the program to make the dates appear out of order. As i