Purge Cache Before Ibot execution

hi all,
our requirement is purge the cache before ibot executes. we have java script. but the thing is do we have to create a new ibot with that script or can we add that scrpipt in existing ibot? please clarify me.
thanks in advance.

HI..
do one thing,
create normal iBot for dummy report..
Now, in advanced tab,
First add your javascriptfile
after that add your main iBot.
Now, you have 2 actions in advanced tab.
Hope it executes one after other, so keep your script file after iBot,
Just check it .. hope it works..
Thanks & Regards
Kishore Guggilla

Similar Messages

  • Purge Cache in OBIEE 10g using IBOT

    Hi All,
    I follwed the below steps to purge cache.
    Created below java script.
    var nqCmd = “D:\\OracleBI\\server\\Bin\\nqcmd.exe”;
    var dsn = “AnalyticsWeb”;
    var user = “Administrator”;
    var pswd = “SADMIN”;
    var tempInFileName = “D:\\SQL.txt”;
    var tempOutFileName = “D:\\Output.txt”;
    var wshShell = new ActiveXObject(“WScript.Shell”);
    var dosCmd = nqCmd + ” -d \”" + dsn + “\” -u \”" + user+ “\” -p \”" + pswd + “\” -s \”" + tempInFileName + “\”" +” -o \”" + tempOutFileName + “\”";
    try
    wshShell.Run(dosCmd, 0, true);
    catch(e)
    throw e;
    2. created a file SQL.txt in D drive with contents.
    {Call SAPurgeAllCache()};
    3. created an IBOT with advance tab:
    using custom script.
    I run the ibot imideately. but still my cache is not purging.
    If i m missing any steps.?

    Hi,
    Please copy the below script and save it c drive location.
    var nqCmd = "C:\\OracleBI\\server\\Bin\\nqcmd.exe";
    var dsn = "AnalyticsWeb";
    var user = "Administrator";
    var pswd = "Administrator";
    var tempInFileName = "C:\\SQL.txt";
    var tempOutFileName = "C:\\Output.txt";
    var wshShell = new ActiveXObject("WScript.Shell");
    var dosCmd = nqCmd + " -d \"" + dsn + "\" -u \"" + user + "\" -p \"" + pswd + "\" -s \"" + tempInFileName + "\"" +" -o \"" + tempOutFileName + "\"";
    try
    wshShell.Run(dosCmd,0,true);
    catch(e)
    throw e;
    Note: While save this file plz give name like purge.js then it will store js format then create ibot and go to advance tab --> select Custom Script --> give name like purge.js then run the ibot .
    Follow the below steps.
    1. create one note and put the query inside the note pad like below and save file name is SQL.txt.
    {Call SAPurgeAllCache()};
    Save this file is C drive location.
    It will purge all the cache.
    Hope this help's
    Thanks
    Satya

  • Bridge CC asks to Purge Cache but freezes when I try to do so

    Am using Bridge on a MAC. Each time I open Bridge an error message comes up requesting to Purge Cache via preferences - But when I try to do this, it freezes.
    In fact, even before trying to purge cache, if I try navigating to another folder on Bridge it also freezes.
    Have trashed Bridge, downloaded it again and reinstalled - problem continues.
    What should I do?

    Yes that worked - THANKS.
    I created a new cache folder and deleted the other - and now it works!
    I had to show hidden files via terminal to delete the previous cache folder.

  • Bridge CC. on opening message says unable to read cache, purge cache. This does not help.

    On opening message says unable to read cache, purge cache. Purging the cache does not help and Bridge continues to hang. Was working fine before.

    Mac?  REad this http://forums.adobe.com/thread/1237168

  • CS6 Bridge says encountered problem, purge cache

    Hi there Forum Room,  Please can anyone help.
    I have been running photoshop CS6 for about 2yrs on my iMac running with 6gb Ram. Whenever I open Bridge I get this message and then it locks.
    "Bridge encountered a problem and is unable to read the cache. Please try purging the central cache in Cache Preferences to correct the situation"
    The only way to close the program is to force quit
    I have tried purging, through Tools > Cache > Purge cache >  But it still locks up, the little circle in the bottom left corner keeps going round and never stops this has been going all night and nothing has changed.
    I have tried uninstall and reinstall but bridge has this problem again, Photoshop works good but I have no preview area to view photos before editing !......Please Please can anyone help

    hnz5758 wrote:
    i attempt to open preferences, and clear out cache, it does not work.@
    Supply pertinent information for quicker answers
    The more information you supply about your situation, the better equipped other community members will be to answer. Consider including the following in your question:
    Adobe product and version number
    Operating system and version number
    The full text of any error message(s)
    What you were doing when the problem occurred
    Screenshots of the problem
    Computer hardware, such as CPU; GPU; amount of RAM; etc.

  • PURGE CACHE MESSAGE-.ugggh!

    I keep getting a message that says I need to purge the Cache. When I go to preferences and try, the window freezes. Nothing happens. I have to force quite out of Bridges. Also, ever since I started using the creative cloud my photoshop freezes up. Never had that issue before. Any suggestions? I have 100 photos to process so any help would be GREATLY appreciated. Thanks in advance.
    Tamera Ford

    When I go to preferences and try, the window freezes. Nothing happens. I have to force quite out of Bridges.
    Could you provide details about what exact version of Bridge and OS you are using on what computer?
    Meanwhile if you have pointed Bridge to a folder you can also purge cache for that folder using menu tools / cache/ purge cache for folders to see if that helps.

  • Purge Cache for a Specific Business Model

    Hi everyone,
    I have a obiee(11) report purging all cache entries (as Call SAPurgeAllCache()). Is there a method to purge cache partially for specific business model entries and not to purge all the cache ?
    Thanks ...

    Hi,
    To selectively purge, you could use SAPurgeCacheByQuery, SAPurgeCacheByTable or SAPurgeCacheByDatabase. Alternatively, Event Polling Tables may help. See http://docs.oracle.com/cd/E23943_01/bi.1111/e10541/querycaching.htm#i1005542 and http://docs.oracle.com/cd/E23943_01/bi.1111/e10541/querycaching.htm#i1010207.
    Also see the section on BI Server caching here : http://www.rittmanmead.com/2013/03/optimising-obiee-performance-tuning/
    SET VARIABLE DISABLE_CACHE_HIT = 1
    It will purge the cache for that report.This is just wrong. DISABLE_CACHE_HIT only DISABLES cache use for the query execution, it does not PURGE it
    You may go for this DISABLE_CACHE_SEED for more info http://docs.oracle.com/cd/E23549_01/bi.1111/e10540/variables.htm
    What's the point of DISABLING use of the cache, if the OP wants to use the cache?
    set the cache persistence time for the related physical tables. so based on the time interval u set, at that time specific tables only will get cache purged.This is only the time from which the entry got loaded into the cache, so is not a good way to manage the purging of the cache usually - because it has no relation to when the data got loaded to the database

  • New update 8.7.1 CS6 ACR not working---(I own hard copy not a Trial or part of CC), I purged cache in bridge, and photoshop. NO photos will open when I double clik, or  will not open again in ACR alone.  When I double clik on raw file I get Sign In requir

    I purged cache in bridge, and photoshop. NO photos will open when I double clik, or  will not open again in ACR alone.  When I double clik on raw file I get Sign In required Notice--We will now register your TRIAL to your Adobe ID-------I am alread a SUBSCRIBER-------------Yes I get this same issue in Creative Cloud and same issue. error: Camera Raw editing is not enabled-----Camera Raw editing requires that a qualifying product has been launched at least once to enable this feature. These errors are happening inside both CS6 Bridge and CCphotoshop Bridge------NOTE----I am ALREADY signed into Creative Cloud and still get those message errors.........Need to fix ASAP.

    When you sign in to Adobe.com with the user ID and Password your using in the Creative Cloud and Photoshop does this link  https://www.adobe.com/account/my-products-services.html show that the account has a subscription?
    Also this is a user forum not a Adobe Customer Services web site.

  • I have problem with adobe bridge cs6. Every time I open it Bridge tells me to Purge Cache. I have CS

    I have problem with adobe bridge cs6. Every time I open it Bridge tells me to Purge Cache. I have CS6 on two computers and it works fine on one of them. I have tried to reinstall it without succeeding to fix the problem. Does anyone have the same problem and a solution to it?
    "Bridge encountered a problem and is unable to read the cache. Please try purging the central cache in Cache Preferences to correct the situation."

    You must have a Mac.  Try this.
    Quit Bridge, from user library (NOT system and root library) preferences folder find and delete the com.adobe.bridge5.plist file manual. Do this also in same user library caches folder (Caches/Adobe/Bridge CS6) and inhere find and the folder called 'cache' and drag it to the trash.
    restart Bridge holding down option key and choose reset preferences, then try again.

  • Bridge CC is asking my to 'purge cache'. When I do this doesn't work and freezes my mac. Bridge is unable to work at all. Please help?

    When I start up Bridge CC I get a error message instructing me to purge cache in preferences which I do but it doesn't work and freezes my mac. I cannot curretnly use Bridge CC. PLease help as this is costing me time and money - thank you in advance....

    Hold down the Option key as you launch Bridge, keep it down until you see a dialog box, then click all three options in the re-set box that comes up.
    If you don't see that re-set box, you're doing it wrong, i.e., you're not holding the Option key down fast enough.

  • Purge Cache Error in OBIEE 11g (11.1.1.5.0) in Linux Env.

    Hi all,
    I following the following blog to purge cache in Linux.
    http://shivabizint.wordpress.com/2010/12/22/purge-bi-server-cache-in-obiee11g/
    When I excute I get the following error message. Can someone help me to fix this issue? Thanks
              Oracle BI ODBC Client
              Copyright (c) 1997-2011 Oracle Corporation, All rights reserved
    [0][State: IM002] [DataDirect][ODBC lib] System information file not found. Please check the ODBCINI environment variable.
    Connect open failed
    Connection open failed:
    [0][State: IM002] [DataDirect][ODBC lib] System information file not found. Please check the ODBCINI environment variable.
    Connection open failed

    I have exported ODBC path manually.
    export ODBCINI=$ORACLE_INSTANCE/bifoundation/OracleBIApplication/$ORACLE_BI_APPLICATION/setup/odbc.iniAnd then executed the nqcmd command. Now I am getting the different error.
               Oracle BI ODBC Client
               Copyright (c) 1997-2011 Oracle Corporation, All rights reserved
    Initialize client environment failed, possibly caused by incomplete installation
    [nQSError: 47001] Invalid Oracle BI Bin directory:
    /oracle/home/bifoundation/server/bin.
    Initialize client environment failed, possibly caused by incomplete installation
    [nQSError: 47001] Invalid Oracle BI Bin directory:
    /oracle/home/bifoundation/server/bin.
    [0][State: IM004] [DataDirect][ODBC lib] Driver's SQLAllocHandle on SQL_HANDLE_ENV failed Connect open failed

  • Bridge CC hangs upon opening, suggests purging cache which dies nothing except make issue worse

    Have had issues with Bridge becoming increasingly and painfully slow in loading/previewing its thumbnails on all machines in the studio.
    We have purged cache as per suggestions from the opening error messages but this has only made matters worse to the extent that now it wont load its previews at all.
    Ive reinstalled Bridge three times now. Even after reinstalling Bridge still retains last folder browsed information and will attempt to navigate to that folder regardless what you are trying to select.

    Have had issues with Bridge becoming increasingly and painfully slow in loading/previewing its thumbnails on all machines in the studio.
    We have purged cache as per suggestions from the opening error messages but this has only made matters worse to the extent that now it wont load its previews at all.
    Ive reinstalled Bridge three times now. Even after reinstalling Bridge still retains last folder browsed information and will attempt to navigate to that folder regardless what you are trying to select.

  • When opening Bridge (CS6) I get the following message: "Bridge encountered a problem and is unable to read the cache. Please try purging the central cache in Cache Preferences to correct the situation" I tried and after selecting purge cache it does not a

    When opening Bridge (CS6) I get the following message: "Bridge encountered a problem and is unable to read the cache. Please try purging the central cache in Cache Preferences to correct the situation" I tried and after selecting purge cache it does not allow me to select OK. Also Bridge keeps saying "Building Criteria" with the spinning wheel and nothing happens. I tried uninstalling and reinstalling to no avail. Please help:)

    Maybe a Preferences reset can help:
    Numerous program settings are stored in the Adobe Bridge preferences file, including display, Adobe Photo Downloader, performance, and file-handling options.
    Restoring preferences returns settings to their defaults and can often correct unusual application behavior.
    Press and hold the Ctrl key (Windows) or the Option key (Mac OS) while starting Adobe Bridge.  
    In the Reset Settings dialog box, select one or more of the following options:  
      Reset Preferences 
    Returns preferences to their factory defaults. Some labels and ratings may be lost. Adobe Bridge creates a new preferences file when it starts.
    Purge Entire Thumbnail Cache
    Purging the thumbnail cache can help if Adobe Bridge is not displaying thumbnails properly. Adobe Bridge re-creates the thumbnail cache when it starts.
    Reset Standard Workspaces
    Returns Adobe predefined workspaces to their factory default configurations.
    Click OK, or click Cancel to open Adobe Bridge without resetting preferences.   

  • Oracle Apps - How to create a table before report execution?

    Hi,
    I'm new to oracle apps, I created a procedure to get some values for a report and created a query to get the remaining values. Now I need to populate those values into a temporary table and after the report execution I have to delete the table. In apps there is no before parameter form. If any one can help me, that will great.
    Thanks in advance.

    Hi,
    Do you really need to create a table INSIDE the report? It doesn't look like a good idea to me. For instance, what happens if 2 users try to execute the report at the same time? I would create a global temporary table before any execution of the report, and then I would just populate the data in the table in the 'Before Report' trigger. The data in a global temporary table is only visible at session level, so you wouldn't have any problems with multiple users executing the report at the same time and the data disappears once you finish your session, so you don't need to take care of deleting the data.
    Hope it helps.

  • Should we Use cache seeding iBots to pre-cache the reports ?

    Hi Everyone,
    We have requirement from client to improve the performance of some reports.We have a very old RPD and it is really huge so we don't want to do much on database side for performance tuning.
    Will it be a good idea to use cache seeding iBots to pre-cache the reports ?
    Most of the reports which are having performance issue are having some 5-6 columns and one key column is having some 30+ choices in column selector.So for each column selector view we will have to create a ibot which will again be a huge task.Can you pls guide how to approach this?
    Thanks in advance !
    Aarti Chawla

    hi Aarti,
    Will it be a good idea to use cache seeding iBots to pre-cache the reports ?http://www.artofbi.com/index.php/2010/03/obiee-ibots-obi-caching-strategy-with-seeding-cache/
    30+choices in column selector will definitely have performance issues..bcz each and every time the report is going to refresh .have u enabled the cache some what better .Whats the issue of using existing report by enabling the cache seeding in ibots?
    Thanks,
    Saichand.v

Maybe you are looking for