Execute calculation APP1.DB1.Calc1 ON database APP2.DB2;

Hi,
Can I execute calculation script available under different application on another application as shown below:
     execute calculation APP1.DB1.Calc1 ON database APP2.DB2;
I'm getting syntax error:
MAXL> execute calculation APP1.DB1.Calc1 ON database APP2.DB2;
   ERROR - 1242021 - (1) Syntax error near ['ON'].
Could you please help me out
Thanks,
Kousalya

No, you can't.
That syntax is only used to run a calculation saved at the application level against a particular database within that application, e.g. you could use:
execute calculation Sample.'Test' on database Basic;
In your case, you have to copy the script to the other database first.
If you need to automate the process, you could do this:
create or replace calculation APP2.DB2.Calc1 as APP1.DB1.Calc1;
execute calculation APP2.DB2.Calc1;
drop calculation APP2.DB2.Calc1;
The drop is optional, it just means that your new copy of Calc1 doesn't sit around in APP2.DB2 but gets deleted.
You can also submit a calculation string (i.e. the contents of a calc script) direct from MaxL to a database, but I don't like burying calc strings in MaxL scripts.

Similar Messages

  • Execute Calculation for ASO

    Hi,
    I am trying to convert BSO calc script to ASO calc script using "Execute Calculation" function in maxl. But getting some errors.
    here is one of the example of calc script.
    FIX (Actual, "Curr Assig", "Any Product")
    Sales=0;
    ENDFIX
    execute calculation on database 'App'.'Db' with
    local script_file "\Oracle\Middleware\user_projects\epmsystem1\EssbaseServer\essbaseserver1\app\App\Db\ASOFILE1.txt"
    POV "Crossjoin({[Actual],[Curr Assig]},Crossjoin({[Any Product]}))"
    SOURCEREGION "{[Sales]}" ;
    here ASOFILE.txt has equation [Sales] := 0;
    BUt when I ran it. It give me an following error.
    "Statement executed with warnings.
    Syntax error in input MDX query on line 1 at token ')'
    Custom Calculation terminated with Essbase error 1260052 in POV"
    Can anyone suggest me something?
    Thanks,

    Try changing your POV to:
    POV "CROSSJOIN(CROSSJOIN({[Actual]},{[Curr Assig]}),{[Any Product]})"

  • EXECUTE permission denied on object 'xp_sqlagent_notify', database 'mssqlsystemresource', schema 'sys'.

    I'm trying to create a new subscriptions on an existing report and get the following error.
    An internal error occurred on the report server. See the error log for more details. (rsInternalError) Get Online Help
    Get Online Help
    EXECUTE permission denied on object 'xp_sqlagent_notify', database 'mssqlsystemresource', schema 'sys'.
    I ran the following that was suggested in http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=17774&SiteID=1. But still I get the same error. Do I need a reboot or restart of the services?
    The only log file information I can find contains the following.
    System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: An internal error occurred on the report server. See the error log for more details. ---> Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details. ---> System.Data.SqlClient.SqlException: EXECUTE permission denied on object 'xp_sqlagent_notify', database 'mssqlsystemresource', schema 'sys'.
       --- End of inner exception stack trace ---
       at Microsoft.ReportingServices.WebServer.ReportingService2005.ListSchedules(Schedule[]& Schedules)
       at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
       at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
       at Microsoft.SqlServer.ReportingServices2005.ReportingService2005.ListSchedules()
       at Microsoft.SqlServer.ReportingServices2005.RSConnection.ListSchedules()
       at Microsoft.ReportingServices.UI.SharedScheduleDropDown.EnsureSchedulesAreLoaded()
       at Microsoft.ReportingServices.UI.SharedScheduleDropDown.SharedScheduleDropDown_Load(Object sender, EventArgs e)
       at System.Web.UI.Control.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    aspnet_wp!ui!1!17/10/2006-08:44:26:: e ERROR: Exception in ShowErrorPage: System.Threading.ThreadAbortException: Thread was being aborted.
       at System.Threading.Thread.AbortInternal()
       at System.Threading.Thread.Abort(Object stateInfo)
       at System.Web.HttpResponse.End()
       at System.Web.HttpServerUtility.Transfer(String path, Boolean preserveForm)
       at Microsoft.ReportingServices.UI.ReportingPage.ShowErrorPage(String errMsg) at    at System.Threading.Thread.AbortInternal()
       at System.Threading.Thread.Abort(Object stateInfo)
       at System.Web.HttpResponse.End()
       at System.Web.HttpServerUtility.Transfer(String path, Boolean preserveForm)
       at Microsoft.ReportingServices.UI.ReportingPage.ShowErrorPage(String errMsg)
    aspnet_wp!extensionfactory!e!17/10/2006-09:35:13:: w WARN: The extension Report Server Email does not have a LocalizedNameAttribute.
    aspnet_wp!extensionfactory!e!17/10/2006-09:35:13:: w WARN: The extension Report Server FileShare does not have a LocalizedNameAttribute.
    aspnet_wp!ui!e!17/10/2006-09:35:13:: e ERROR: System.Web.Services.Protocols.SoapException: An internal error occurred on the report server. See the error log for more details. ---> Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details. ---> System.Data.SqlClient.SqlException: EXECUTE permission denied on object 'xp_sqlagent_notify', database 'mssqlsystemresource', schema 'sys'.
       --- End of inner exception stack trace ---
       at Microsoft.ReportingServices.WebServer.ReportingService2005.ListSchedules(Schedule[]& Schedules)
    aspnet_wp!ui!e!17/10/2006-09:35:13:: e ERROR: HTTP status code --> 200
    I cannot find any other error log.
    Can anybody help?
    Tuesday, October 17, 2006 8:49 AM
    Reply
    |
    Quote
    All replies
    0
    Sign in to vote
    Sorry for the late reply. Try this: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=662319&SiteID=1
    Thursday, November 16, 2006 2:51 AM
    Reply
    |
    Quote
    Answerer
    0
    Sign in to vote
    GRANT EXECUTE ON master.dbo.xp_sqlagent_notify TO RSExecRole
    GO
    solved my problem.
    Proposed as answer by
    Christopher D. Stover
    Monday, September 16, 2013 6:52 PM
    Monday, September 16, 2013 6:51 PM
    Reply
    |
    Quote
    0
    Sign in to vote
    Tried that but no joy. Found this post on SQLServerCentral, solved our issue which mimic's the posters issue.  Just adding here as this is the first result in our search.
    Look for Topic452669-150-1
    There are a number of places I found with the information in the following
    link:
    http://phew-meme.blogspot.com/2007/10/reporting-service-on-report.html
    In
    my specific case, the RsExecRole role in both the "master" and "msdb" databases
    had had both the "NT Authority\Network Service" and "NTAuthority\System" logins
    removed from its members (the RSExecRole had had all its members removed by
    someone doing some maintenance). I compared another Reporting Services
    installation on another server after reading information in the above
    link.
    Steps:
    1. In Mangement Studio connect to the SQL Server instance
    on which Reporting Services runs.
    2. Databases > system Databases
    3.
    master > Security > Roles > RSExecRole (then add whatever logins are
    required... check in the ReportServer or ReportServerTempDB databases if you're
    not sure)
    4. msdb > Security > Roles > RSExecRole (add the same
    logins you did to the master DB)
    In the end you need the same logins in
    RSExecRole role for the master, msdb, ReportServer, and ReportServerTempDB
    databases. ("ReportServer" is the default Reporting Services database name, in
    case that's not clear ;)
    Monday, March 31, 2014 1:24 PM
    Reply
    |
    Quote
    if (!$.Microsoft) $.Microsoft = {};
    if (!$.Microsoft.Mtps) $.Microsoft.Mtps = {};
    if (!$.Microsoft.Mtps.NetReflectorInit)
    $.Microsoft.Mtps.NetReflectorInit = {
    surveyUrl: 'http://support.microsoft.com/common/survey.aspx?scid=sw%3ben%3b3763&altstyle=narrow&renderoption=overridedefault&theme=tech&url=http://social.technet.microsoft.com/Forums/en-US/3fcc7b54-ce84-48c2-9004-baaac07f2515/execute-permission-denied-on-object-xpsqlagentnotify-database-mssqlsystemresource-schema?forum=sqlreportingservices&P0=055ccfc1-78f5-46ff-8171-33f8ff760a7c',
    throttleRate: "5.00",
    privacyStatementText: "Privacy statement",
    trackerWindowText: "Please do not close this window.Thank you! The survey will appear here when you've completed your visit, so please do not close this window.",
    logoUrl: 'https://www.microsoft.com/library/svy/sto/technet_logo.gif',
    closeButtonUrl: 'https://www.microsoft.com/library/svy/sto/technet-close.gif',
    topBarUrl: 'https://www.microsoft.com/library/svy/sto/top-stripe.gif',
    bottomBarUrl: 'https://www.microsoft.com/library/svy/sto/bottom-stripe.gif',
    blankPage: 'https://social.technet.microsoft.com/forums/blank.htm',
    showSurveyToComscoreUser: 'no'
    setTimeout("Forums.loadScript('https://i1.social.s-msft.com/Forums/resources/NetReflector/NetReflector.js?cver=0%0d%0a')", 1000);
    Microsoft is conducting an online survey to understand your opinion of the Technet Web site. If you choose to participate, the online survey will be presented to you when you leave the Technet Web site.
    Would you like to participate?
    Privacy statement
    © 2015 Microsoft. All rights reserved.
    Newsletter|Contact Us|Privacy Statement|Terms of Use|Trademarks|Site Feedback
    TechNet
    Products
    IT Resources
    Downloads
    Training
    Support
    Products
    Windows
    Windows Server
    System Center
    Internet Explorer
    Office
    Office 365
    Exchange Server
    SQL Server
    SharePoint Products
    Lync
    See all products »
    Resources
    Curah! curation service
    Evaluation Center
    Learning Resources
    Microsoft Tech Companion App
    Microsoft Technical Communities
    Microsoft Virtual Academy
    Script Center
    Server and Tools Blogs
    TechNet Blogs
    TechNet Flash Newsletter
    TechNet Gallery
    TechNet Library
    TechNet Magazine
    TechNet Subscriptions
    TechNet Video
    TechNet Wiki
    Windows Sysinternals
    Virtual Labs
    Solutions
    Networking
    Cloud and Datacenter
    Security
    Virtualization
    Updates
    Service Packs
    Security Bulletins
    Microsoft Update
    Trials
    Windows Server 2012 R2
    System Center 2012 R2
    Microsoft SQL Server 2012 SP1
    Windows 8.1 Enterprise
    See all trials »
    Related Sites
    Microsoft Download Center
    TechNet Evaluation Center
    Drivers
    Windows Sysinternals
    TechNet Gallery
    Training
    Training Catalog
    Class Locator
    Microsoft Virtual Academy
    Free Windows Server 2012 courses
    Free Windows 8 courses
    SQL Server training
    e-Learning overview
    Certifications
    Certification overview
    MCSA: Windows 8
    Windows Server Certification (MCSE)
    Private Cloud Certification (MCSE)
    SQL Server Certification (MCSE)
    Other resources
    TechNet Events
    Second shot for certification
    Born To Learn blog
    Find technical communities in your area
    Support options
    For small and midsize businesses
    For enterprises
    For developers
    For IT professionals
    From partners
    For technical support
    Support offerings
    For home users
    More support
    Microsoft Premier Online
    Microsoft Fix It Center
    TechNet Forums
    MSDN Forums
    Security Bulletins & Advisories
    International support solutions
    Log a support ticket
    Not an IT pro?
    Microsoft Customer Support
    Microsoft Community Forums
    var railItems = ["/Forums/en-US/rightrailannouncement/Technet/1794d07f-9d4e-4dc0-8c1c-8bfe9d5e0bce"];
    var pageData = {"validUser":false,"autoSubscribe":false};
    var userEmailConfigured = false;
    $(document).ready(function () {
    Forums.ThreadPage.wirePageElements('Search forum questions');

    Tried that but no joy. Found this post on SQLServerCentral, solved our issue which mimic's the posters issue.  Just adding here as this is the first result in our search.
    Look for Topic452669-150-1
    There are a number of places I found with the information in the following
    link:
    http://phew-meme.blogspot.com/2007/10/reporting-service-on-report.html
    In
    my specific case, the RsExecRole role in both the "master" and "msdb" databases
    had had both the "NT Authority\Network Service" and "NTAuthority\System" logins
    removed from its members (the RSExecRole had had all its members removed by
    someone doing some maintenance). I compared another Reporting Services
    installation on another server after reading information in the above
    link.
    Steps:
    1. In Mangement Studio connect to the SQL Server instance
    on which Reporting Services runs.
    2. Databases > system Databases
    3.
    master > Security > Roles > RSExecRole (then add whatever logins are
    required... check in the ReportServer or ReportServerTempDB databases if you're
    not sure)
    4. msdb > Security > Roles > RSExecRole (add the same
    logins you did to the master DB)
    In the end you need the same logins in
    RSExecRole role for the master, msdb, ReportServer, and ReportServerTempDB
    databases. ("ReportServer" is the default Reporting Services database name, in
    case that's not clear ;)

  • How can you execute a form without connecting to database?

    Hello,
    Is it possible to run a form without connecting to database? If Yes, how?
    Thanking you very much
    Thobula Rakesh

    Hello Form Friends,
    After R&D I found that, it is very much possible to execute a form without connecting to Database.
    Example:
    Step 1: Create a new form 'Form1'
    Step 2: Create a block 'Block1' and add button'But1'. Write a exit_form built-in on when-button-pressed trigger on 'But1' and compile it.
    Step 3: Create a on-logon trigger at form level and just give a message('on-logon');
    Step 4: Execute the form.
    The form executes perfectly without asking any connection to the database. On-Logon trigger initiates a logon process to non-oracle data source.
    Regards
    Thobula Rakesh
    Gati Intellect Systems Ltd

  • Date format in different databases like DB2, MS SQL, Oracle etc.

    Hi,
    Is there any standard date format, which works on any database like DB2, MS SQL Server, or Oracle 8i.
    Right now I am using specific format for each database.
    I am using the following syntax to retrieve the records on Jun 14, 2001.
    MS SQL Server:
    select * from tablename where
    CONVERT(character(10),ReceiptDateTime, 120) >='2001-06-14'
    and CONVERT(character(10), ReceiptDateTime , 120) <'2001-06-15'
    Oracle:
    select * from tablename where
    TO_CHAR(ReceiptDateTime,'YYYY-MM-DD') >= '2001-06-14'
    AND TO_CHAR(ReceiptDateTime,'YYYY-MM-DD') < '2001-06-15'
    Is there any way we can generalize the date formt?
    Any help appreciated.
    Thanks,
    Naidu

    Hi,
    Perhaps any difference when you compare the outcomes of
    SQL> select * from nls_database_parameters;
    SQL> select * from nls_session_parameters;on both databases?

  • How can i Migrate a database from DB2 to SQL Server 2008r2.

    Hi Gurus,
    Kindly help me letting me know the process for migrating the database from DB2 to SQL Server.
    1) Is there any way to migrate a database from DB2 to SqlServer. (My assumption is we can not migrate database, if wrong correct me gurus).
    2) Or we can only transfer data from that DB2 database to SQL Server (Using SSIS packages).
    Please help me knowing the process to migrate the data from DB2 server to MSSQL server. Even am reading the documents available in the web.
    Thanks in advance.. :)

    Microsoft provide a migration assistant for DB2 to SQL Server:
    http://www.microsoft.com/en-us/download/details.aspx?id=45296
    SQL Server Migration Assistant (SSMA) is a free supported tool from Microsoft that simplifies database migration process from DB2 to SQL Server and Azure SQL DB. SSMA automates all aspects of migration including migration assessment analysis, schema and
    SQL statement conversion and data migration. 
    Hope that helps

  • Error executing a package on Oracle 10G database

    Hi,
    I've a package on Oracle 10G database which accepts xml string as input,loads it into XMLDOM and does some processing.
    When I execute this package from .Net 2.0 client,I get the following error:
    **Error**
    err ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00216: invalid character 0 (0x0)
    Error at line 1
    **Error**
    But when I execute the same package from .Net client 2.0 on Oracle 9i database, it seems to work fine.The xml which I am sending is well-formed one.
    Where am i going wrong?
    Please help.
    Thanks in advance...!
    Regards,
    Amit

    Check the xml strings passed as input . One of the xmls may be malformed.

  • EXECUTE permission was denied in sysdb database, schema 'ssma_oracle'.

    Hello,
    I have migrated a database from oracle to SQL server.
    After migration when I run a script on the migrated database,
    I get following error . The user with which I have migrated the database and I am running this script are same.
    Also I have given these 3 permissions on sysdb database to this user - public, db_datareader db_datawriter.
    Please let me know what am I missing?
    Msg 229, Level 14, State 5, Server SERVER5009\SQLEXPRESS, Procedure PROC_LOADTEST , Line 303
    The EXECUTE permission was denied on the object 'db_error_get_oracle_exception_i
    d', database 'sysdb', schema 'ssma_oracle'.
    Msg 229, Level 14, State 5, Server SERVER5009\SQLEXPRESS, Procedure ssma_rethr
    owerror, Line 1
    The EXECUTE permission was denied on the object 'ssma_rethrowerror', database 's
    ysdb', schema 'ssma_oracle'.
    Thanks a lot.

    Hi ManiC24,
    Msg 59999, Level 16, State 1, Procedure PROC_LOADTEST, Line 324
    SSMA Oracle exception emulation for [ORA-00001]
    As other post, the issue is related to Oracle. The number 59999 is used for all Oracle system, user-defined, or predefined exceptions.
    Based on my research, ORA-00001 is common when: "a program tries to insert a "duplicate" row in a table,"  and that, "when a unique constraint is violated the row is NOT added to the table. To overcome this error, either remove
    the unique restriction or do not insert duplicate
    key.
    Reference:
    http://www.dba-oracle.com/sf_ora_00001_unique_constraint_violated.htm
    Thanks,
    Lydia Zhang
    Lydia Zhang
    TechNet Community Support

  • Execute a stored procedure on a database

    Hi,
    I want to execute a stored procedure on an oracle database. Therefore I use the open SQL step configured as follows:
    - option "statement requires parameters" is checked
    - on the advanced tab: Command Type = Stored Procedure
    After this step I use the Data Operation step with operation = Execute. Now, how can I set values for the parameters?
    Has anyone an example where I can see how the needed steps have to be configured?
    Thanks in advance
    Best regards
    Steffen

    Hi Steffen,
    Your sequence should have the following steps:
    1) Open Database
    2) Open SQL Statement
    3) Data Operation
    4) Close SQL Statement
    5) Close Database
    I am using a very basic stored procedure that doesn't really do anything:
    CREATE PROCEDURE MySP @myInput int AS SELECT * FROM myTable GO
    For step 2, your SQL Statement field should be the name of the stored procedure. In my example, it would simply by "MySP". Make sure you have the "Statement has parameters" field is checked.
    For step 3, select "Execute" as the Operation. Under the Column/Parameter field, you can insert all of your parameters. In my case, I just have one parameter. I can refer to it by index (1) or name ("myInput").
    Hope this helps!
    Allen P.
    NI

  • Executing a view severs connection to database

    I execute a SELECT statement on a query as follows:
    SELECT * FROM LLU_V_MIN_AVG_MAX_BY_CLASS_04
    It runs for about 10 seconds and I receive the following error message:
    An error was encountered performing the requested operation:
    No more data to read from socket
    Vendor code 17410Error at line 1
    Line 1 was the SELECT statement.
    In addition, it broke the connection to the database in SQL Developer, and I have never had that happen before. At that point, I had to reconnect to the database on every window I had open in SQL Developer (to that database).
    Here's the view:
    CREATE OR REPLACE VIEW LLU_V_MIN_AVG_MAX_BY_CLASS_04 AS
    SELECT P."TypeCode", P."Year", COUNT(P."Year") AS "HowMany",
    MIN(V1."Done_in_QR" + V1."Done_in_axiUm") AS "MinPoints",
    AVG(V1."Done_in_QR" + V1."Done_in_axiUm") AS "AvgPoints",
    MAX(V1."Done_in_QR" + V1."Done_in_axiUm") AS "MaxPoints"
    FROM PRODUCER P
    INNER JOIN LLU_V_CLINIC_REQUIREMENTS_04 V1
    ON P."Producer" = V1."ProviderID"
    WHERE V1."CategoryID" = 62 -- TOTAL CLINIC POINTS
    AND P."Year" BETWEEN 2 AND 4
    AND P."TypeCode" IN ('D','I')
    AND P."Inactive" = 0
    GROUP BY P."TypeCode", P."Year"
    Here's what I've tried so far:
    1) drop and re-create the view LLU_V_MIN_AVG_MAX_BY_CLASS_04
    2) drop and re-create the view LLU_V_CLINIC_REQUIREMENTS_04 (used by above view)
    3) drop and re-create the view LLU_V_CLINIC_REQS_AXIUM_04 (used by above view)
    4) drop and re-create the view LLU_V_PRODUCTION_DETAIL_04 (used by above view)
    In all cases (except #1), issuing a SELECT * FROM <view> returned data, both before and after dropping and re-creating them. The only view on which I receive the above error message is LLU_V_MIN_AVG_MAX_BY_CLASS_04.
    I am stumped - I have no clue what's going on.
    Can a view become corrupt?
    Any and all help will be gratefully received - any additional information you need in order to help, just let me know.
    Thanks very much,
    Carl

    Thanks to both of you for your replies.
    I am using SQL Developer to execute this statement - that's what was so puzzling to me - I had never seen an error message like that before. I tried this in versions 1.2.1 and 1.5.4 of SQL Developer and got the exact same results - the abovementioned statement ran for about 10 seconds and then my connection to the database was severed and I needed to re-connect to the database.
    Version of Oracle is 10.2.0.1.0
    Some background on the views with which I am working:
    All of them are suffixed with _04. What I do - whether right, wrong or otherwise - is whenever I have to make significant changes to that particular set of views, I increment the 'version number' so that I have the old views to refer back to just in case. So, this set of views existed as view name _03 until I copied, modifed and saved them as view name _04. They were working perfectly as 'version' _03 - no weird error messages at all. I then copied them to 'version' _04 and proceeded to make my modifications. So far so good. There are two tables which also get 'incremented' like this. I issued the command ANALYZE TABLE table_name VALIDATE STRUCTURE CASCADE against both of them and it succeeded. Here are the four views I am working with, numbered for reference purposes:
    1) LLU_V_MIN_AVG_MAX_BY_CLASS_04
    2) LLU_V_CLINIC_REQUIREMENTS_04
    3) LLU_V_CLINIC_REQS_AXIUM_04
    4) LLU_V_PRODUCTION_DETAIL_04
    1) is my problem child.
    2) is used by (1)
    3) is used by (2)
    4) is used by (3)
    2), 3) and 4) execute by themselves flawlessly. I issue the command SELECT * FROM +<any of those three views>+ and they return the correct dataset.
    Also, 1) works flawlessly as LLU_V_MIN_AVG_MAX_BY_CLASS_03. All I did was copy it from _03 to _04, change the necessary view name within its code and save it and it's not working. The only view it (#1) references is LLU_V_CLINIC_REQUIREMENTS_04. I issue the command SELECT * FROM LLU_V_CLINIC_REQUIREMENTS_04 and it returns the correct dataset.
    This is why I'm stumped and why I wondered whether a view can become corrupted.
    I don't even know what to try at this point, but any and all advice will be gratefully accepted, as always.
    Thanks,
    Carl

  • ESSBASE EXECUTE CALCULATION IN WHITE

    Hi,
    I need some help. when I execute a calculation in the background, instead o seeing all the columns complete, with the user name, the object IP, action..., its appear all the columns in white, so it can not allow me to delete this execution. every time I execute this calculation in the background, this line in white appear, so what can I do to solve this problem???
    Thanks for your help
    Regards

    Hi,
    I am executing the calculation with my user and with the same user I try to delete the execution when it finished. to know if the calculation has finished, I have to go to the essbaser server. Because in the background I see a new execution but all the fields are in white so, i do not know when it finished, and the most important problem, i can not delete the execution when it finished
    Regards,

  • Calculating the size of the database in memory

    Hi,
    I am using BDB 5.1.19 with BTREE as an access method.
    I would like to calculate the memory footprint that would be needed for that.
    I followed the following doc:
    useful-bytes-per-page = (page-size - page-overhead) * page-fill-factor
    bytes-of-data = n-records *
    (bytes-per-entry + page-overhead-for-two-entries)
    n-pages-of-data = bytes-of-data / useful-bytes-per-page
    total-bytes-on-disk = n-pages-of-data * page-size
    I am not interested in calculating the size on disk but just in memory.
    Would the following be enough:
    bytes-of-data = n-records *(bytes-per-entry + page-overhead-for-two-entries)
    Since the rest is only for space on disk i don't need it, is that correct?
    Would this calculation help me also to calculate the cache size or is the cache size influenced by the page size?
    Thx.

    This is not a replication question and those of us monitoring this forum are not the best people to answer this question. You'll probably get a better and faster answer if you post it to the general Berkeley DB forum:
    Berkeley DB
    Paula Bingham
    Oracle

  • Remote Database Connection DB2 - Oracle

    Hi All
    We need to maintain a remote db connection in DBACockpit. We are on DB2 UDB and we need to connect to Oracle. We have all the connection details.
    Now my query is do we need to maintain connection details at DB2 level also , or is it enough to maintain them in DBACockpit.
    Basically i need to connect from my SAP BI system which is on DB2 UDB 9.1 to Oracle Database.
    In oracle we can connect to different databases using TNS functionality, is something there like TNS in DB2 where we have to maintain the remote DB connection details? If yes request you to provide some relevant document for the same
    Thanks in Advance.
    Regards
    Kaleem.

    Hi Kaleem,
    if you want to administer your ORACLE database through DBACockpit, you need to prepare your system for a DBSL multiconnect to ORACLE as described in note 339092 ( i.e. install ORACLE client, ORACLE DBSL library, etc. ).
    This multiconnect can also be used for BI Connect.
    If you just want to query some ORACLE tables in your DB2 system, you may also consider to use the DB2 federation feature to create ncicknames within your DB2 database that point to ORACLE tables. In this case I suggest to consult the DB2 manuals on how to do this. You may also have to install an additional DB2 license for the hererogenous federation feature to create nicknames to ORACLE tables.
    Regards
                   Frank

  • Remote database access (db2)

    How can i connect database remotely?
    i can connect it locally but first time trying remotely

    You probably are looking for a class 3 driver for DB2.
    Check which driver you are using and set it right and correct the URL to also include the hostname for the remote DB2 instance.
    Regards,
    Peter Norell

  • Database Migration- DB2 Connect for 10G -BI

    Hi ,
    we are Installing  Netweaver BI 2004S, need for database migration- 10g. The existing database is DB & sql& the OS IS unix(AIX)pls answer the following Question.
    1.How to connect DB/SQL with the 10G. ?
    Pls mail me the necessary steps/links/guides/Notes regarding this.
    ***Accurate answers will be awarded Full points.***
    Regards
    CSM Reddy

    Are you currently running DB2 for Linux, Unix and Windows or DB2 for z/OS or DB2 for iSeries ?
    Regards,
    Thomas

Maybe you are looking for

  • How do I import photos from iPhone to PC?

    How do I import photos from my iPhone 3G to my PC (either desktop or iTunes)? I have over 200 photos to import.

  • Which is more efficient way to get result set from database server

    Hi, I am working on a project where I require to query database to fetch result set and then iterate through the resultset. Now, What I want is that I want to create one single java code that would call many different SQLs and create a list out of re

  • Can't export my video.

    I've tried several times to export my video in any possible way. It always says that it takes a couple of hours and stops when it has 15 min left. Already checked if I have enough space. iMovie also work really slow. Is the video too big for iMovie t

  • Missing Messages in Detail Log

    BPC 5.1 In comparing the data manager detail logs of two packages, I noticed that the Append package provides a [Messages] section in the Detail Log but the Append into Fact Table package does not. I am not able to determine what causes this. What pr

  • FIRST_VALUE & LAST_VALUE

    Given the following sample data: AverageRate CurrencyDate 1.0001            2001-09-03 1.0001            2001-09-04 1.0002            2001-09-05 1.0002            2001-09-06 1.0005            2001-09-07 1.0005            2001-09-08 1.0005