Applying LIMIT (dimen.) TO TOP (...) BASEDON (...) structure in OLAP_TABLE

Hi
I'd like to know how to apply structure
LIMIT dimension TO TOP (number of top member performers) BASEDON (measure)
in OLAP_TABLE.
For instance I have a cube SALES with 2 measures: SALES_VALUE and QUANTITY and a dimension PRODUCT with two levels: TOTAL and PRODUCT_NAME. Then I want to list 3 products with the highest SALES_VALUE and QUANTITY > 100.
I can create for example such query:
SELECT sales_val, quant, product_dsc
FROM TABLE(OLAP_TABLE(
'test_schema.test_aw DURATION SESSION',
null,
null,
MEASURE sales_val FROM sales_value
MEASURE quant FROM quantity
DIMENSION product WITH
HIERARCHY product_parentrel
INHIERARCHY product_inhier
ATTRIBUTE product_dsc FROM product_description
ROW2CELL r2c'))
WHERE
OLAP_CONDITION(R2C, 'LIMIT product TO product_levelrel eq ''PRODUCT_NAME''', 1)=1
AND OLAP_EXPRESSION_BOOL(R2C, ' quantity gt 100')=1
AND OLAP_CONDITION(R2C, 'LIMIT product TO TOP 3 BASEDON sales_value, 1)=1;  ???????
Instruction above does not work completely well, because it will give 3 rows with top values of SALES_VALUE measure, but in this case OLAP_CONDITION(R2C, 'LIMIT product TO product_levelrel eq ''PRODUCT_NAME''', 1)=1 is not fulfilled (row with values of TOTAL_PRODUCT level appears).
One can create such query:
SELECT sales_val, quant, product_dsc
FROM TABLE(OLAP_TABLE(
'test_schema.test_aw DURATION SESSION',
null,
*'LIMIT product TO TOP 3 BASEDON sales_value', ?????*
MEASURE sales_val FROM sales_value
MEASURE quant FROM quantity
DIMENSION product WITH
HIERARCHY product_parentrel
INHIERARCHY product_inhier
ATTRIBUTE product_dsc FROM product_description
ROW2CELL r2c'))
where
OLAP_CONDITION(R2C, 'LIMIT product TO product_levelrel eq ''PRODUCT_NAME''', 1)=1
AND OLAP_EXPRESSION_BOOL(R2C, ' quantity gt 100')=1;
It leads to the same result as the first query.
What shuold I do to make OLAP_CONDITION(R2C, 'LIMIT product TO product_levelrel eq ''PRODUCT_NAME''', 1)
fulfill in query above?
I can add that query below works as it should (LIMIT TO TOP... omitted).
SELECT sales_val, quant, product_dsc
FROM TABLE(OLAP_TABLE(
'test_schema.test_aw DURATION SESSION',
null,
null,
MEASURE sales_val FROM sales_value
MEASURE quant FROM quantity
DIMENSION product WITH
HIERARCHY product_parentrel
INHIERARCHY product_inhier
ATTRIBUTE product_dsc FROM product_description
ROW2CELL r2c'))
WHERE
OLAP_CONDITION(R2C, 'LIMIT product TO product_levelrel eq ''PRODUCT_NAME''', 1)=1
AND OLAP_EXPRESSION_BOOL(R2C, ' quantity gt 100')=1;
Thank you in advance for any help
Peter

Peter, Yes, I hadn't considered the condition sales_value greater than 100 in my mail.
You can try either of the below limit cmds to include that condition too:
limit product to limit(limit(limit(product to (product_levelrel eq 'PRODUCT_NAME') AND (sales_value gt 100)) keep top 3 basedon sales_value) sort top 3 basedon sales_value)
-or-
limit product to limit(limit(limit(limit(product to product_levelrel eq 'PRODUCT_NAME') keep sales_value gt 100) keep top 3 basedon sales_value) sort top 3 basedon sales_value)
I dont think one can be sure that having separate olap_condition filters for each condition will work fine all the time. To simulate the cascading of AND operations of where clause (filters) in SQL, we can use the nested limit() function to act on progressively smaller/better qualified resultsets (cells). SQL query would apply the AND filters in any manner or order that the optimizer deems fit whereas using the limit function with keyword "keep" within it indicates an implicit order of filters. SQL query with multiple olap_conditions might rank and find top 3 -or- bottom 5 before it applies the filter "sales_value gt 100". In such a case, you may find that the query will return no rows or return only the top 1 or 2 out of top 3 which are gt 100 -or- in case of bottom, return no rows or return less than 5 members (only those above 100) -- not necessarily 3 "top 3" or 5 "bottom 5" members.
rgds
Shankar

Similar Messages

  • How to apply Foreign Keys on top of a Common Lookup table

    I have an issue where i am mandated to enforce RI on an applications database (a good thing). but I have several common lookup tables where many of the "codes" reside for many different code types. I also have the mandate that i cannot change the
    underlying DDL to make composite keys to match the codes table PK. I am currently looking at creating indexed views on top of the Codes table to seperate the logical tables it contains. This is several hundred views. Although doable is there another solution
    I am not seeing? I have scoured the web in search of an answer knowing I cannot be the only SQL developer in this situation. I do know that I do not want to write several hundred triggers to enforce RI. Table schema below, the CdValue column is the column
    that is used throughout the hundreds of tables that use this codes table, and their corresponding column is not named the same.
    CREATE TABLE dbo.CodesTable (
    PartyGrpId INT  NOT NULL
      , CdTyp  VARCHAR ( 8 ) NOT NULL
      , CompId INT  NOT NULL
      , CdValue VARCHAR ( 8 ) NOT NULL
      , CdValueDesc VARCHAR ( 255 ) NULL
      , AltValueDesc VARCHAR ( 100 ) NULL
      , DefaultInd CHAR ( 1 ) NULL
      , OrderNum SMALLINT NULL
      , ActiveCd CHAR ( 1 ) NULL
      , ExpireDtm SMALLDATETIME NULL
      , EffectDtm SMALLDATETIME NULL
      , ModById INT  NULL
      , ModDtm SMALLDATETIME NULL
      , CreateById INT  NULL
      , CreateDtm SMALLDATETIME NULL
      , CONSTRAINT PC_dbo_EcdDetail
        PRIMARY KEY CLUSTERED ( PartyGrpId ASC, CdTyp ASC, CompId ASC, CdValue ASC )
        ON FG_Data
    ) ON FG_Data;
    I did though run into one forum where a person brought up a great idea. Filtered Foreign Keys, what a novel concept, if it could work it would make so much less code to fix an issue like this. :)
    ALTER TABLE dbo.BusinessStatus WITH NOCHECK
    ADD CONSTRAINT FK_dbo_BusinessStatus_CodesTable FOREIGN KEY (LoanStsDtCd) REFERENCES dbo.CodesTable (CdValue) WHERE CdTyp = 'Status'
    U.S. Army Airborne! The only way to fly

    >> I have several common lookup tables where many of the "codes" reside for many different code types. <<
    No! This is called “Automobiles, S quids and Lady Gaga” SQL and laugh at you or fire you or both. A table is a set; a set has one and only one kind of element it it. This is the basis of RDBMS and First Normal Form. 
    This is so bad it has a name; OTLT for “One True Lookup Table” ;I give an example of how stupid this in one of my books where a Dewey Decimal Classification for Churches is the same as the ICD code for deformed testicles. 
    There is no such crap as a “generic_type_code” in RDBMS. It either a “<something in particular>_type” or a “<something in particular>_code” in data modeling and the ISO-11179 standards.
    You have more NULL-able columns in one table than you should have in an entire schema! 
    You have audit data (creation and modification) in the row under audit. This is both stupid and illegal. You cannot expose the audit trail to the data user by law. When you delete a row, you also destroy the audit trail –Doh! 
    You have no CHECK() constraint on the (effective_date, expiry_date) pair. 
    Putting “_table” in a table name is a design error called a “tibble” to make fun of how silly it. You might want to download the PDF of bad SQL code smells from Red Gate so you can avoid things like this. 
    >>  the CdValue column is the column that is used throughout the hundreds of tables that use this codes table, and their corresponding column is not named the same. <<
    “_value” and “_code” are both what ISO-1179 calls an attribute property. It is a silly as a list of adjectives without a noun. 
    Each encoding is a separate table in a valid schema, each with its own validation and verification. You have to stop doing this. This is fundamental!! 
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

  • Applying Active state of top level nav. menu to child pages

    I am trying to keep a consistent look across the child pages of a top level site. I'd like the main navigation bar to remain in an active state for the parent page while the user navigates the child pages associated with that page using submenus. Ideally, I'd like the active state to remain on the top level menu so that the user knows they are still within that parent while they drill down to the specific information they are looking for.
    Brand new at this and am truly your 'no HTML' experience, just design work gal. Any help or suggestions would be appreciated.

    Samianne11
    It seems as if your problem is similar to mine posted on October 2nd 2012, which
    got the following answer from 1.adobelance.
    1.adobelance, 
    Oct 2, 2012 2:22 PM   in reply to ballyd
    Muse menus don't currently support this, although it is on our list of features to add in the future.

  • Qos- I want to apply limit on FTP traffic

    I want to apply Qos on ftp traffic on cisco 6500. Ftp traffic should use only 512 kbps bandwidth. Please any one suggest how should i establish this and any study document will be welcome.
    Thanks in advance

    Disclaimer
    The  Author of this posting offers the information contained within this  posting without consideration and with the reader's understanding that  there's no implied or expressed suitability or fitness for any purpose.  Information provided is for informational purposes only and should not  be construed as rendering professional advice of any kind. Usage of this  posting's information is solely at reader's own risk.
    Liability Disclaimer
    In  no event shall Author be liable for any damages whatsoever (including,  without limitation, damages for loss of use, data or profit) arising out  of the use or inability to use the posting's information even if Author  has been advised of the possibility of such damage.
    Posting
    How would depend very much on the QoS features of the device.  Even 6500 QoS features depend on line cards.
    Most, but not all, Cisco switches support 4 egress queue which you can provide different bandwidth allocations.  Such allocations usually provide a minimum, but more bandwidth might be used if its otherwise not being used.
    For example, you might define four queues that one is a priority queue for real-time traffic; one is a foreground queue with a large bandwidth allocation (not that such traffic should be bandwidth intensive, but to insure high priority for dequeuing; one is a background queue with minimum bandwidth allocation (often where you might want to direct FTP); and the last is a middle allocation for everything else, i.e. your default.
    Also on switches, traffic is often placed into a particular egress queue based on L2 CoS or L3 ToS.  So, what this means, you'll want to mark your FTP traffic differently than your other traffic, perhaps with CoS 1 or DSCP CS1 or AF1x.
    Cisco has some great guides on how to configure QoS for their different platforms although their 11 class model is often overly complex.

  • Robocopy /XD only applied to top level

    Hi,
    I have one file server (OldServer) with all my user home folders and I need to spilt these onto 4 seperate file servers
    My plan is to put home folders begining with
    A to D on server1
    E to H on server2
    I to O on server3
    P to Z on server4
    My script below would be used for "server1", it copies folders begining with A, B, C and D to the new location. But the issue is now that it also limits the sub folders. so subfolder \\OldServer\HomeFolder\BLOGGS\zzz does not get RoboCopied.
    I need for the /XD command to only apply to the top level structure, and for all sub folder to copy
    robocopy "OldServer\HomeFolder "Server1\HomeFolder" /MIR /COPY:DATSO /XD E* F* G* H* I* J* K* L* M* N* O* P* Q* R* S* T* U* V* w* X* Y* Z*
    Any thoughts?
    Thanks Tony

    Hi Tony,
    When you use /XD option to exclude directories that match the specified names and paths, the specified folders in subfolders are also excluded. I think you need to copy entire subfolder in the HomeFolder one by one or using the full path name to exculue directories.
    Best Regards,
    Mandy 
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Extract Single Tone Information using Flat Top Windowing

    Beginner here - Does anyone have any ideas on what would be the easiest way to create a function that would essentially perform the same function as the built in "Extract Single Tone Information.vi" only that instead of using Hanning windowing (as I noticed that this Vi does) I would be able to use Flat Top (or selectable windowing)? I basicly need to set something up that will accept an incoming Sine wave and apply FFT using Flat Top windowing then output the measured frequency and the amplitude of that frequency. I need to still be able to input the "advanced search" criteria into the VI and give it a frequency and tolerence to look for as I don't want to just look for the peak signal but at specific frequencies. 

    I am running Labview 7.1.1 (that's what my company uses and they refuse to upgrade). I can't open files built under anything newer than LV7.1.1.
    I really don't want to just do a peak search of the entire spectrum and would rather enter a specific frequency to look for and the tolerance window (find peak at say +/- 2% tolerance away from known recorded frequency. This test is targeted as a production test we will be shipping to several parteners around the world to use in production. This will be a test fixture to perform testing on electret boom microphones. The fact that it will be used in a production environment there is potential for high levels of background noise (radios, floresent lights, people talking, etc) and therefore I need as much filtering as possible to only the frequency i am trying to measure. I will be outputting a specific frequency from a speaker and recording it back through the microphone under test via a NI USB-6211 DAQ.
    Can anyone tell me if "Extract Single Tone Information fron Hann Spectrum.vi" has anything in it which would limit me to only inputting a Hann windowed FFT into the signal input of that VI? This is the VI which is password protected in my 7.1.1. copy of Labview. If it doesn't and I could feed it a Flat Top windowed FFT signal into it without problem I am golden. I can modify the other sub-vi ("FFT with Hanning") and the main "Extract Single Tone Information 1CH.vi".
    Thanks for you continued input. 
    P.S. I am fairly new to Labview (<2yrs)

  • Applying a Navigation Bar to a Site

    I created a Navigation Bar and would like to apply it to all
    of the files that are on my site map. How to? Couldn't find any
    instructions in the Help files.

    > I Loved AllWebMenus
    I'm sorry to say that's only because you never discovered all
    the reasons to
    hate them. And there are lots.
    > I'm afraid I am clueless
    > about things like "Server-side includes" - could you
    point me to more
    > information on that?
    Just google the term. You'll find lots. I think there is a
    reasonable
    tutorial at
    http://www.bignosebird.com.
    > I'd like to 'integrate' them so that the Nav Bar still
    appears on those
    > pages.
    > The only way I can think of to do that, is to use a
    frame. Or... ?
    Frames do have some value in situations like this. Just make
    sure you
    understand the downsides of that choice....
    As far as I know, the most comprehensive discussions of
    frames and their
    potential problems can be found on these two links -
    http://apptools.com/rants/framesevil.php
    http://www.tjkdesign.com/articles/frames/
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Qamera" <[email protected]> wrote in
    message
    news:g9ud3t$g9f$[email protected]..
    > Murray,
    >
    > I'm afraid I come from that FrontPage area (ugh) where I
    could create a
    > navigation bar using an external plug in (I Loved
    AllWebMenus), apply it
    > to my
    > entire navigation structure, then drop it into a top
    frame that I could
    > include
    > (nor not) in any and all pages within the structure. I'm
    afraid I am
    > clueless
    > about things like "Server-side includes" - could you
    point me to more
    > information on that?
    >
    > By the way, I only have about 6 pages for this site, but
    several of them
    > are
    > external links, i.e. one links to a Forum and another to
    a WordPress blog,
    > but
    > I'd like to 'integrate' them so that the Nav Bar still
    appears on those
    > pages.
    > The only way I can think of to do that, is to use a
    frame. Or... ?
    >

  • Disco 4 OLAP dimension limit question

    Hello!
    Small question about Disco. Is it possible to do a limit on dimension simmilar to this:
    limit dim1 to HIERARCHY DEPTH 4 SKIP 3 'ONE_TOP_MEMBER'
    limit dim1 keep top 500 BASEDON SALES
    The problem is that in Disco we can not limit Current selection if we are doing top/bottom query. It allows to select only full level of hierarchy but we need only several members of that level. Are there any other aproach?
    Thank you in advance!
    Regards,
    Kirill Boyko

    You're right.. It was interesting :-)
    I couldnt get it to work using just OLAP DML commands..
    ++++++++
    "SUBCAT level
    limit articles to articles_levelrel eq 'SUBCAT'
    "NOTE: DOES NOT WORK for EACH subcat. Adds 20% children of first sub-category in status
    limit articles add limit(limit(articles to children using articles_parentrel articles(articles articles)) keep top npcent percentof total(sales, articles))
    sort articles hierarchy articles_parentrel
    rpr down articles articles_parentrel heading 'SALES' sales heading 'Pct_Parent' sales(articles articles)/sales(articles articles_parentrel(articles articles)) heading 'TopNpcent_Children' limit(limit(articles to children using articles_parentrel articles(articles articles)) keep TOP 20 PERCENTOF total(sales, articles))
    ++++++++
    You can create a DML program and use the Limit function with Top N PERCENTOF based on expression to perform the needful.
    ****** OLAP DML program temp1 ******
    arg _npcent integer
    vrb npcent integer
    vrb vset1 valueset articles
    if _npcent eq na
    then npcent = 20
    else npcent = _npcent
    limit vset1 to na
    limit articles to articles_levelrel eq 'SUBCAT'
    tempstat articles
    DO
    FOR articles
    DO
    limit vset1 add limit(limit(articles to children using articles_parentrel articles(articles articles)) keep top npcent percentof total(sales, articles))
    DOEND
    DOEND
    limit articles add vset1
    sort articles hierarchy articles_parentrel
    temp1 20
    rpr down articles articles_parentrel Heading 'SALES' sales Heading 'Pct_Parent' sales(articles articles)/sales(articles articles_parentrel(articles articles)) Heading 'TopNpcent_Children' limit(limit(articles to children using articles_parentrel articles(articles articles)) keep TOP 20 PERCENTOF total(sales, articles))

  • LIMIT question

    Hello!
    I've got one interesting question on OLAP DML. Assume you have dimension ARTICLES and one hierarchy with levels CATEGORY, SUB-CATEGORY, ITEM and one cube with variable SALES measured by this dimension.
    question: how to limit ARTICLES dimension to all top 20% items in EACH sub-category based on sales?
    I have tried to prepare a DML program with loop over ARTICLES dimension using TEMPSTAT PUSHLEVEL and POPLEVEL, but it seems that TEMPSTAT kills all PUSH in such loop.
    Does anybody knows how to do it?
    Thank you in advance.

    You're right.. It was interesting :-)
    I couldnt get it to work using just OLAP DML commands..
    ++++++++
    "SUBCAT level
    limit articles to articles_levelrel eq 'SUBCAT'
    "NOTE: DOES NOT WORK for EACH subcat. Adds 20% children of first sub-category in status
    limit articles add limit(limit(articles to children using articles_parentrel articles(articles articles)) keep top npcent percentof total(sales, articles))
    sort articles hierarchy articles_parentrel
    rpr down articles articles_parentrel heading 'SALES' sales heading 'Pct_Parent' sales(articles articles)/sales(articles articles_parentrel(articles articles)) heading 'TopNpcent_Children' limit(limit(articles to children using articles_parentrel articles(articles articles)) keep TOP 20 PERCENTOF total(sales, articles))
    ++++++++
    You can create a DML program and use the Limit function with Top N PERCENTOF based on expression to perform the needful.
    ****** OLAP DML program temp1 ******
    arg _npcent integer
    vrb npcent integer
    vrb vset1 valueset articles
    if _npcent eq na
    then npcent = 20
    else npcent = _npcent
    limit vset1 to na
    limit articles to articles_levelrel eq 'SUBCAT'
    tempstat articles
    DO
    FOR articles
    DO
    limit vset1 add limit(limit(articles to children using articles_parentrel articles(articles articles)) keep top npcent percentof total(sales, articles))
    DOEND
    DOEND
    limit articles add vset1
    sort articles hierarchy articles_parentrel
    temp1 20
    rpr down articles articles_parentrel Heading 'SALES' sales Heading 'Pct_Parent' sales(articles articles)/sales(articles articles_parentrel(articles articles)) Heading 'TopNpcent_Children' limit(limit(articles to children using articles_parentrel articles(articles articles)) keep TOP 20 PERCENTOF total(sales, articles))

  • 'structure field cannot be modified' error

    hi,
    i am facing a problem in webUI. whenever i navigate to a particular view, its working fine but an error message is displayed on top saying 'structure field cannot be modified' . i am not able to find out why and where this is generated.
    can anyone help me please.
    regards,
    nikita.

    If you can traverse through the Structure 'CRMT_OPPORT_H_WRK' and click on the data element (CRMT_SALESCYCLE) used for 'SALESCYCLE', you will come to know that the domain used is CRM_SALESCYCLE.  Double click on the domain  and click in tab Value Range Tab, you will find that it makes use of table CRMC_CYCLE. This allows data only from this table.
    Rg,
    Harshit

  • Applying keywords to collapsed stacks has changed

    Somewhere between LR 3.4 and LR 4.3, the behavior of applying a keyword to a collapsed stack changed.  It used to be that the keyword was applied only to the top photo; now it is applied to all the photos.  
    This behavior occurs only for adding keywords; if you delete keywords or change flag, label, date, caption, etc. it only applies to the top photo in the stack.
    Did I miss a feature announcement in the release notes?
    http://forums.adobe.com/message/3853365#3853365

    John R. Ellis wrote:
    This is cerrtainly the case as far back as Mac version of Lr3.2 but I rcall it dating back even further, but not how far back beyond that.
    Interesting -- I searched the forums for various combinations of "stack top keyword tag drag" and saw dozens of messages about keywords only applying to the top of the stack, but didn't find any mentioning the inconsistent behavior of dragging.
    I don't believe the inclusion of this specific behaviour was discussed in the public or pre release forums. I suspect very few users, including the majority of pre release testers, were aware of it. It's not documented anywhere that I know of, but I expect that will now change...
    John R. Ellis wrote:
    Any ideas about the inconsistency?  If by design, what's the rationale?
    Since the behaviour was never discussed I can only guess as to why the ability to drag and drop keywords works as it does and applying the keywords via the panel doesn't. Anyway, I don't view it as an inconsistency, especially since dragging keywords from the keyword panel on to a thumbnail isn't the most obvious method to begin with. For the majority of users having the ability to auto select on expanding a stack (i.e. double click stack badge or shift+click the badge) then applying the keyword via the panel is a much safer approach.

  • How to apply AIA Patch using Opatch

    i have an oracle aia update patch...how can i apply this patch using Opatch.......cann any one say me the procedure of doing so....
    Quick reply is appreciated....
    Regards
    GSK

    To apply patches on top of AIA 10g you need a Standalone patch.
    In my case, i had to apply a patch on top of AIA 2.5 version.
    -I had to apply a Stand alone patch. The version used is stand alone opatch 11.1.0.0.0 . this can be downloaded from the oracle support site.
    -After applying the stand alone patch, you can apply the aia update patch. .
    - opatch apply -oh <AIA_HOME> -jre <SOA_HOME>/jre/1.4.2
         AIA_HOME - Complete directory path where AIA_HOME is installed
         SOA_HOME - Complete directory path where SOA is installed
    Follow the instructions given in the readme and should be able to do it.
    Hope this helps

  • Need Assistant to Apply Patch 6194129

    Hi DBA's,
    I am in the process of upgrading patchset level from 16 to 19.
    we are following Document - 125767.1
    Application - 11.5.10.2
    OS - Windows Server.
    I am facing difficulties to apply this patch, Please help to apply this Patch.
    Thanks.

    what is the problem you are facing in the patch.
    have you followed the read me of the patch its a step by step note. could you please chack it and let us konw what you are facing.
    from the patch readme"
    Installation Instructions
    Set your ORACLE_HOME.
    If you are going to apply this patch on top of an iAS install:
    Set ORACLE_HOME to <iAS_HOME>/6iserver
    Prepend <iAS_HOME>/6iserver/bin to the *beginning* of PATH
    Prepend <iAS_HOME>/6iserver/lib to the *beginning* of LD_LIBRARY_PATH
    Copy the files in this patch to your $ORACLE_HOME.
    Unzip the patch using either WinZip on NT or unzip on Unix.
    Run the install script contained in the patch:
    cd $ORACLE_HOME/developer6i_patch19
    ./patch_install.sh 2>&1 | tee patch_install_p19.log (ksh)
    ./patch_install.sh |& tee patch_install_p19.log (csh)
    Check patch_install_p19.log for errors.
    Relink Procedure Builder, Forms, Graphics and Reports:
    cd $ORACLE_HOME/procbuilder60/lib; make -f ins_procbuilder.mk install
    cd $ORACLE_HOME/forms60/lib; make -f ins_forms60w.mk install
    cd $ORACLE_HOME/graphics60/lib; make -f ins_graphics60w.mk install
    Reports has both link-time and run-time dependency with libjava.so so you need to append $ORACLE_HOME/network/jre11/lib/linux/native_threads in $LD_LIBRARY_PATH before linking Reports. The same $LD_LIBRARY_PATH should be used at run-time.
    cd $ORACLE_HOME/reports60/lib; make -f ins_reports60w.mk install"
    fadi

  • Remove structure from flow

    Hi group
    Does anyone know how paragraph formats and character formats are created and applied when you choose Special > Remove Structure from Flow? I don't think the EDD is used in this process, is it? Although... I can find some paragraph tags in the EDD, I also see "auto-generated" tags, for example p1, p2, p3 etc. for <p>.
    Also, is there a way to change/control this element-to-paragraph mapping?
    Thanks
    Yves

    Thanks Russ.
    I found the answer in the FDK Function Reference (as a Newbie in JavaScript this is the first time I have looked at it)
    Open FrameMaker in non-structured format.
    Use Constants.FS_FileIsStructured /Constants.FV_StripStructureAndOpen  pair in the Open parameters.
    This will strip the Structure before opening the file.
    Bob

  • March's TechNet Wiki System Center Guru Winners announced!!

    The results for March'sTechNet
    Guru competition have been posted!
    http://blogs.technet.com/b/wikininjas/archive/2014/04/17/the-microsoft-technet-guru-awards-march-2014.aspx <- results page!
    Congratulations to all our new Gurus for March!
    We will be interviewing some of the winners and highlighting their achievements, as the month unfolds.
    Below is a summary of the medal winners, the last column being a few of the comments from the judges.
    Unfortunately, runners up and their judge feedback comments had to be trimmed from THIS post, to fit into the forum's 60,000 character limit, however the full version is shown in the link above.
    Some articles only just missed out, so we may be returning to discuss those too, in future blogs.
     BizTalk Technical Guru - March 2014  
    Tomasso Groenendijk
    Using BAM in the ESB Toolkit
    Ed Price: "Incredibly valuable and very well written! Great article!"
    Mandi Ohlinger: "A custom BAM dashboard - LOVE it! Another great ESB addition to the Wiki."
    TGN: "Nice one, I really liked this one, explains how to use the ESB together with BAM, great work and well explained!"
    Steef-Jan Wiggers
    Windows Azure BizTalk Services: Pulling Messages from a Service Bus Queue
    Ed Price: "This is amazingly well written with beautiful images and formatting. Great job!"
    TGN: "Azure, Azure, Azure! Nice one Steef-Jan, people are waiting on articles like this. Good job, and thanks for the contribution!"
    Mandi Ohlinger: "A very informative How To. Screen shots are very helpful."
    boatseller
    Detecting a Missing Message
    Mandi Ohlinger: "GREAT addition to the Wiki and to any user who suspects missing messages. The BizTalk support team can use this orchestration. "
    Ed Price: "I love the visuals on the orchestration implementation! Important topic!"
    TGN: "Nice article, great to see a solution to detect missing files."
     Forefront Identity Manager Technical Guru - March 2014  
    Eihab Isaac
    FIM 2010 R2 BHOLD: Non-BHOLD Approval Process
    Ed Price: "Very thorough explanations! Great formatting and colors on the tables and code snippets! And the images are also helpful!"
    PG: "Nice article, we need more of these."
    Micah Rowland
    FIM:How To Use PowerShell to View a Metaverse Object's Connector's Attribututes
    Side By Side
    PG: "Nice article, nice format. well written"
    Ed Price: "Good code snippet and use of code comments. Could use more explanations and maybe breaking the code into sections with more information about each section. Good job!"
    Giriraj Singh
    FIM:Delete Bulk Expected Rule Entries Using FIM OTB features
    Ed Price: "Good procedural steps! It could benefit from more explanations, a grammar pass, and some images. Good article!"
    PG: "Short but nice article."
     SharePoint 2010 / 2013 Technical Guru - March 2014  
    Matthew Yarlett
    SharePoint: Use PowerShell to find Fields using a Managed Metadata TermSet
    Jinchun Chen: "Good article."
    Ed Price: "Although this is Matt's shorter article this month, this is an incredibly important topic, and the code is perfect! As Dan says in the comments: "Matthew Yarlett has done it again!! IMHO when it comes to SharePoint powershell
    you are second to none." This is a great article!" 
    Rahul A Shinde
    SharePoint 2013: Deploy and apply theme to SharePoint sites with PowerShell
    Ed Price: "Fantastic explanations and use of images!" 
    Matthew Yarlett
    SharePoint: Testing Email Alerts in UAT and DEV Environments
    Jinchun Chen: "Nice! It can be used for troubleshooting SharePoint Incoming/Outgoing related issues too."
    Ed Price: "Wow! This article is astonishingly thorough!"
     Small Basic Technical Guru - March 2014  
    Nonki Takahashi
    Small Basic: Centering Text in Graphics Window
    RZ: "Clearly written explanation with nice graphics to go with it."
    Ed Price: "I love having the three options like this! And the images really bring it to life! The links to the shared programs (with their source code) really help if you want to dig deeper and learn more!"
    Nonki Takahashi
    Small Basic Known Issue: 23589
    - Controls.GetTextBoxText() Returns CR+LF as Newline from Multi-Line Text Box in Local but CR in Remote
    RZ: "Bugs are always hard to track down, especially the unknown unknowns :( Good job on hunting it down!"
    Ed Price: "This acts as a valuable KB article! Great addition to the troubleshooting library!"
    Nonki Takahashi
    Small Basic: Expression
    RZ: "Good introduction to expressions"
    Ed Price: "Short and sweet intro to Expressions. Thanks, Nonki!"
     SQL BI and Power BI Technical Guru - March 2014  
    Michael Amadi
    A Practical Example of How to Apply Power Query Data
    Transformations on Structured and Unstructured Datasets
    NN: "This is a terrific tutorial on Power Pivot with very helpful images. Great article"
    Ed Price: "This is a fantastic combination of Power Query and Power Pivot... a valuable contribution!"
     SQL Server General and Database Engine Technical Guru - March 2014  
    chandra sekhar pathivada
    managing database backups across all the instances without maintenance plan
    Samuel Lester: "Chandra, outstanding contribution and information! Your SSIS package handles many of the shortcomings of Maintenance Plans. MPs were originally created to assist DBAs with the more common administrative
    tasks, but as the scale continues to grow across enterprise environments, we're all forced to write our own enhanced versions such as this. Thanks for the addition and please do add to the Gallery if you haven't yet."
    Jinchun Chen: "Nice. It is suggested to add error outputs in the package to handler unexpected errors."
    NN: "Good article. The SSIS solution can use a bit more explanation. Also See Also section is missing"
    DRC: "This is good article, The only this which can be corrected is : ==> This can be achieved using “maintenance Cleanup Task • Maintenance Plan has a control flow item “maintenance Cleanup Task” to delete the old backup files based
    on age of the backup, but it creates the problem when it deletes the full database backups based on n no.of days leaving all the dependent intermediate differential and transaction logs which are useless. "
    Shanky
    Understanding Logging in Tempdb.Is Tempdb re-created or rebuilt after SQL
    Server restart
    NN: "Very good article with an interesting analysis"
    DRC: "This article is good and provides lots of detailed information along with sample query and screenshot. The screenshot of few need few more details (files of model are missing) This article can be broken down into 2 1) understanding
    tempdb recreation 2) Logging in Tempdb 1) understanding tempdb recreation:- This is not concluded properly. The article doesnt talk about the physical files which are recreated even if we delete the tempdb files "
    Samuel Lester: "Shanky, very nice article on the internals of TempDB! It was tough judging this month as both articles were very informative contributions!" 
     System Center Technical Guru - March 2014  
    Mr X
    How to manage VM pinning within a Hyper-V cluster by
    combining the use of System Center VMM and Orchestrator
    Ed Price: "Mr. X, this is another incredibly thorough article! Fantastic job!"
    Idan Vexler
    Create Custom XML For OSD In SCCM  
    Ed Price: "Love the list of requirements! Very thorough in dividing each step!"
    Omar Lopez (loplim)
    SCOM 2012 - Create Alert / Monitor Based on Windows event ( Administrator login
    alert )
    Ed Price: "Good use of images. Could use a TOC with sections and more descriptions. Good job!"
     Transact-SQL Technical Guru - March 2014  
    Jayakumaur (JK)
    Understanding IDENTITY in SQL Server
    Ed Price: "Wow, what a competitive month! This article is amazing, with thorough explanations in each section!"
    Richard Mueller: "A good tutorial on an important feature of T-SQL."
    Durval Ramos
    Paging a Query with SQL Server
    Ed Price: "Durval's article is fantastically thorough and easy to follow!"
    Richard Mueller: "Very useful concept when populating controls from a query, which should improve performance. I like the images. Well done."
    Naomi N
    T-SQL: Split String with a Twist
    Richard Mueller: "Very intersting problem with an original solution."
    Ed Price: "A very powerful and well-articulated solution from Naomi!"
     Visual Basic Technical Guru - March 2014  
    The Thinker 
    Exporting and Importing Wireless Settings Using Netsh in VB.NET
    SB: "Code could be formatted better, task is something I can see as potentially useful although I would prefer a bit more narrative description and comments in the code explaining why it was done a certain
    way, although the code is simple enough to work through." 
    MR: "Great tool code!" 
    Ed Price: "This is a good contribution! One way to improve an article like this is to explain the parts of the code more in depth, as a way to introduce each snippet (and maybe dividing a block up more). Then you could link to the Gallery
    iteam if the reader wants to access the entire snippet at once. The images are also very helpful! Great job!" 
    Richard Mueller: "Perhaps this code should be in the gallery. There should be more explanation in a Wiki."
     Visual C# Technical Guru - March 2014  
    João Sousa
    ASP.NET WebAPI 2 - Stream Windows Azure blobs
    NN: "Very nice tutorial and also can be downloaded from the Gallery"
    Ed Price: "I love to see this ASP.NET content! Each step is very clear! Great code formatting!"
    Raghunathan S
    C# Code Compilation at Runtime from C# Windows Forms Application
    Ed Price: "Good descriptions and code formatting. It could benefit from a TOC. Great article!"
    NN: "This looks like an interesting article, but too short and the code is hard to read in its present format"
    Raghunathan S
    Creating a Simple logging class with System.Diagnostics namespace in C#
    NN: "Good article, but too short"
    Ed Price: "This is a pretty good article. It could benefit from a TOC and more descriptions around what the code is doing and why. Good job!"
     Wiki and Portals Technical Guru - March 2014  
    Matthew Yarlett
    Wiki: Basic Image Formatting using Pixlr
    BL: "This deserves credit as much for the idea as for the actual article - many authors contribute from computers that may not have authoring tools installed and this simple online solution has the potential to iprove
    quality a lot."
    Richard Mueller: "Excellent explanation of a useful tool for Wiki authors. A "See Also" section would be useful."
    PG: "Nice artilce, well done, nice layout. Great!"
    NN: "Good article"
    Durval Ramos
    VBA & VBS Portal
    NN: "Very good new portal about VBA. Introduction may be improved a bit"
    Richard Mueller: "A great collection of Wiki articles. Excellent use of recommended features in a Wiki article."
    PG: "Nice article good start!"
    BL: "Another great initial compilation of relevant resources. Would be very interested in seeing how this develop over time."
    Mr X
    Wiki: System Center Orchestrator Portal
    NN: "Good new portal. Missing See Also section with links to other portals"
    Richard Mueller: "A good collection of articles. This Portal adds a lot to the TechNet Wiki."
    PG: "Nice and neat article? Suggestion to add more references to related articles and platforms on Wiki."
    BL: "great initial compilation of SC Orchestrator resources. Hoping this will grow over time as the product has a few other active Wiki contributors."
     Windows Phone and Windows Store Apps Technical Guru - March 2014  
    Isham Mohamed
    Pin Windows Phone 8 app to start screen on first launch.
    Peter Laker: "A very useful and informative article! Also, Nice use of fonts and images."
    Ed Price: "Good explanation, but it could benefit from a TOC and tweaked formatting. Good job!"
    Ibraheem Osama Mohamed
    Coming from an asp.net background, let’s build our first Windows Store Application
    Ed Price: "Great job on the formatting, explanations, and code snippets!"
    Peter Laker: "Excellent primer for those moving from asp.net and all beginners."
    mcosmin
    The Performance Analyzer Paradox
    Ed Price: "This is a good philosophical article, but it would be richer with examples and visuals. "
    Peter Laker: "Nice story, good reading, very worthy entry and gratefully received!"
     Windows Presentation Foundation (WPF) Technical Guru - March 2014  
    Magnus (MM8)
    WPF/MVVM: Handling Changes To Dependency Properties In The View
    Ed Price: "Nice, thorough topic with good explanations! Could benefit from code formatting. Great article!"
    Peter Laker: "A nice primer on a fundamental aspect of xaml. Great layout, images, descriptions, etc."
    dev hedgehog
    Trick To Use StaticResource With Path
    Peter Laker: "A very useful and commonly pondered subject. Thanks for a great contribution!"
    Ed Price: "This is a great solution with good code formatting and code comments!"
     Windows Server Technical Guru - March 2014  
    Mr X
    How to manage your DC/DNS servers with dynamic IPs in Windows Azure
    JM: "This is an excellent article, however you need to change all instances of the term "on-promise" to "on-premise.""
    JH: "really detailed, very complete with scripts added"
    Richard Mueller: "This might be the best article I have judged. Code formatting could be improved, but otherwise an outstanding contribution."
    Mr X
    How to assign a private Static IP to a Windows Azure VM
    JH: "excellent, concise, good topic"
    Richard Mueller: "Excellent documentation of the use of very new tools to manage IP addresses."
    JM: "Another excellent article, thanks much for your contributions!"
    Mahdi Tehrani
    Customize DST time zone configuration across the forest with GPO
    JM: "This is an excellent article, however you need to change all instances of the term "Daylight Time Saving" to "Daylight Savings Time.""
    JH: "good info, great illustrations and writing"
    Richard Mueller: "Original work for an tricky problem. I think the script should run as a Startup script instead of a Logon script on the clients. A "See Also" section and links would help."
    ----------------- 8< -------------------
    As mentioned above, runners up and their judge feedback were removed from this forum post, to fit into the forum's 60,000 character limit.
    A great big thank you to EVERYONE who contributed an article to last month's competition.
    Read all about THIS month's competition [usually in a stickied post] at the top of this forum, otherwise there is usually a list of forum links for this month's theme/announcement at the bottom of the submission page below:
    http://social.technet.microsoft.com/wiki/contents/articles/23837.technet-guru-contributions-for-april-2014.aspx
    Best regards,
    Pete Laker
    More about the TechNet Guru Awards:
    TechNet Guru Competitions
    #PEJL
    Got any nice code? If you invest time in coding an elegant, novel or impressive answer on MSDN forums, why not copy it over to the one and only
    TechNet Wiki, for future generations to benefit from! You'll never get archived again!
    If you are a member of any user groups, please make sure you list them in the
    Microsoft User Groups Portal. Microsoft are trying to help promote your groups, and collating them here is the first step.

    Congrats to Mr X, Idan, and Omar:
     System Center Technical Guru - March 2014  
    Mr X
    How to manage VM pinning within a Hyper-V cluster by
    combining the use of System Center VMM and Orchestrator
    Ed Price: "Mr. X, this is another incredibly thorough article! Fantastic job!"
    Idan Vexler
    Create Custom XML For OSD In SCCM  
    Ed Price: "Love the list of requirements! Very thorough in dividing each step!"
    Omar Lopez (loplim)
    SCOM 2012 - Create Alert / Monitor Based on Windows event ( Administrator login
    alert )
    Ed Price: "Good use of images. Could use a TOC with sections and more descriptions. Good job!"
    Ed Price, Power BI & SQL Server Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

Maybe you are looking for

  • How do I measure the CPU/GPU split of load/usage in Java3D?

    Hello, Is it possible to measure the split between graphics and CPU usage to find out how much work each is doing, what work is done, and which is doing the most work, for example? If so, how can this be implemented in the Java3D code? For example, o

  • Using video splitter with Bootcamp?

    I need to set up a Mac mini in my school by connecting it to a monitor and projector simultaneously, so I connect the video port to a VGA Splitter box. However it is found that nothing can be displayed on the projector through the splitter box while

  • PDF link with page ref not working in Chrome, Firefox

    http://1234321.abc/media/homestudy.pdf#PAGE=22 Does not go to the proper page in Chrome v33.0.1750.154 Does not go to the proper page in Firefox v27.0.1 Works in IE v11.0.9600 Works in Opera v12.16 Works in Safari v5.1.7 PC/Windows 7 Professional Cp

  • Choose from list + manual

    Hi experts I've got a matrix with CFL column. I can choose items via CFL but I would also like to write an item index manually. When I do so and press TAB I cannot lost focus on particular cell in the column, beacuse the program does not recognize th

  • Why does purchasing a child's song require 9 separate steps?

    My daughter just wanted to buy 12 songs on iTunes.  We have family sharing and child accounts set up.  For each song I had to do the following 9 steps: (On itunes) Click on the price Enter childs iTunes password Confirm desire to buy Ask for permissi