Need Helping hand on below result

Hi All,
Need a  helping hand to get below result in Sql server query.
Source table data:
SW
SM
SaName
Commitment
ID
QP
Week 2 October, 2014
October, 2014
Solution
Uncommitted Upside
6-53I6YHDDI
311219.6888
Week 3 October, 2014
October, 2014
Solution
Uncommitted Upside
6-53I6YHDDI
483853.9999
Week 4 October, 2014
October, 2014
Solution
Uncommitted Upside
6-53I6YHDDI
483853.9999
Week 5 October, 2014
October, 2014
Solution
Uncommitted Upside
6-53I6YHDDI
483853.9999
Week 1 November, 2014
November, 2014
Proof
Uncommitted Upside
6-53I6YHDDI
483853.9999
Expecting Result in a single record for ID
Result
Week 2 October, 2014 QP
Week2 CommitmentLevel
Week 2 October, 2014 SalesStageName
Week 3 October, 2014 QP
Week3 CommitmentLevel
Week 3 October, 2014 SalesStageName
Week 4 October, 2014 QP
Week4 CommitmentLevel
Week 4 October, 2014 SalesStageName
6-53I6YHDDI
311219.6888
Uncommitted Upside
Solution
483853.9999
Uncommitted Upside
Solution
483853.9999
Uncommitted Upside
Solution
Thanks in Advance...

vgvchinna,
See below two ways to get data in your desired format.
The 1st is a simple OUTER JOIN after partitioning the data using CTE.
The 2nd introduces the SW date column three times with aliases to use with three PIVOTs for each column of data. It then wraps the results in a MAX+GROUP BY to flatten it out.
I can think of a 3rd approach using CASE statements too but not including the SQL code for that here.
As you can see both these approaches are complex and not easily scalable. There is also dependency on you knowing the values beforehand to put in the WHERE clause (1st approach) or the PIVOT (in 2nd approach). Removing this dependency will
require dynamic SQL which will complicate the solution even more.
Let us know in this forum if you'd like any explanation on these two approaches.
On a side note, I'd also suggest that when you ask a question in any forum, include as much info as possible e.g. the CREATE/INSERT scripts, properly formatted desired output, what approaches have you already tried, your comfort
and skill level with the technology etc. so that you get better answers and also save time for the people who respond to you.
Good luck!
declare @t table
ID varchar(20)
, SW varchar(25)
, QP varchar(20)
, CommitmentLevel varchar(20)
, SaleStageName varchar(20)
insert into @t
values
('6-53I6YHDDI', 'Week 2 October, 2014', '311219.6888', 'Uncommitted Upside', 'Solution'),
('6-53I6YHDDI', 'Week 3 October, 2014', '483853.9999', 'Uncommitted Upside', 'Solution'),
('6-53I6YHDDI', 'Week 4 October, 2014', '483853.9999', 'Uncommitted Upside', 'Solution'),
('6-53I6YHDDI', 'Week 1 November, 2014', '483853.9999', 'Uncommitted Upside', 'Proof')
select * from @t--------------------
-- Method 1 with CTE
;with
wk2 as (select ID, QP as wk2QP, CommitmentLevel as wk2CommitmentLevel, SaleStageName as wk2SaleStageName from @t where SW = 'Week 2 October, 2014'),
wk3 as (select ID, QP as wk3QP, CommitmentLevel as wk3CommitmentLevel, SaleStageName as wk3SaleStageName from @t where SW = 'Week 3 October, 2014'),
wk4 as (select ID, QP as wk4QP, CommitmentLevel as wk4CommitmentLevel, SaleStageName as wk4SaleStageName from @t where SW = 'Week 3 October, 2014'),
wk1Nov as (select ID, QP as wk1NovQP, CommitmentLevel as wk1NovCommitmentLevel, SaleStageName as wk1NovSaleStageName from @t where SW = 'Week 1 November, 2014')
select
coalesce(wk2.ID, wk3.ID, wk4.ID, wk1Nov.ID) as Result,
wk2QP, wk2CommitmentLevel, wk2SaleStageName,
wk3QP, wk3CommitmentLevel, wk3SaleStageName,
wk4QP, wk4CommitmentLevel, wk4SaleStageName,
wk1NovQP, wk1NovCommitmentLevel, wk1NovSaleStageName
from wk2 full outer join wk3
on wk2.ID = wk3.ID
full outer join wk4
on wk2.ID = wk4.ID
full outer join wk1Nov
on wk2.ID = wk1Nov.ID
-- Method 2 with PIVOT
select ID
, max([Week 2 October, 2014QP]) as wk2QP, max([Week 2 October, 2014CommitmentLevel]) as wk2CommitmentLevel, max([Week 2 October, 2014SaleStageName]) as wk2SaleStageName
, max([Week 3 October, 2014QP]) as wk3QP, max([Week 3 October, 2014CommitmentLevel]) as wk3CommitmentLevel, max([Week 3 October, 2014CommitmentLevel]) as wk3SaleStageName
, max([Week 4 October, 2014QP]) as wk4QP, max([Week 4 October, 2014CommitmentLevel]) as wk4CommitmentLevel, max([Week 4 October, 2014QP]) as wk3SaleStageName
, max([Week 1 November, 2014QP]) as wk1NovQP, max([Week 1 November, 2014CommitmentLevel]) as wk1NovCommitmentLevel, max([Week 1 November, 2014QP]) as wk1NovSaleStageName
from
( select ID, SW+'QP' as SWQP, QP, SW+'CommitmentLevel' as SWCommitmentLevel, CommitmentLevel, SW+'SaleStageName' as SWSaleStageName, SaleStageName from @t ) as pivotquery
PIVOT ( MAX(QP) for SWQP in ([Week 2 October, 2014QP], [Week 3 October, 2014QP], [Week 4 October, 2014QP], [Week 1 November, 2014QP]) ) as pvtQP
PIVOT ( MAX(CommitmentLevel) for SWCommitmentLevel in ([Week 2 October, 2014CommitmentLevel], [Week 3 October, 2014CommitmentLevel], [Week 4 October, 2014CommitmentLevel], [Week 1 November, 2014CommitmentLevel]) ) as pvtCommitmentLevel
PIVOT ( MAX(SaleStageName) for SWSaleStageName in ([Week 2 October, 2014SaleStageName], [Week 3 October, 2014SaleStageName], [Week 4 October, 2014SaleStageName], [Week 1 November, 2014SaleStageName]) ) as pvtSaleStage
group by ID
- Aalamjeet Rangi | (Blog)

Similar Messages

  • Need help on the below query.

    Hi All,
    I've a query given below..
    SELECT W.WONUM,
         W.STATUS,
         WS.CHANGEDATE,
         EH.OLD_RATE
         FROM
         WORKORDER W,
         WOSTATUS WS,
         ESTIMATE_HEADER@GQMFOF EH
    WHERE WS.CHANGEDATE BETWEEN '01-Oct-2009' AND '1-Nov-2009'
    AND W.WONUM = WS.WONUM
    AND EH.OLD_RATE = 'N'
    AND WS.WOSTATUS = 'CLOSE';
    I would like to get All the data which status =closed in the month of Oct for Old rate,
    So for this i am writing the query above. But not getting the o/p.
    It is giving me that " Table/View doesn't exist.
    There 2 schemas MAXIMO,GQMMGR..
    DBlinks are GQMFOF,MAXFOFNC..
    Can anyone help me while writing the above query...
    Regards,
    gr.

    A question was asked in your other thread. But the problem was you dint care to give an answer.
    Dont open duplicate post.
    I need help on the below problem..

  • I need help on the below problem..

    Hi All,
    I need help on the below problem..
    I've 2 Schemas called
         1. MAXIMO and DBLink is GQMFOF
         2. GQMMGR adn DBLink is MAXFOFNC
    Now i would likw to retrive the data from both the schemas,
    i.e some columns from WORKORDER table of maximo schema and some columns from ESTIMATE_HEADER table
    of GQMMGR schema..
    I'm trying to get the data using DB links, but it is giving TABLE/VIEW doesn't exist.
    Please help me on this.
    Regards,
    gr.

    Does your user has the SELECT privelage granted for accessing those tables?

  • Need help in the below command excution

    Hi Champs,
    Can any one help with the below command, It is not working.
    Get-CsUser | Where-Object {$_.dialplan -eq "USDAL"} | Grant-CsLocationPolicy -PolicyName "Dallas Location Policy"
    Regards
    Vijendhar

    You could try something like: 
    $userlist = Get-CsUser -ResultSize Unlimited
    foreach ($user in $userlist)
    if ($user.dialplan -eq $Null)
    $pool = (Get-csdialplan | Where-Object {$_.Identity -like ("*" + $user.RegistrarPool)})
    if ($pool.length -ge "1") {write-host ("Pool simple name: " + $pool.simplename + ", Identity: " + $pool.identity)}
    if (($pool.simplename -eq "USDal") -or ($pool.identity -eq "USDal"))
    Write-host "Please Grant location policy to: $user.Displayname"
    # Get-csuser $user.identity | Grant-CsLocationPolicy -PolicyName "Dallas Location Policy"
    $pool = $Null
    Use at your own risk as I haven't had a chance to test, I have commented out the grant so you can test prior to changes.
    Please mark posts as answers/helpful if it answers your question.
    Blog
    Lync Validator - Used to assist in the validation and documentation of Lync Server 2013.

  • Need help in restricting a result set from a UNION in MERGE

    Hello,
    Would really appreciate if anybody could help me out with the issue I am facing with the below statements (I am new to Oracle ):
    merge into table_name_1 p
    using
      select p_key, value_1, value_2
      from some_tables
      UNION
      select p_key, value_1, value_2
      from some_tables
      UNION
    )t
    on (p.p_key = t.p_key)
    when matched then
      update table_name_1 with value_1 and value_2
    when not matched then
      insert table_name_1 with p_key, value_1, value_2;
    Now, the union of all those selects gives me distinct values and it works most of the times but when I get values like below, the merge fails:
    p_key-----value_1-----value_2
    100-----25-----50
    100-----NULL-----50
    I browsed the net and understood the reason behind this: the result set becomes ambiguous and merge doesn't know which row to insert first and which one to update.
    Now, my requirement is: I could have any of the below scenario/result sets from the union and I need only 1 row per p_key -
    result_set_1
    p_key-----value_1-----value_2
    100-----25-----50 ***************need this row
    100-----NULL-----50
    100-----NULL-----NULL
    result_set_2
    p_key-----value_1-----value_2
    100-----25-----NULL ***************need this row
    100-----NULL-----NULL
    result_set_3
    p_key-----value_1-----value_2
    100-----25-----NULL ***************need this row (p_key = 100)
    100-----NULL-----NULL
    200-----NULL-----75 ***************need this row (p_key = 200)
    200-----NULL-----NULL
    300-----90-----95 ***************need this row (p_key = 300)
    So, I basically need a way to restrict the values that I will get from the UNION of all those selects to fit the requirement above, hope I was able to explain the issue I am facing.
    Any help would be greatly appreciated.
    Thanks,
    Dpunk

    In all cases the goal is to find an order by value that will make the row you want be first.
    The query I gave is calculating a priority for each row by adding up values showing whether each column is null or not null. The case statements check whether each column is null and need to be added up to give a total priority value.
    Value_1   Value_2   Priority
    Not Null  Not Null  2 + 1 = 3
    Not Null  Null      2 + 0 = 2
    Null      Not Null  0 + 1 = 1
    Null      Null      0 + 0 = 0
    The priority value ends up being a bitmap showing whether each value is null or not null. I think that reflects my mathematics background.
    Another way of getting the same result (suggested to me by your asking why it needs the "+") would be to use two CASE expressions as separate order by items:
    select p_key, value_1, value_2 from
    (select p_key, value_1, value_2, row_number() over
              (partition by p_key
               order by case when value_1 is null then 0 else 1 end DESC,
                        case when value_2 is null then 0 else 1 end DESC
              ) as rn
      from (your UNION query here)
    where rn = 1
    A third way is to use a more complex case statement:
    select p_key, value_1, value_2 from
    (select p_key, value_1, value_2, row_number() over
              (partition by p_key
               order by case when value_1 is NOT null and value_2 is NOT null then 1
                             when value_1 is NOT null and value_2 is     null then 2
                             when value_1 is     null and value_2 is NOT null then 3
                             when value_1 is     null and value_2 is     null then 4
                         end  ASC
              ) as rn
      from (your UNION query here)
    where rn = 1

  • Need help on the below query or Pl-SQL

    Hello Every one,
    Please let me know if some one can help me out with the below scenario either in pl-sql or sql.
    Source Data:
    0000253800     0.25          0845A     0900A
    0000253800     1          0900A     1000A
    0000253800     1          1300P     1400P
    0000253800     1          1500P     1600P
    0000253800     1          1600P     1700P
    Output needed:
    0000253800     1.25          0845A     1000A
    0000253800     1          1300P     1400P
    0000253800     2          1500P     1700P
    Thanks in Advance....
    Edited by: user12564103 on Dec 11, 2011 5:54 PM

    Hi,
    Welcome to the forum!
    Depending on your data and your requirements:
    WITH     got_times     AS
         SELECT     column_1, column_2, column_3, column_4
         ,     TO_DATE ( substr (column_3, 1, 4)
                   , 'HH24MI'
                   )     AS time_3
         ,     TO_DATE ( SUBSTR (column_4, 1, 4)
                   , 'HH24MI'
                   )     AS time_4
         FROM     table_x
    ,     got_grp_id     AS
         SELECT     column_1, column_2, column_3, column_4
         ,     time_3, time_4
         ,     time_4 - SUM (time_4 - time_3) OVER ( PARTITION BY  column_1
                                        ORDER BY         time_3
                                      )     AS grp_id
         FROM     got_times
    SELECT       column_1
    ,       SUM (column_2)     AS sum_2
    ,       MIN (column_3) KEEP (DENSE_RANK FIRST ORDER BY time_3)
                        AS min_3
    ,       MAX (column_4) KEEP (DENSE_RANK LAST  ORDER BY time_4)
                        AS max_4
    FROM       got_grp_id
    GROUP BY  column_1
    ,       grp_id
    ORDER BY  column_1
    ,       grp_id
    ;Whenever you have a problem, please post CREATE TABLE and INSERT statements for your sample data, as well as the results you want from that data. Explain, with specific examples, how you get the results you want from that data.
    Always say which version of Oracle you're using. The query above will work in Oracle 9.1 (and higher).
    Since this is your first thread, I'll do this for you:
    CREATE TABLE     table_x
    (     column_1     NUMBER
    ,     column_2     NUMBER
    ,     column_3     VARCHAR2 (5)
    ,     column_4     VARCHAR2 (5)
    INSERT INTO table_x (column_1, column_2, column_3, column_4) VALUES (253800, .25, '0845A', '0900A');
    INSERT INTO table_x (column_1, column_2, column_3, column_4) VALUES (253800, 1,   '0900A', '1000A');
    INSERT INTO table_x (column_1, column_2, column_3, column_4) VALUES (253800, 1,   '1300P', '1400P');
    INSERT INTO table_x (column_1, column_2, column_3, column_4) VALUES (253800, 1,   '1500P', '1600P');
    INSERT INTO table_x (column_1, column_2, column_3, column_4) VALUES (253800, 1,   '1600P', '1700P');Column_1 identifes a day.
    Column_2 is an amount that I need to total.
    Column_3 and column_4 are starting and ending times. We can assume that they are all valid times (in 'HH24MI' format, plus a redundant 'A' or 'P') on the same day, column_3 is always less than column_4, and that the range of two rows for the same value of column_1 never overlap. Column_4 of one row may be equal to column_3 of another rows with the same column_1, but it will never be greater.
    Each row of the output represent a contiguous group of rows (each ending exactly when the next one begins) with the same column_1, with the common column_1, the total of column_2, and the range of the group.
    For example, the first two rows for a single group, because they have the same value for column_1, and one ends exactly when the other begins (at 9:00 AM). This group represents day 253800, from 8:45 AM to 10:00 AM. The totla of column_2 fro this group is .25 + 1 = 1.25.
    The next row (from 1:00 PM to 2:00 PM) is a group all by itself, because there is a gap one either side of it separating it from its nearest neighbor on the same day."
    Of course, I'm guessing at lots of things.
    Edited by: Frank Kulash on Dec 11, 2011 9:44 PM
    Changed TO_DATE calls.
    Edited by: Frank Kulash on Dec 11, 2011 9:52 PM
    Added sample question.

  • Low quality DVD outcome.. need help for high quality result ASAP!

    Hi every 1,
    (This is my first post, as I only got my iMac 2 weeks ago.. so please be gentle with me :P   )
    I have just been asked to turn a Microsoft powerpoint (PPT) into a DVD for "induction training video" purposes with voice overs and backing music. I have a professional music studio so providing high quality audio is fine, but trying to turn the power point into a high quality DVD file is my problem. This powerpoint has timing transitions (fade ins etc) for the timing of voice gaps. When using Microsoft PPT, you can turn the PPT into a Quicktime file which I was going to drop into iMoive then add the music and voiceovers.. this is when my problems started. Microsofts powerpoint doesn't add the transtiions and effect into render Quicktime movie, so I thought as my new iMac has iWork (KEYNOTE) I'd give it a try and to my surprise it all worked and the final mpeg4 quicktime movie result work great _when you look at it on the MAC_.
    1) Problem
    I then exported the file into iMovie and then my first Problem arose.... (grr). I movie lost it's sharpness and the images started to have pixelation.. that seemed to pulse in 1 seconds gaps.
    I hope this was just an issue with the iMovie preview window and thought once I put it into iDVD and burnt it... the final result may be fine.. but I was wrong and the quality was crap... with the pixelation still there.
    2) Problem
    The other problem that came up was the about 25% of the edge of the total screen was cutoff. When i did the original file, I choose 4:3 ratio, and watched it on this..so where did the image size go wrong.. I also choose the "high quality" Quicktime file, but didn't go into the settings in the iMovie in the export section (which I should off), but after check the compression type was H.264.. and I also didn't change any settings in the 'export file' section in KEYNOTE.. this is where I think I must have gone wrong..
    So in closing. my questions is:
    -What's the best way to turn a PPT into a _high quality file_ so it looks professional once it goes through iMovie and iDVD.. or
    - Should I just redo the whole production using iMovie ( by re doing all the work eg wording, transistion inside iMovie seems like a lot of extra word ) and so not use the PPT at all... and if I do this, then
    - What's sizes, and ratio and compressions should I use for 4:3 ratio TV purpose (eg. whats size should a background image be that I do inside Photoshop, so I can put the transition wording over the top, so I see it on the TV screen and the edge doesn't get cutoff etc.?
    I was very impressed with Keynote and would be happy to use this for most of the production.. but am I banging my head againist a wall...re fixing quality problems when exporting files into... can someone shed some light on this for me?
    Sorry this is such a big post.. but I thought if I gave you most of the background you would have to ask so many questions.
    Look forward to any help any 1 can provide..
    Michael
    Message was edited by: sycosingo

    Matti,
    Thx so much for your help.. it's really appreciated. This is by far the best result quality wise, (but I really am a perfectionist and personally are still not overall happy with the final product) but if my client is happy.. then I will continue down this track for this job.
    ie Create TIFF;'s>Quicktime PRO>iMovie (transistions)>iDvd
    You've been a great help and I hope it good enough for the client.
    I find the images and wording lose their sharpness only after being imported into iMoive. I could still be probably enhance the quality level of the TIFF's once more, as I did the test slides in Keynote, then exported the 5 slides a individual as TIFFS out of Keynote, then imported the into QuickTime Pro as you suggested then followed your instructions all the way to the final burning of the CD. I also tried doing this in Photoshop using your suggestion of 720x576 images (for PAL) .. pixel aspect ratio to ~1.094 so you can see the correct proportions for 4:3 video output. When creating the new slide in Photoshop there were a few extra settings other than the ones you gave me... _so I would real appreciate what every setting should be when creating the NEW TIFF file in Photoshop for PAL 4:3._ I noticed when I did this the image crispness on the fonts was shithouse pixelated and shadows, even while looking at it from inside Photoshop )
    As I tried mutliple ways of importing into iMovie (yours being the best suggestion) I really believe when dragging a TIFF or movie turns to blur on the way into iMoive. You can see the image is blurred from that point on.... _do I need to buy final cut pro or express to get a better image quality result?_
    I also tried iMoive7, which I found was great to use video editing wise, but Apples has definitely stuffed up there by not give users a 'time line' to work with in the Audio section... but everything else in the video area was great to use.., but in my situation trying to line up the narration to slide, while having also background music is now impossible sadly.
    Also I really like the 3D transitions in KEYNOTE, plus iMovie 7.. do you know if there are available for HD6 or if there's a 3rd party company that has smilar versions
    Thx again,
    sycosingo
    Message was edited by: sycosingo

  • Need help with loading MySQL results into a query

    Hello, I need some help figuring out why my tree component
    isn't being populated with my MySQL results.
    I have a table of categories:
    ParentID - CategoryID - Name
    Every top-level category has a ParentID of 0 (zero). I'm
    using php and a recursive function to build an array of nested
    results, then passing those results back to Flex, making those
    results a new ArrayCollection, then assigning that to the
    dataProvider of the tree.
    Result: my tree component is blank
    Suspicion: it has to be a way with how my array is being
    formed in PHP. If I play around with how it is formed I can get
    some odd results in the tree, so I know it's not a problem with the
    data being passed back to Flex.
    I am attaching the PHP code used to form the array, and the
    output of the array being created

    Why not just build xml and send it back? Xml is hierarchical
    by nature.
    However, if you want to stick with the nested ACs then are
    you using a labelFunction() with your tree? The node values are in
    different properties, so you can't just set labelField.
    Tracy

  • Need Help Urgently For Displaying RESULTS PER PAGE

    i am comiling a serch engine throgh JSDK servlets and using a personal Oracle database. i currently have over 2000 records and when they are returned they are all being returned in one big table. i am trying to get the servlet to display so many results per page, for example 30 per page. I am at a loss on how to do this and have tried a number of methods, i urgently need to find a way of doing this as it is for a Major school project. I hope someone can help me i would be extremly greatful if someone could. Please
    Thanks

    Hello --
    One way to do this would be something like this:
    1. Start out with a page where filtering parameters could be entered, submit to the servlet with a starting position of 0.
    2. Grab all the rows from the oracle database, toss them in an array.
    3. Draw items in a table from the starting position to the number of entries per page from the array.
    4. Put a Previous and Next button on the results page to submit back to the servlet in step 2 where the starting position is the current position - number of results per page for previous, next is the has a starting position of current position + number of results per page. You'll want to do range checking, etc on this.
    The key trick is to ask one servlet to do steps 2-4. I've used hidden variables on the form with some javascript to set the new starting parameter for previous and next. You could assemble a URL in javascript also.
    There are probably slicker ways to do this, but for 2000 rows, it should probably work well enough.
    Good luck.
    Donn

  • Need help on retrieving query result - NPE

    Hi, I could get results with the native query in my TOAD, but I can't get it working in my session EJB. I tried both native query and EJB ql. The query created fine, as soon as I try to retrieve results, it gets stuck.
    My native query looks like this:
    Query query = em.createNativeQuery("select sum(o.amount_reimbursed) from t_expenses o where o.employee_id = '999999911' " +
    "and o.EXPENSE_ID in (select p.expense_id from T_Per_Diem_Xref p where p.expense_Type_Xref_Id=22 " +
    "and p.expense_Id in (select e.expense_Id from T_Expenses e where e.employee_Id='999999911' " +
    "and e.expense_date > to_date('01/01/2011', 'mm/dd/yyyy') and e.expense_date < to_date('12/31/2011', 'mm/dd/yyyy')))") ;
    My EJB query looks like this:
    Query query = em.createQuery("select sum(o.amountReimbursed) from TExpenses o where o.employeeId = ?1 " +
    "and o.expenseId in (select p.expenseId from TPerDiemXref p where p.expenseTypeXrefId=?2 " +
    "and p.expenseId in (select e.expenseId from TExpenses e where e.employeeId=?1 and e.expenseDate>=?3 and e.expenseDate<=?4))");
    query.setParameter(1, employeeId);
    query.setParameter(2, expenseType);
    query.setParameter(3, fDay, TemporalType.TIMESTAMP);
    query.setParameter(4, lDay, TemporalType.TIMESTAMP);
    Either one, I get NPE at the line retrieve result.
    // sumAmt = (Double)query.getSingleResult();
    List list = query.getResultList();
    if (list != null) {
    long longAmt = (Long)list.get(0);
    sumAmt = (Double)list.get(0);
    As you can see, I tried to getSingleResult, or getResultList. also tried to convert the result to Double or Long. None worked.
    Please help and thank you for your time.
    Sophia

    Frank, thank you for your reply. I have this code in my session Facade EJB, and I get the NPE in my backing bean which calls this method. When I debug the code, it appears what really cuases the problem is in this code on the line I try to assign the query result to my variable 'sumAmt = (Double)query.getSingleResult();'. In the debug, when it reaches this line, it starts to give me all kinds of pop-up windows saying couldn't find this file or that file or packages. If I get a stack trace later, I will post it. Right now I am trying to fix something else.
    Thanks, Sophia

  • Need help to get the Result

    Hi Guyz,
    Request from our client is go get sum and average of certain key figures in a single line, The result should  show only the sum of all key values and average of all key values , Am able to get the sum but unable get average of all values in a single line,
    Would appreciate if I can get the solution Quick.
    System : BW 3.5
    Regards,
    Ravi

    Hi,
    Craete seperate CKF's to get SUM and AVERAGE rather than using the overall result.
    Exception aggregation might help you.
    -Vikram

  • Need helping hand to learn BW- BPS..

    Hi Friends,
    I have experience in BW and BI also. Now I wanted to update my skill with BPS, that is I need some documentation and excercises.
    Please send any documents which helps me to learn BPS to
    <b>[email protected]</b>
    Thanks in advance and best of luck of all.
    Regards,
    Suresh

    Hello Venkat,
    I am looking to append BPS skills to my BW / BI skills.
    Could you please forward the doc to me at [email protected] email?
    Thanks in advance.
    Pramod.

  • Need help for showing top results

    Hello everybody,
    I am a little upset and do not know what to do furthermore. I have grouped data in my crystal report. This data is sorted by turnover values, as it shall. My Problem is that I only want to display the first ten lines within that group. How can I get this results, or asked in another way, how can I restrict the lines of data that are shown within a group in crystal reports?
    Thank you for your advice

    I found it by myself. I had to choose section assistent and paging.

  • Need help understanding security scan results.

    My agency recently started using HP's Fortify Scan tool, which is designed to scan CF code directly, rather than the rendered page.  The scanner always seems to flag our pages for a certain error when I use the following code (used to create a PDF on the fly):
    <cfheader name="Content-Disposition" value="attachment;filename=#pdffile#">
    <cfcontent type="application/octet-stream" file="#expandPath('.')#\#pdffile#" deletefile="Yes">
    01. is line 299 in my code.
    I'm basically generating a filename elsewhere on the page that's based on what a user is requesting, then using the code above to create a downloadable PDF of that file.
    The error is:
    Header Manipulation (Input Validation and Representation, Data Flow)
    The file myfile.cfm includes unvalidated data in an HTTP response header on line 299.  This enables attacks such as cache-poisoning, cross-site scripting, cross-user defacement, page hijacking, cookie manipulation or open redirect.
    I'm thinking there's one of two potential issues.
    expandpath() is exploitable
    The scanner is programmed to flag any variable passed to a cfheader tag.
    Any thoughts?

    You need to scope the pdffile variable.  Without a specific scope it could be overwritten by incoming url or form variables.  I would try that then run the scan again.
    HTH,
    --Dave

  • Need help in understanding the result logged in gateway log file

    I have installed unixODBC.x86_64 (2.2.14) and mysql-connector-odbc-5.3.4-linux-el6-x85-64 on Oracle Linux Server 6.5 64 bit with Oracle 12c and MySQL Community Server 5..6.14.  Oracle database character set is AL32UTF8 and MySQL database character set is latin1. I have copied the content of a gateway log file to the bottom of this entry and boldfaced the lines that I hope someone can explain to me what they mean and what should I do.
    Gateway init file has the following configuration:
    HS_FDS_CONNECT_INFO = myodbc5
    HS_FDS_TRACE_LEVEL = DEBUG
    HS_FDS_SHAREABLE_NAME = /usr/lib64/libodbc.so
    HS_LANGUAGE=AMERICAN_AMERICA.WE8ISO8859P15
    set ODBCSYSINI=/tmp/shared
    ODBC.ini located in /tmp/shared has the following configuration:
    [myodbc5]
    Driver          = /tmp/shared/mysql-odbc/lib/libmyodbc5w.so
    DATABASE        = peter
    DESCRIPTION     = MySQL ODBC 5.3 Unicode Driver
    SERVER          = localhost
    UID             = peter
    PASSWORD        = peter
    SOCKET          = /var/lib/mysql/mysql.sock
    Listener.ora has the following configuration:
    LISTENER =
      (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))
    (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
    SID_LIST_LISTENER =
       (SID_LIST =
         (SID_DESC =
           (GLOBAL_DBNAME = PETER)
           (ORACLE_HOME = /opt/oracle/12c)
           (SID_NAME = PETER)
         (SID_DESC =
           (SID_NAME = mysqlodbc)
           (ORACLE_HOME = /opt/oracle/12c)
           (PROGRAM = dg4odbc)
    Tnsnames.ora has the following configuration:
    mysqlodbc =
    (DESCRIPTION=
    (ADDRESS=
    (PROTOCOL=TCP) (HOST=localhost) (PORT=1521)
    (CONNECT_DATA=
    (SID=mysqlodbc))
    (HS=OK)
    Gateway log file has the following content:
    Oracle Corporation --- TUESDAY   FEB 17 2015 14:08:39.306
    Heterogeneous Agent Release
    12.1.0.1.0
    Oracle Corporation --- TUESDAY   FEB 17 2015 14:08:39.306
        Version 12.1.0.1.0
    Entered hgogprd
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "DEBUG"
    Entered hgosdip
    setting HS_OPEN_CURSORS to default of 50
    setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
    setting HS_FDS_RECOVERY_PWD to default value
    setting HS_FDS_TRANSACTION_LOG to default of HS_TRANSACTION_LOG
    setting HS_IDLE_TIMEOUT to default of 0
    setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
    setting HS_NLS_NCHAR to default of "AL32UTF8"
    setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
    setting HS_FDS_DATE_MAPPING to default of "DATE"
    setting HS_RPC_FETCH_REBLOCKING to default of "ON"
    setting HS_FDS_FETCH_ROWS to default of "100"
    setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
    setting HS_FDS_RSET_RETURN_ROWCOUNT to default of "FALSE"
    setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
    setting HS_FDS_MAP_NCHAR to default of "TRUE"
    setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
    setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
    setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
    setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
    setting HS_FDS_QUERY_DRIVER to default of "TRUE"
    setting HS_FDS_SUPPORT_STATISTICS to default of "FALSE"
    setting HS_FDS_QUOTE_IDENTIFIER to default of "TRUE"
    setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
    setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
    setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
    Default value of 64 assumed for HS_FDS_SQLLEN_INTERPRETATION
    setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics;gtw$:SQLGetInfo"
    setting HS_FDS_DELAYED_OPEN to default of "TRUE"
    setting HS_FDS_WORKAROUNDS to default of "0"
    Exiting hgosdip, rc=0
    ORACLE_SID is "mysqlodbc"
    Product-Info:
      Port Rls/Upd:1/0 PrdStat:0
      Agent:Oracle Database Gateway for ODBC
      Facility:hsa
      Class:ODBC, ClassVsn:12.1.0.1.0_0017, Instance:mysqlodbc
    Exiting hgogprd, rc=0
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=46
    HOCXU_DRV_NCHAR=873
    HOCXU_DB_CSET=873
    HS_LANGUAGE is AMERICAN_AMERICA.WE8ISO8859P15
    LANG=en_US.UTF-8
    HOCXU_SEM_VER=121000
    HOCXU_VC2_MAX=4000
    HOCXU_RAW_MAX=2000
    Entered hgolofn at 2015/02/17-14:08:39
    HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/lib64/libodbc.so"
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac07fe0
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac08110
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac089d0
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac09d40
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac11c00
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac120a0
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac148d0
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac15dd0
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac16610
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac18060
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac18070
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac197c0
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac1cb80
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac1cf60
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac1eb70
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac1f800
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac1fb80
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac21af0
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac21f10
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac23b20
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac23960
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac0a360
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac0bc20
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac0f710
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac11470
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac12c00
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac15810
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac16f70
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac18400
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac19ec0
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac1a390
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac1b5f0
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac1c320
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac1d9c0
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac1dcc0
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac1e7c0
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac20380
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac208d0
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac20eb0
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac21520
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac22210
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac24fb0
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac23610
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac26910
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac275e0
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Exiting hgolofn, rc=0 at 2015/02/17-14:08:39
    HOSGIP for "HS_OPEN_CURSORS" returned "50"
    HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
    HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
    HOSGIP for "HS_NLS_NUMERIC_CHARACTERS" returned ".,"
    HOSGIP for "HS_KEEP_REMOTE_COLUMN_SIZE" returned "OFF"
    HOSGIP for "HS_FDS_DELAYED_OPEN" returned "TRUE"
    HOSGIP for "HS_FDS_WORKAROUNDS" returned "0"
    HOSGIP for "HS_FDS_MBCS_TO_GRAPHIC" returned "FALSE"
    HOSGIP for "HS_FDS_GRAPHIC_TO_MBCS" returned "FALSE"
    Invalid value of 64 given for HS_FDS_SQLLEN_INTERPRETATION
    treat_SQLLEN_as_compiled = 1
    Exiting hgoinit, rc=0 at 2015/02/17-14:08:39
    Entered hgolgon at 2015/02/17-14:08:39
    reco:0, name:peter, tflag:0
    Entered hgosuec at 2015/02/17-14:08:39
    Exiting hgosuec, rc=0 at 2015/02/17-14:08:39
    HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
    HOSGIP for "HS_FDS_TRANSACTION_LOG" returned "HS_TRANSACTION_LOG"
    HOSGIP for "HS_FDS_TIMESTAMP_MAPPING" returned "DATE"
    HOSGIP for "HS_FDS_DATE_MAPPING" returned "DATE"
    HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
    HOSGIP for "HS_FDS_RESULTSET_SUPPORT" returned "FALSE"
    HOSGIP for "HS_FDS_RSET_RETURN_ROWCOUNT" returned "FALSE"
    HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
    HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
    using peter as default schema
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    Entered hgocont at 2015/02/17-14:08:39
    HS_FDS_CONNECT_INFO = "myodbc5"
    RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
    Entered hgogenconstr at 2015/02/17-14:08:39
    dsn:myodbc5, name:peter
    optn:
    Entered hgocip at 2015/02/17-14:08:39
    dsn:myodbc5
    Exiting hgocip, rc=0 at 2015/02/17-14:08:39
    Exiting hgogenconstr, rc=0 at 2015/02/17-14:08:39
    Entered hgolosf at 2015/02/17-14:08:39
    Exiting hgolosf, rc=0 at 2015/02/17-14:08:39
    DriverName:libmyodbc5w.so, DriverVer:05.03.0004
    DBMS Name:MySQL, DBMS Version:5.6.14
    Exiting hgocont, rc=0 at 2015/02/17-14:08:39
    SQLGetInfo returns Y for SQL_CATALOG_NAME
    SQLGetInfo returns 192 for SQL_MAX_CATALOG_NAME_LEN
    Exiting hgolgon, rc=0 at 2015/02/17-14:08:39
    Entered hgoulcp at 2015/02/17-14:08:39
    Entered hgowlst at 2015/02/17-14:08:39
    Exiting hgowlst, rc=0 at 2015/02/17-14:08:39
    SQLGetInfo returns 0x0 for SQL_SCHEMA_USAGE
    TXN Capable:3, Isolation Option:0xf
    SQLGetInfo returns 0 for SQL_MAX_SCHEMA_NAME_LEN
    SQL_SU_DML_STATEMENTS bit is not set. Schemas are not supported by FDS.
    SQLGetInfo returns 192 for SQL_MAX_TABLE_NAME_LEN
    SQLGetInfo returns 192 for SQL_MAX_PROCEDURE_NAME_LEN
    HOSGIP returned value of "TRUE" for HS_FDS_QUOTE_IDENTIFIER
    SQLGetInfo returns ` (0x60) for SQL_IDENTIFIER_QUOTE_CHAR
    Entered hgopoer at 2015/02/17-14:08:39
    Exiting hgopoer, rc=0 at 2015/02/17-14:08:39 with error ptr FILE:hgopoer.c LINE:195 ID:GetDiagRec error
    hgoulcp, line 2138: calling SQLFetch got sqlstate 00000
    3 instance capabilities will be uploaded
      capno:5964, context:0x00000000, add-info:        0
      capno:5989, context:0x00000000, add-info:        0
      capno:5992, context:0x0001ffff, add-info:        1, translation:"`"
    Exiting hgoulcp, rc=0 at 2015/02/17-14:08:39 with error ptr FILE:hgoulcp.c LINE:2140 ID:Translation text for Unicode literal not supported. Leaving HOACOPTTSTN1 capability off.
    Entered hgouldt at 2015/02/17-14:08:39
    NO instance DD translations were uploaded
    Exiting hgouldt, rc=0 at 2015/02/17-14:08:39
    Entered hgobegn at 2015/02/17-14:08:39
    tflag:0 , initial:1
    hoi:0xd991a328, ttid (len 24) is ...
      00: 50455445 522E3864 63666537 31332E31  [PETER.8dcfe713.1]
      10: 2E33312E 32303235                    [.31.2025]
                     tbid (len 21) is ...
      00: 50455445 525B312E 33312E32 3032355D  [PETER[1.31.2025]]
      10: 5B312E34 5D                          [[1.4]]
    Exiting hgobegn, rc=0 at 2015/02/17-14:08:39
    Entered hgodtab at 2015/02/17-14:08:39
    count:1
      table: mysql_table1
    Allocate hoada[0] @ 0x10b6300
    Entered hgopcda at 2015/02/17-14:08:39
    Column:1(dest): dtype:1 (CHAR), prc/scl:5/0, nullbl:1, octet:5, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2015/02/17-14:08:39
    The hoada for table mysql_table1 follows...
    hgodtab, line 1079: Printing hoada @ 0x10b6300
    MAX:1, ACTUAL:1, BRC:1, WHT=6 (TABLE_DESCRIBE)
    hoadaMOD bit-values found (0x200:TREAT_AS_CHAR)
    DTY      NULL-OK  LEN  MAXBUFLEN   PR/SC  CST IND MOD NAME
      1 CHAR Y          5          5   0/  0    0   0 200 dest
    Exiting hgodtab, rc=0 at 2015/02/17-14:08:39
    Entered hgodafr, cursor id 0 at 2015/02/17-14:08:39
    Free hoada @ 0x10b6300
    Exiting hgodafr, rc=0 at 2015/02/17-14:08:39
    Entered hgopars, cursor id 1 at 2015/02/17-14:08:39
    type:0
    SQL text from hgopars, id=1, len=39 ...
         00: 53454C45 43542041 312E6064 65737460  [SELECT A1.`dest`]
         10: 2046524F 4D20606D 7973716C 5F746162  [ FROM `mysql_tab]
         20: 6C653160 204131                      [le1` A1]
    Exiting hgopars, rc=0 at 2015/02/17-14:08:39
    Entered hgoopen, cursor id 1 at 2015/02/17-14:08:39
    hgoopen, line 87: NO hoada to print
    Deferred open until first fetch.
    Exiting hgoopen, rc=0 at 2015/02/17-14:08:39
    Entered hgodscr, cursor id 1 at 2015/02/17-14:08:39
    Allocate hoada @ 0x10b6300
    Entered hgodscr_process_sellist_description at 2015/02/17-14:08:39
    Entered hgopcda at 2015/02/17-14:08:39
    Column:1(dest): dtype:1 (CHAR), prc/scl:5/0, nullbl:1, octet:5, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2015/02/17-14:08:39
    hgodscr, line 470: Printing hoada @ 0x10b6300
    MAX:1, ACTUAL:1, BRC:100, WHT=5 (SELECT_LIST)
    hoadaMOD bit-values found (0x200:TREAT_AS_CHAR)
    DTY      NULL-OK  LEN  MAXBUFLEN   PR/SC  CST IND MOD NAME
      1 CHAR Y          5          5   0/  0    0   0 200 dest
    Exiting hgodscr, rc=0 at 2015/02/17-14:08:39
    Entered hgoftch, cursor id 1 at 2015/02/17-14:08:39
    hgoftch, line 135: Printing hoada @ 0x10b6300
    MAX:1, ACTUAL:1, BRC:100, WHT=5 (SELECT_LIST)
    hoadaMOD bit-values found (0x200:TREAT_AS_CHAR)
    DTY      NULL-OK  LEN  MAXBUFLEN   PR/SC  CST IND MOD NAME
      1 CHAR Y          5          5   0/  0    0   0 200 dest
    Performing delayed open.
    SQLBindCol: column 1, cdatatype: 1, bflsz: 6
    SQLFetch: row: 1, column 1, bflsz: 6, bflar: 5
    SQLFetch: row: 1, column 1, bflsz: 6, bflar: 5, (bfl: 5, mbl: 5)
    1 rows fetched
    Exiting hgoftch, rc=0 at 2015/02/17-14:08:39
    Entered hgoftch, cursor id 1 at 2015/02/17-14:08:39
    hgoftch, line 135: Printing hoada @ 0x10b6300
    MAX:1, ACTUAL:1, BRC:1, WHT=5 (SELECT_LIST)
    hoadaMOD bit-values found (0x200:TREAT_AS_CHAR)
    DTY      NULL-OK  LEN  MAXBUFLEN   PR/SC  CST IND MOD NAME
      1 CHAR Y          5          5   0/  0    0   0 200 dest
    0 rows fetched
    Exiting hgoftch, rc=1403 at 2015/02/17-14:08:39
    Entered hgoclse, cursor id 1 at 2015/02/17-14:23:33
    Exiting hgoclse, rc=0 at 2015/02/17-14:23:33
    Entered hgodafr, cursor id 1 at 2015/02/17-14:23:33
    Free hoada @ 0x10b6300
    Exiting hgodafr, rc=0 at 2015/02/17-14:23:33
    Entered hgocomm at 2015/02/17-14:23:33
    keepinfo:0, tflag:1
       00: 50455445 522E3864 63666537 31332E31  [PETER.8dcfe713.1]
       10: 2E33312E 32303235                    [.31.2025]
                     tbid (len 21) is ...
       00: 50455445 525B312E 33312E32 3032355D  [PETER[1.31.2025]]
       10: 5B312E34 5D                          [[1.4]]
    cmt(0):
    Entered hgocpctx at 2015/02/17-14:23:33
    Exiting hgocpctx, rc=0 at 2015/02/17-14:23:33
    Exiting hgocomm, rc=0 at 2015/02/17-14:23:33
    Entered hgolgof at 2015/02/17-14:23:33
    tflag:1
    Exiting hgolgof, rc=0 at 2015/02/17-14:23:33
    Entered hgoexit at 2015/02/17-14:23:33
    Exiting hgoexit, rc=0
    Entered horcrces_CleanupExtprocSession at 2015/02/17-14:23:33
    Entered horcrpooe_PopOciEnv at 2015/02/17-14:23:33
    Entered horcrfoe_FreeOciEnv at 2015/02/17-14:23:33
    Exiting horcrfoe_FreeOciEnv at 2015/02/17-14:23:33
    Entered horcrfse_FreeStackElt at 2015/02/17-14:23:33
    Exiting horcrfse_FreeStackElt at 2015/02/17-14:23:33
    Exiting horcrpooe_PopOciEnv at 2015/02/17-14:23:33
    Exiting horcrces_CleanupExtprocSession at 2015/02/17-14:23:33

    Hi Matt,
    There is no error and data is returned.  It is just my curiosity to know about those lines in the log file and wonder whether they imply some underlying issues.
    Thanks,
    Peter

Maybe you are looking for

  • HT1338 Mac pro wont go into sleep mode

    My mac pro has to physically be restarted everytime it should go to sleep.  I run it through a flat screen TV and when I go to sit down and use my computer the screen is black and the indicater light on the front of my computer is solid, not flashing

  • Maverick Local Host Not Working Correctly

    Hello, I recently upgraded to Maverick 10.9.2. Now my local host is working incorrectly? Now when I try to access one of my sites on my local machine, it just shows the php code and not loading the pages? I also restored httpd.conf~previous to httpd.

  • Upgrade to EBS 12.1.2 have 250 invalid objects

    We just upgrade one of EBS application farm from EBS 12.1.1 to 12.1.2. After finish we found database have 250 invalid objects. I have been run "utlrp" several time still useless. I list some invalid objects here hope soneone can help us. ===========

  • Javadoc download v1.3.1 containing the javax.naming.

    javadoc download v1.3.1 containing the javax.naming. package etc (not the jdk-1_2_2_006-doc.zip 17MB file, it does not have the javax.naming classes in it.) I can browse the classes on site http://java.sun.com/j2se/1.3/docs/api/index.html where to do

  • Integrating Oracle Essbase 9.3 with Oracle Business Intelligence 11g

    Hello, ¿Do you think that is necessary upgrade Essbase 9.3 to Essbase 11? ¿Which are the benefits of these upgrade? Thanks