Help With Essbase Outline Extractor Output

Hello Gurus
I am using Essbase Outline Extractor 9.3.1 to extract from Essbase 9.3.1 and I need a bit of a hand interpreting the results\Output. I'm after properties but Dynamic Calc, Shared Member, Never Share, & the Aggregation. Can anyone please help me with the definitions for the Property0 column.
I also want to use the output to load via the Outline load utility, will this be able to read all the columns exported by the Outlinr extractor?
Please help

name_and_address_withheld wrote:
alternatively search for "member property codes" (exact phrase) in the dbag and it will take you right there....sorry I am not that good at posting links to dbag stuff online...:(http://docs.oracle.com/cd/E17236_01/epm.1112/esb_dbag/dotrules.html#dotrules_2 :)
Cheers
John
http://john-goodwin.blogspot.com/

Similar Messages

  • Essbase Outline Extractor

    Is Essbase Outline Extractor 3.3.2 is compatible with Hyperion Essbase 9.3.1 64X BIT which is installed on 64x bit. We have same version of client and even %ARBORPATH% is defined as below E:\Hyperion\analyticServicesClient64 and in PATH E:\Hyperion\analyticServicesClient64\bin E:\Hyperion\analyticServices\bin.
    We are getting "Run-time error '48': File not found: esbapin.DLL"
    I tried below suggestion, but it did'not work.
    Re: Essbase Outline Extractor
    Can any one help

    Are you trying to run it on a 32 bit Windows client or a 64 bit something-or-other (okay, it has to be Windows) client?
    As Tim Tow has written, Outline Extractor was developed in dearly-departed Visual Basic 6. Hence, it's going to require 32 bit Windows.
    I run it via a 32 bit VM client on my 64 bit laptop.
    Regards,
    Cameron Lackpour

  • Help with Essbase 9 and the Java API

    Hi, I am trying to connect to Essbase from a Java desktop application and I am unable to do so. I need to know if I am in principle doing the right things and if I have the correct environment set up.
    We have a server with Essbase version 9.3.1. We normally use essbase via the Excel Addin, and I have already written Excel applications that utilise both the addin and the Essbase VB API. Now I need to connect to Essbase but from outside Excel and using the Java API. I have no idea what APS is nor does my Essbase Administrator.
    My application has the following code (adapted from a post in this forum) -
    public static void main(String[] args) {
    String s_userName = "user";
    String s_password = "password";
    String s_olapSvrName = "ustca111";
    String s_provider = "http://localhost:13080/aps/JAPI";
    try{
    IEssbase ess = IEssbase.Home.create(IEssbase.JAPI_VERSION);
    IEssDomain dom = ess.signOn(s_userName, s_password, false, null, s_provider);
    IEssOlapServer olapSvr = dom.getOlapServer(s_olapSvrName);
    olapSvr.connect();
    System.out.println("Connection to Analyic server '" + olapSvr.getName() + "' was successful.");
    olapSvr.disconnect();
    }catch(EssException exp){
    System.out.println(exp.getMessage());
    I am running my application on my computer, not on the Essbase server, and the username I am using is the same one I use (as a user of Essbase) via the Essbase Addin in Excel, not an admin login.
    When I run the app I get:
    "Cannot connect to Provider Server.Make sure the signon parameters are correct and the Provider Server is running."
    Please can you confirm:
    1) Do I need an admin login for my client application to connect to the Essbase server or can I use a normal read-access login, like the one I use in Excel?
    2) Is the provider always the same regardless of the computer, i.e. "http://localhost:13080/aps/JAPI"; How do I know what this has to be? Where do I get this information from?
    3) How can I make sure that the Server is running the necessary "Provider Server", is this just a service that will show on services.msc of the server? What should I ask the Essbase Administrator for him to tell me what I need?
    Thank you very much.
    Leo

    Tim, when I look in my computer's Essbase installation path I can only find the following jar files (from the ones you have listed).
    C:\Hyperion\AnalyticServices\JavaAPI\external\css\log4j-1.2.8.jar
    C:\Hyperion\AnalyticServices\JavaAPI\lib\ess_es_server.jar
    C:\Hyperion\AnalyticServices\JavaAPI\lib\ess_japi.jar
    I do not have css-9_3_1.jar or interop-sdk.jar.
    In order to try the embedded mode, I added the three jars I have to the classpath, and have re-built and ran with "embedded" as the provider. This is what I got in my output screen:
    run:
    Error accessing the properties file. essbase.properties: essbase.properties (The system cannot find the file specified). Using default values.
    Hyperion Provider Services - Release 9.3.1.0.0 Build 168
    Copyright (c) 1991, 2007 Oracle and / or its affiliates. All rights reserved.
    connection mode : EMBEDDED
    essbase.properties: essbase.properties
    domain.db location: domain.db
    console log enable : false
    file log enable : false
    logRequest : false
    logLevel : ERROR
    java System properties -DESS_ES_HOME: null
    Scenario Markets Total Legal Entities Products
    Jan Feb Mar
    Standard Units 1.053264054859E7 1.60849856762E7 2.6234553348270003E7
    BUILD SUCCESSFUL (total time: 2 seconds)
    As you can see, this has worked (as I get the data I was looking for at the end), but when I had the url in the provider string, I just get the below, without the initial errors:
    run:
    Scenario Markets Total Legal Entities Products
    Jan Feb Mar
    Standard Units 1.053264054859E7 1.60849856762E7 2.6234553348270003E7
    BUILD SUCCESSFUL (total time: 2 seconds)
    Now that I can get both modes to work I intend to write a Windows application, place it in a shared drive, and allow multiple users to use it. Which mode should I use?
    By the way, I found the essbase.properties file in C:\Hyperion\AnalyticServices\JavaAPI\bin, but when I add it to my app and test it in embedded mode, I get even more errors, but it still gives me the result...output below:
    run:
    java.io.FileNotFoundException: ..\bin\apsserver.log (The system cannot find the path specified)
    at java.io.FileOutputStream.openAppend(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
    at org.apache.log4j.FileAppender.setFile(FileAppender.java:272)
    at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:156)
    at org.apache.log4j.FileAppender.<init>(FileAppender.java:96)
    at org.apache.log4j.RollingFileAppender.<init>(RollingFileAppender.java:60)
    at com.hyperion.dsf.server.framework.BaseLogger.addAppender(Unknown Source)
    at com.hyperion.dsf.server.framework.BaseLogger.setFileLogEnable(Unknown Source)
    at com.hyperion.dsf.server.framework.DsfLoggingService.sm_initialize(Unknown Source)
    at com.essbase.server.framework.EssOrbPluginDirect.setupLoggingService(Unknown Source)
    at com.essbase.server.framework.EssServerFramework.<init>(Unknown Source)
    at com.essbase.api.session.EssOrbPluginEmbedded.<init>(Unknown Source)
    at com.essbase.api.session.EssOrbPlugin.createPlugin(Unknown Source)
    at com.essbase.api.session.Essbase.signOn(Unknown Source)
    Hyperion Provider Services - Release 9.3.1.0.0 Build 168
    at com.essbase.api.session.Essbase.signOn_internal(Unknown Source)
    at com.essbase.api.session.Essbase.signOn(Unknown Source)
    at esstest.Main.main(Main.java:22)
    Copyright (c) 1991, 2007 Oracle and / or its affiliates. All rights reserved.
    connection mode : EMBEDDED
    log4j:WARN No appenders could be found for logger (com.hyperion.dsf.server.framework.BaseLogger).
    essbase.properties: essbase.properties
    log4j:WARN Please initialize the log4j system properly.
    domain.db location: ./data/domain.db
    console log enable : false
    file log enable : true
    logFileName : ../bin/apsserver.log
    logRequest : false
    logLevel : WARN
    java System properties -DESS_ES_HOME: null
    Scenario Markets Total Legal Entities Products
    Jan Feb Mar
    Standard Units 1.053264054859E7 1.60849856762E7 2.6234553348270003E7
    BUILD SUCCESSFUL (total time: 3 seconds)
    Thank you
    Leo

  • Need Help with Essbase Studio TBC cube deployment errors

    Hello Everyone,
    I am trying my hands on Essbase studio. I am using TBC example which comes with Essbase Studio installation. I am getting the following errors.
    How can I troubleshoot these errors. Since it comes with Essbase studio I supposed the data to be clean.
    In the essbase studio i defined the TIME dimension, but it stills give me that error.
    Please click the Details button for more information
    The error file is located on the server at: C:\temp\TBC.TBC_08-04-10_15-54-09.err
    Failed to deploy Essbase cube Caused by: Cannot end incremental build. Analytic Server Error(1007151): Wrong incremental dimension build sequence
    \\Record #3 - Error adding Label Only Attribute to member Inventory (3320)
    \\Record #3 - No time dimension defined
    \\Record #3 - Shared member cannot have a formula
    Measures ~ O Inventory ~ O
    \\Record #14 - Error adding Label Only Attribute to member Ratios (3320)
    \\Record #14 - Shared member cannot have a formula
    Measures ~ O Ratios ~ O
    \\Outline verification errors:
    \\When a single child member {Measures} is Dynamic Calc or Dynamic Calc and Store, the parent must also be Dynamic Calc or Dynamic Calc and Store

    Hi,
    Were you able to resolve that error with TBC db?
    I am running in to the exact same error...
    thanks

  • Need help with waveform and digital output

    Hey everyone,
    I am driving a rotational motor with an example waveform output VI and an example digital output VI. I am able to successfully send a square wave with the desired properties to rotate the motor and I am also able to successfully send a digital output (1 or 0) to change its direction (clockwise/couter-clockwise.
    However I need some advices to write a setup such that after the motor runs as desired, I can return the motor back to its original position. I think the simplest way is timing how long it takes to finish its task, and just change the digital output, keep the same wave properties and run for the same amount of time.
    So how can I time how long the program runs and with some kind of button, change the digital output and run the program again?

    As more of a program architecture tip, this sounds like a great time to be using a State Machine.  I say this because you mention resetting the motor (one state) then running it again (another state) repeatedly.  As a design tip, I would check out this article, along with the Design Pattern Template that comes with LabVIEW.  You can find this by going to File >> New... then expanding the tree to VI >> From Template >> Frameworks >> Design Patterns >> Standard State Machine.
    Cheers, 
    Brian A.
    National Instruments
    Applications Engineer

  • Can anyone help with Bluetooth and Audio output conflict?

    Audio ouput from media files on Quicktime, Real Player and Windows Media will only play through my Bluetooth headset .
    I have tried resetting the Audio output preferences to no effect. Also tried reinstalling Bluetooth devices.
    When opening file the player returns the following message:
    "There was an error connecting to your headset. Make sure it is turned on and in range. The audio portion of the program you were using may have to be restarted."
    Please Help!
    Mac Book Pro 17" Mac OS X (10.4.7)
    Sorry for repeat but new to this.

    Hey DS.. Im having the same exact issue as you and Im sure alot of other people are as well... it seems to be touch and go. I currently own a Mac Mini Solo with an intel 1.5 ghz processor and I have a Motorolo H700 Bluetooth headset. I can get mine to work for a short while watching movies or what not or use it in iChat but then after so many minutes my computer has a spastic fit with the thing and i get the exact error message you described. However when I attempt to go back into my Audio Control Panel to switch audio from the BT headset back to the line out.. the control panel seems to freeze up as well causing me to reboot my entire system just enough to switch the audio back to the line out. I think that this is an issue on apples end that they need to update their blue tooth software or something as you really cannot update software to a BT headset only the device it communicates with. So I think in the meantime we are all screwed until apples gets off their butts and does something about this.

  • Help with Logic Pro 8 Outputs

    Hi
    Struggling with something that i imagine is very simple but just cant work it out! Please help me.
    I will be using Logic 8 within a live environment and need to basically get various audio tracks 'out' of logic via my interface into a mixing desk.  I have 8 sub outs on my interface which is fine for me. (prob lots of people do this also with a mixing desk in the studio environment for intergration with the desk and outboard gear so i 100% sure it can be done!)
    Prob 1 is that the track sub outs in logic come in stereo pairs. If i want bass to go to output 1 , and kick for eg to go to output 2, how can i do this???? Is there a way to change the track outputs to mono?
    Prob 2 is that if i change the outputs in one session, for example click to output 3 - 4, vocals for example to output 5 and 6, then save the session, close and reopen, they have all reverted to output 1 and 2. In a live situation it is annoying to have to change these before each song starts!
    I play in a electro band that incorperates live drums, analog synths, logic audio (backing tracks kinda thing) aswell as live instruments, and finding logic pretty challenging to use for this!! We are flat broke and cant afford new stuff so have been living with it but we are now starting to need more outputs (for the benefits of live mixing , ie not giving the engineer a stereo out) . Surely the mixer in logic is capable of these totally bog standard audio routing options?!?!?
    Thanks alot for any help
    David

    jayme Lewis wrote:
    So here's the problem. I went on a shopping spree recently and purchased an 8-core Nehalem 8-core Mac with 14 GB RAM, Apogee's Symphony system (With Rosetta 800 and AD-16X), and I use this gear with Logic Pro 8.
    I still get system overload messages. Sometimes with only 1 virtual instrument and 8 audio tracks!
    What gives? I'm running the fastest machine on the fastest system with the fastest/cleanest hardware.
    I'm running Logic Pro on all of its highest settings (like it should).
    ?It's highest settings?
    Do you mean the sample buffer is at 32 or 1024.
    Even though you have Apple's flagship system it's still possible for Logic to bring it to it's knees. High sample rates plus a couple of space designer reverbs can send a single core into an overload condition.
    Try these settings under Preferences/Audio.
    I/O Buffer Size - 256
    Process buffer - medium
    Do NOT have the I/O Safety Buffer selected.
    More info.
    What sample rate and bit depth are you recording at? ie: 48kHz, 24-bit?
    When you open Logic's CPU meters are you seeing a single core spiking?
    What effects are being used on the audio and single VI track?
    pancenter-

  • Help with Essbase studio

    Hi All,
    I wanted some help/ advice with building cubes using essbase studio. I had posted the similar question earlier but this is bit different. Actually we have data in the following format:
    Employee ,     Region,     Product,    Version,    Activity,   Dates
    ABC,          CA,            Prod1,           1,           Intro_date,       01/10/11
    PQR,          CA,            Prod1,           1,           Offer_Date,       03/10/11
    PQR,          CA,            Prod1,           1,           End_Date,       04/10/11
    Now we want to build the cube using studio. Where measures should have Intro_date, Offer_date and End_date and dates should be loaded in them. This can be achieved using rules files but we want to do it using studio because there are other studio features which we want to use.
    Kindly advice.

    Kindly advice if this is possible ? all my data sources are in this format.

  • Help with our setup and output to Excel

    OK, I work for the EPA Office of Research and Development (ORD) here in Cincinnati.  We are working on this big project that is coming to an end.  Basically, we have four different carts going.  We have one ultra filtration cart (UF), one reservoir cart, one ion-exchange cart, and one RO cart.  The UF, reservoir, and RO carts will all be hooked up to the computer via DASYlab.
    Currently, we think that we have our DASYlab setup correctly.  We want to graph everything over time and we want to export everything out to Excel so the data can be analysed later.  I have been in contact with DASYlab help but this really isn't there job.  I was wondering if someone could look at our DASYlab file (or give me idiot proof instuctions) into making sure that data is collected once every 2 seconds, the graphs are updated once every 2 seconds, and that the charts that will be output to Excel are updated once every 2 seconds.  We are working on a P-M 1.8GHz notebook with a 100GB hard drive and 2GB of RAM so it can definately handle the flow of data.
    No one in our project (or TTEB branch) has any experience with DASYlab.  The last person to have this type of experience was working with Strawberry Tree back in the early 90's on a old 286 PC via DOS.  It was actually the job of the contractors who built our equipment to get everything setup.  However, they fell through as they didn't have any previous experience with DASYlab and they just didn't feal like reading through the 100's of pages of text.  This assignment was handed over to me just last week and I think I have everything setup correctly.  I just don't have to the time to fully read the manual.
    I would appreciate any help.  If someone can help then feal free to PM me and I can e-mail them the two necessary files.
    Thanks

    Well I'm still pretty clueless about this, but for anyone who is looking at this and wondering, here's what I've gleaned:
    1.  After Effects, especially CS6, makes much more and better use of graphics cards than does Premiere Pro.  I'm guessing that PP will, in future versions, make better use of them.  For now, no need to spend more than a couple hundred bucks on one.
    2.  Update the software.  PP and AE both performed substantially better after installing the .01 update from adobe.  After you install the update, be sure to re-do the CUDA hack, if necessary.
    3.  As it stands, money for a PP system is best spent on a processor, as in the newest Intel (currently Ivy Bridge), and overclocked.  This is where performance happens.  I'd say on a 2012 system, 16 GB RAM should be considered a minimum for video editing, and 24 or 32 if you can afford it.  More than that probably won't be utilized.  Hard disks can affect performance, but I don't think it's a bottleneck unless you're doing something that requires VERY fast/large reads and writes (4k source?).  Most people who have high-end editing stations also have a bunch of drives in RAID, but if you look at the performance chart, the SECOND highest scoring tester did not use RAID (though did use a presumably fast and large SSD).
    Keep in mind that all of this has to do with RENDER speeds.  I still don't know what the bottleneck is for PREVIEWS, but I'm just going to assume it's the same.

  • Help with Essbase Ports

    Does anyone knows if you can set a specific port for each APP.
    Before we had Essbase 5.0.2 and we have upgraded to Essbase 9.3.1.
    Several users connect to different DB from the internet. We had configured 3 ports for access in the firewall, 33005, 33010 and 33015.
    Each port was used to access a different DB,
    DB A -> 33005
    DB B -> 33010
    DB C -> 33015
    The problem that we have now is that every DB we start uses 2 ports, so when we start the 3 DB, the first one uses 33005 and 33010, the second uses 33015 and 33020 so the third can not be accessed through the internet.
    I have try with PORTINC, but the main problem is that the open ports ends with 5, so I can not make the 3 DB visible.
    So what I would like to know if you can assign an specific port to a specific DB.
    I want to avoid any modification to the firewall, because that would mean I have to make a request to another area and that takes time.
    Thanks in advance.

    I don't believe the ports can be isolated to specific databases (unless the databases are isolated to individual servers, that is -- and you don't want that).
    In version 5, the ports did use increments of 5. This is no longer the case though, since version 7, the default is now 1 (which makes a lot more sense now). You should open up a wide range for "other" reasons (mostly to avoid the issue with "unable to send/unable to receive" due to all available ports being in use). You should look at the technical reference for the PORTINC, SERVERPORTBEGIN, and SERVERPORTEND entries and match the firewall to the settings applied to the server.
    Basically, the need to keep the number of ports to a minimum should be evaluated against the need to provide sufficient access. If this is a firewall issue that IT is restricting access to, you should consider VPN access security as an alternative to public exposure to the essbase server.

  • Help with PS Script to output 100's of DFS Targets using Get-DfsnFolderTarget

    Hello,
    I have a lot of DFS targets to pull data on and or clean up.  All our users homedrives have the same path format.
    \\domain\userhome\alias(userlogon name).  If I run the following command I get the info I want.
    Get-DfsnFolderTarget -Path "\\domain\userhome\alias" | export-csv c:\temp\DFSpath.csv
    What I need to do is use the 'input-csv' command to input 100's of users.  I've been playing around with this but no luck.  My scripting isn't the best.  I tired the following command with no luck.
    Import-Csv "C:\temp\DFS.csv"  foreach {Get-DfsnFolderTarget -Path $_.Path}
    Any input is greatly appreciated.
    thank you

    This command worked for me. The path was stored in a column named path.
    import-csv "\\path\to\my.csv" | % { Get-DfsnFolderTarget -path $_.path }
    If this doesn't work, what error do you get?

  • Need Help with selecting the proper output settings

    I am new user of Final Cut Studio and the problem that I am running into is with the final version of a dvd I have created.
    Situation: I have files imported(Final cut studio) in MP4 format (they look perfect), once im done editing and export to dvd studio pro the files look fuzzy and pixelated. What are the proper settings to stop this from happening?

    MP4 is a highly compressed format designed to deliver files over restricted bandwidth media. So yes, file sizes will increase when converted to an editable format.
    Whether the file sizes you quote are "accurate" or not, I leave to your judgement.
    x

  • Help with XML, display data on swipe/click

    Hello.
    I am trying to create a moibile app that displays XML data. It's basically a phone book. I want the data to change when swiped. I can get the data in just fine. I can get it to display fine. I am not seeing the correct image first, however. I think it's a problem with my imagenum variable.
    Then, I want to change what is displayed when the user clicks/swipes on the screen. How do I do that?
    stop();
    var nameArray:Array = new Array();
    var countryArray:Array = new Array();
    var portraitArray:Array = new Array();
    var flagArray:Array = new Array();
    var jobtitleArray:Array = new Array();
    var imageNum:Number=0;
    var totalImages:Number;
    //Load XML
    var XMLURLLoader:URLLoader = new URLLoader();
    XMLURLLoader.load(new URLRequest("recbook.xml"));
    XMLURLLoader.addEventListener(Event.COMPLETE, processXML);
    function processXML(event:Event):void {
    var theXMLData:XML = new XML(XMLURLLoader.data);
    totalImages=theXMLData.name.length();
    for (var i:Number =0; i < totalImages; i++){
      //push xml data into the arrays
      nameArray.push(theXMLData.name[i]);
      countryArray.push(theXMLData.country[i]);
      portraitArray.push(theXMLData.portrait[i]);
      flagArray.push(theXMLData.flag[i]);
      jobtitleArray.push(theXMLData.jobtitle[i]);
    //data is processed
    loadData();
    function loadData():void {
    var thisPortrait:String = portraitArray[imageNum];
    var thisCountry:String = countryArray[imageNum];
    var thisName:String = nameArray[imageNum];
    var thisJobtitle:String = jobtitleArray[imageNum];
    var thisFlag:String = flagArray[imageNum];
    var dataLoader:Loader = new Loader();
    dataLoader.load(new URLRequest(portraitArray[imageNum]));
    dataLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, dataLoaded);
    function dataLoaded(event:Event):void {
      //I want to start with image 0 (img1.jpg) and cycle through with a mouse click (finger swipe on iOS)
      stage.addEventListener(MouseEvent.CLICK, loadMainImage1);
      function loadMainImage1(event:MouseEvent):void {
       portraitUILoader.source=thisPortrait;
       flagUILoader.source=thisFlag;
       selectedName.text=thisName;
       selectedCountry.text=thisCountry;
       selectedJobtitle.text=thisJobtitle;
    //add to imageNum (1);
    imageNum++;
    if (imageNum < totalImages) {//stopping at img2
      trace("imageNum " + imageNum);
      trace("image name (thisPortrait) " + thisPortrait);//losing image 4 somewhere
      loadData();
      trace("Total Images " + totalImages);
    //click to move past the home screenI'd like to ditch this. don't know how.
    homeScreen_mc.addEventListener(MouseEvent.CLICK, goNext);
    function goNext(event:MouseEvent):void
    nextFrame();
    */here's the output:
    imageNum 1
    image name (thisPortrait) images/img1.jpg
    imageNum 2
    image name (thisPortrait) images/img2.jpg
    imageNum 3
    image name (thisPortrait) images/img3.jpg
    Total Images 4
    Total Images 4
    Total Images 4
    Total Images 4
    It starts the display on image 1 (the second in the series img2.jpg)*/

    Thank you.
    That helped. I get the correct images in the output, but not in the display. I also get the following error. Any chance you could help with that?
    new output after moving the increment:
    imageNum 0
    image name (thisPortrait) images/img1.jpg
    imageNum 1
    image name (thisPortrait) images/img2.jpg
    imageNum 2
    image name (thisPortrait) images/img3.jpg
    imageNum 3
    image name (thisPortrait) images/img4.jpg
    TypeError: Error #2007: Parameter url must be non-null.
    at flash.display::Loader/_load()
    at flash.display::Loader/load()
    at iOS_fla::MainTimeline/loadData()
    at iOS_fla::MainTimeline/loadData()
    at iOS_fla::MainTimeline/loadData()
    at iOS_fla::MainTimeline/loadData()
    at iOS_fla::MainTimeline/loadData()
    at iOS_fla::MainTimeline/processXML()
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/onComplete()

  • Help with if statement in cursor and for loop to get output

    I have the following cursor and and want to use if else statement to get the output. The cursor is working fine. What i need help with is how to use and if else statement to only get the folderrsn that have not been updated in the last 30 days. If you look at the talbe below my select statement is showing folderrs 291631 was updated only 4 days ago and folderrsn 322160 was also updated 4 days ago.
    I do not want these two to appear in my result set. So i need to use if else so that my result only shows all folderrsn that havenot been updated in the last 30 days.
    Here is my cursor:
    /*Cursor for Email procedure. It is working Shows userid and the string
    You need to update these folders*/
    DECLARE
    a_user varchar2(200) := null;
    v_assigneduser varchar2(20);
    v_folderrsn varchar2(200);
    v_emailaddress varchar2(60);
    v_subject varchar2(200);
    Cursor c IS
    SELECT assigneduser, vu.emailaddress, f.folderrsn, trunc(f.indate) AS "IN DATE",
    MAX (trunc(fpa.attemptdate)) AS "LAST UPDATE",
    trunc(sysdate) - MAX (trunc(fpa.attemptdate)) AS "DAYS PAST"
    --MAX (TRUNC (fpa.attemptdate)) - TRUNC (f.indate) AS "NUMBER OF DAYS"
    FROM folder f, folderprocess fp, validuser vu, folderprocessattempt fpa
    WHERE f.foldertype = 'HJ'
    AND f.statuscode NOT IN (20, 40)
    AND f.folderrsn = fp.folderrsn
    AND fp.processrsn = fpa.processrsn
    AND vu.userid = fp.assigneduser
    AND vu.statuscode = 1
    GROUP BY assigneduser, vu.emailaddress, f.folderrsn, f.indate
    ORDER BY fp.assigneduser;
    BEGIN
    FOR c1 IN c LOOP
    IF (c1.assigneduser = v_assigneduser) THEN
    dbms_output.put_line(' ' || c1.folderrsn);
    else
    dbms_output.put(c1.assigneduser ||': ' || 'Overdue Folders:You need to update these folders: Folderrsn: '||c1.folderrsn);
    END IF;
    a_user := c1.assigneduser;
    v_assigneduser := c1.assigneduser;
    v_folderrsn := c1.folderrsn;
    v_emailaddress := c1.emailaddress;
    v_subject := 'Subject: Project for';
    END LOOP;
    END;
    The reason I have included the folowing table is that I want you to see the output from the select statement. that way you can help me do the if statement in the above cursor so that the result will look like this:
    emailaddress
    Subject: 'Project for ' || V_email || 'not updated in the last 30 days'
    v_folderrsn
    v_folderrsn
    etc
    [email protected]......
    Subject: 'Project for: ' Jim...'not updated in the last 30 days'
    284087
    292709
    [email protected].....
    Subject: 'Project for: ' Kim...'not updated in the last 30 days'
    185083
    190121
    190132
    190133
    190159
    190237
    284109
    286647
    294631
    322922
    [email protected]....
    Subject: 'Project for: Joe...'not updated in the last 30 days'
    183332
    183336
    [email protected]......
    Subject: 'Project for: Sam...'not updated in the last 30 days'
    183876
    183877
    183879
    183880
    183881
    183882
    183883
    183884
    183886
    183887
    183888
    This table is to shwo you the select statement output. I want to eliminnate the two days that that are less than 30 days since the last update in the last column.
    Assigneduser....Email.........Folderrsn...........indate.............maxattemptdate...days past since last update
    JIM.........      jim@ aol.com.... 284087.............     9/28/2006.......10/5/2006...........690
    JIM.........      jim@ aol.com.... 292709.............     3/20/2007.......3/28/2007............516
    KIM.........      kim@ aol.com.... 185083.............     8/31/2004.......2/9/2006.............     928
    KIM...........kim@ aol.com.... 190121.............     2/9/2006.........2/9/2006.............928
    KIM...........kim@ aol.com.... 190132.............     2/9/2006.........2/9/2006.............928
    KIM...........kim@ aol.com.... 190133.............     2/9/2006.........2/9/2006.............928
    KIM...........kim@ aol.com.... 190159.............     2/13/2006.......2/14/2006............923
    KIM...........kim@ aol.com.... 190237.............     2/23/2006.......2/23/2006............914
    KIM...........kim@ aol.com.... 284109.............     9/28/2006.......9/28/2006............697
    KIM...........kim@ aol.com.... 286647.............     11/7/2006.......12/5/2006............629
    KIM...........kim@ aol.com.... 294631.............     4/2/2007.........3/4/2008.............174
    KIM...........kim@ aol.com.... 322922.............     7/29/2008.......7/29/2008............27
    JOE...........joe@ aol.com.... 183332.............     1/28/2004.......4/23/2004............1585
    JOE...........joe@ aol.com.... 183336.............     1/28/2004.......3/9/2004.............1630
    SAM...........sam@ aol.com....183876.............3/5/2004.........3/8/2004.............1631
    SAM...........sam@ aol.com....183877.............3/5/2004.........3/8/2004.............1631
    SAM...........sam@ aol.com....183879.............3/5/2004.........3/8/2004.............1631
    SAM...........sam@ aol.com....183880.............3/5/2004.........3/8/2004.............1631
    SAM...........sam@ aol.com....183881.............3/5/2004.........3/8/2004.............1631
    SAM...........sam@ aol.com....183882.............3/5/2004.........3/8/2004.............1631
    SAM...........sam@ aol.com....183883.............3/5/2004.........3/8/2004.............1631
    SAM...........sam@ aol.com....183884.............3/5/2004.........3/8/2004............     1631
    SAM...........sam@ aol.com....183886.............3/5/2004.........3/8/2004............     1631
    SAM...........sam@ aol.com....183887.............3/5/2004.........3/8/2004............     1631
    SAM...........sam@ aol.com....183888.............3/5/2004.........3/8/2004............     1631
    PAT...........pat@ aol.com.....291630.............2/23/2007.......7/8/2008............     48
    PAT...........pat@ aol.com.....313990.............2/27/2008.......7/28/2008............28
    NED...........ned@ aol.com.....190681.............4/4/2006........8/10/2006............746
    NED...........ned@ aol.com......95467.............6/14/2006.......11/6/2006............658
    NED...........ned@ aol.com......286688.............11/8/2006.......10/3/2007............327
    NED...........ned@ aol.com.....291631.............2/23/2007.......8/21/2008............4
    NED...........ned@ aol.com.....292111.............3/7/2007.........2/26/2008............181
    NED...........ned@ aol.com.....292410.............3/15/2007.......7/22/2008............34
    NED...........ned@ aol.com.....299410.............6/27/2007.......2/27/2008............180
    NED...........ned@ aol.com.....303790.............9/19/2007.......9/19/2007............341
    NED...........ned@ aol.com.....304268.............9/24/2007.......3/3/2008............     175
    NED...........ned@ aol.com.....308228.............12/6/2007.......12/6/2007............263
    NED...........ned@ aol.com.....316689.............3/19/2008.......3/19/2008............159
    NED...........ned@ aol.com.....316789.............3/20/2008.......3/20/2008............158
    NED...........ned@ aol.com.....317528.............3/25/2008.......3/25/2008............153
    NED...........ned@ aol.com.....321476.............6/4/2008.........6/17/2008............69
    NED...........ned@ aol.com.....322160.............7/3/2008.........8/21/2008............4
    MOE...........moe@ aol.com.....184169.............4/5/2004.......12/5/2006............629
    [email protected]/27/2004.......3/8/2004............1631
    How do I incorporate a if else statement in the above cursor so the two days less than 30 days since last update are not returned. I do not want to send email if the project have been updated within the last 30 days.
    Edited by: user4653174 on Aug 25, 2008 2:40 PM

    analytical functions: http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96540/functions2a.htm#81409
    CASE
    http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96624/02_funds.htm#36899
    http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96624/04_struc.htm#5997
    Incorporating either of these into your query should assist you in returning the desired results.

  • Subquery results need help with output

    Requirements:
    There is request to dump every day’s data from one table into text file.
    Tables:INSPECTION_RESULTS
    NJAS
    Primary Key: RES_SYS_NO
    Parent table: INSPECTION_RESULTS
    Child table: NJAS
    Purpose:
    1. obtain output results for the MIN and MAX RES_SYS_NO from INSPECTION_RESULTS table for yesterday’s date.
    2. Create comma delimited file for following columns using above table data output.
    Script thus far:
    SELECT NJA_RES_SYS_NO||','||NJA_TEST_REC_NO||','||NJA_LIC_ST_ID||','||NJA_ETS_ID||','||NJA_SW_VER||','||NJA_TECH_ID||','||NJA_VIN||','||NJA_LIC_NO||','
    ||NJA_LIC_JUR||','||NJA_LIC_SRC||','||NJA_MODEL_YR||','||NJA_MAKE||','||NJA_MODEL||','||NJA_VHCL_TYPE||','||NJA_BODY_STYLE||','||NJA_CERT_CLASS||','||
    NJA_GVWR||','||NJA_ASM_ETW||','||NJA_ETW_SRC||','||NJA_NO_OF_CYL||','||NJA_ENG_SIZE||','||NJA_TRANS_TYPE||','||NJA_DUAL_EXH||','||NJA_FUEL_CD||','
    || NJA_VID_SYS_NO||','|| NJA_VRT_REC_NO||','|| NJA_ARMSTDS_REC_NO||','|| NJA_RSN_F_N_TESTABLE||','|| NJA_DYNO_TESTABLE||','||
    NJA_CURR_ODO_RDNG||','|| NJA_PREV_ODO_RDNG||','|| NJA_PREV_TEST_DT||','|| NJA_TEST_TYPE||','||
    NJA_TEST_START_DT||','|| NJA_TEST_END_TIME||','|| NJA_EMISS_TEST_TYPE||','|| NJA_TEST_SEQ_NO||','
    ||NJA_LOW_MILE_EXEMP||','||NJA_TIRE_DRY||','|| NJA_REL_HUMID||','|| NJA_AMB_TEMP||','||NJA_BAR_PRESS||','|| NJA_HCF||','||
    NJA_GAS_CAP_ADAP_AVL||','|| NJA_GAS_CAP_REPL||','|| NJA_OVERALL_GAS_CAP_RES
    FROM NJAS
    WHERE NJA_RES_SYS_NO IN (SELECT MIN(NJA_RES_SYS_NO) FROM INSPECTION_RESULTS WHERE NJA_RES_SYS_NO IN
    (SELECT MAX(NJA_RES_SYS_NO) FROM INSPECTION_RESULTS, (SELECT SYSDATE-1 FROM DUAL))
    It works but not sure if I am getting accurate results. Can anyone help me fine tune this subquery script? Thanks!
    Scott

    Duplicate post
    See my answer in your other posting here Re: need help with script

Maybe you are looking for

  • DVD to hard drive? and then to... iPod?

    I'm pretty new to a lot. I know it's possible I'm just not certain if I need to buy applications to convert the forat or anything But, I'm trying to get a movie from a DVD to my computers hard drive and then from the hard drive to my 5th gen iPod. An

  • ITunes 12.0.1 on Yosemite cannot locate my music after Time Machine migration

    Hi hi On my old 2008 iMac, my iTunes consists of music media on the internal iMac hdd and on an external HDD. The option "Copy files to iTunes Media folder when adding to library" was left unchecked on my iTunes. My 2008 iMac froze and stopped workin

  • BPM message is being sent

    Hi, i put two receive step in fork step and two send step. two receive step has start point, when both two step are received, one receive step will be sent to legacy and then another receive step wil be sent to legacy. if one of receive step is not r

  • Assignment of factory calendar ID to company code

    Hello, I want to implement a report where I need the Assignement of the ID for the factory calendar to the company code. Is there a table in the system? thx Robert

  • I get mesage that lightening 3.3 is not compatible with firefox 31.0

    I have a new computer and installed the latest version of Mozilla Thunderbird on it (firefox 31.0). I like to use the calendar and tried to install lightening 3.3 but it gives the message that it is incompatible with firefox 31.0. How can I get the c