.cbs script query ?

Hi,We are trying to get our Member & dataload plus calc scripts set up to run automatically on QMASTER once a week.Our first problem was how to get the loads to run in a semi automated state.We've created some cbs scripts, one for the memberload and one for the dataload + calc and run them from a .bat script which seems to work fine on windows scheduler.However is it possible to somehow pick up the member's loaded & rejected information that you get on the screen if you perform the tasks manually within the EIS application ? At present we get a completed message with the time taken to perform each task but that's about it (please see below) :Exectued client request 'Load data synchronously' in 94 secondsThanks in advance, G.

The information about the data and/or members rejected, using Integration Services, are under directory $ISHOME$\LoadInfo, where $ISHOME$ is the directory where Integration Services is installed.

Similar Messages

  • EIS cbs script question

    We have an EIS-generated cbs script that appears to keep a lock on the Essbase outline even after it is done performing its function. I noticed that there is no 'logout' command within this script. Could that be the reason the EIS user retains a lock on the outline? If so, I suppose I'll have to manually enter in such a command. Where is a good resource to learn more about the EIS scripting language. I've searched the EIS help but can't find anything remotely close to what Essbase has for ESSCMD or MAXL. Thanks!

    Hi,
    If everything goes fine then it should create .cbs file and export to \\Oracle\Middleware\EPMSystem11R1\products\Essbase\eis\server\batch.
    Check in that location whether file exists or not.
    Thanks,
    Prathap

  • Is there a way to have your PS script Query the name of your local Mail Server?

    Hey Guys, 
      Really hoping someone can help me out here. I am currently working on a script that Automates the entire user creation process (AD account, Exchange Mailbox, UCM Soft phone). I want this script to be universal for all systems I have to work with.
    By this I mean that I can run the script on various systems (Different Domains) without ever having to modify the code. 
      I have run into a bit of a problem while trying to automate the PSSession component of my script. I would like to be able to run he script and it inserts the relevant Mail server name based on some sort of Lookup or query. I am currently circumventing
    the issue by having a text box pop up asking for the mail server name. It works, but its not really what I want for the end product. Its frustrating seeing as I have overcome similar issues for things like UPNs, AD Server, etc....
       I have though about having it pull from the DNS MX records, but there are a number of different records for different Mail servers.
      Any help would be awesome!

    Notice that this has drifted a whole long way from the original question.  I pointed out that it is easy with Exchange but if the servers are in different companies or are not part of an enterprise deployment then you need to look at the local AD and
    seek to the top. Any one mailbox wwil get you an exchange server to remote into and use the exchange shell to discover the network.
    ¯\_(ツ)_/¯
    Looking back over the thread, that may be my fault.  I mistook the comment about checking MX to mean he's just looking for a mail relay. 
    [string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "

  • Javascript backend scripts - Query response hangs

    I am modifying a database Read script to filter based on data within a related table.
    However, when this is executed from my iOS app, it hangs. A response is never sent back.
    Here's what I have. What am I doing wrong?
    function read(query, user, request) {
    var helpers = require('../shared/helpers.js');
    helpers.getUserEmailNew(user, function (email) {
    //console.log("User '%j' maps to email address: %j", user, email);
    // Return surveys for the currently authenticated user
    // by the email address we just found.
    var sql = 'select * from SurveyAnswer where SurveyId in ' +
    '(select id from survey where username = ? and submitted = 0 and __deleted = 0)';
    mssql.query(sql, [email], {
    success: function(results) {
    request.respond(statusCodes.OK, results);
    error: function(err) {
    console.log("Error retrieving SurveyAnswer records: " + err);
    request.respond(500, err);
    The referenced getUserEmailNew helper is not the issue as it is referenced in the same way just fine within other scripts.
    If there is a better way to include related tables within a query, I'm all ears!
    Thanks :)

    In digging deeper into this issue, I wanted to prove that the above script was indeed successfully executing. To do this, I added a log entry within the
    success callback of my mssql query:
    console.log("Retrieved %j SurveyAnswers for %j", results.length, email);
    When I observe the logs while my client is requesting this table data, I see entry after entry (essentially running for all eternity before forcing the app to close) the above text. Essentially, it says something like "Retrieved 257 SurveyAnswers for
    [email protected]".
    Now, as a point of clarification, I am utilizing offline synchronization via the 1.3.2 version of the WindowsAzure.MobileServices component within a Xamarin iOS app. I have no issues with any other table that I am synchronizing data from, but this is the
    only table where I'm running a dynamic mssql query instead of simply response.execute().
    My first inclination after looking at the logs was that the offline sync process automatically implements data paging. Surely this must mean that not running the response.execute() method is breaking its attempt at paging. To test this theory, I limited
    the result set to 10 rows. No dice. Still endless calls by virtue of the above log entries.
    For completion's sake, here's my sync call to this particular Read script on the SurveyAnswer table from my mobile app (was working before I switched over to the mssql call):
    await this.table.PullAsync(uniqueId, table.CreateQuery());
    Again, this same call works for all other tables just fine, as well as this table while I was still implementing a simple response.execute() within my read script on the server.
    What am I missing here? This is driving me nuts! Is there a better way to include other tables within my select query than how I'm doing it above? I figure it is possible to run a response.execute() and then in the success callback, make a separate call
    to the other table and then loop through my results, removing any that don't apply, but this seems like it would be wildly inefficient, especially if I'm dumping thousands of records.
    Thoughts? Suggestions? Please?

  • Script query

    Hi Friends,
    I wanted to know how to translate the sap script from one language to other.
    If u use the transaction SE76 then we have to enter the
    form          ZXY
    Source Language     EN
    Target Language     DE
    will u tell me after what i can do so that it will converted from EN to DE.
    I have to also translate some field which are in main window, footer window.. etc...
    so plz tell me how to do this??

    Have a look at below threads.
    Re: query in script
    Printing PDF in a different language
    Best Regards,
    Vibha Deshmukh
    *Please mark all the helpful answers

  • Used Columns in SQL script/query

    Hi,
    we really have many SQL scripts.
    Since we expect changes within the schema, we need to know the scripts which have to be reworked.
    Is there any tool available which identifies all columns refereced by a sql script (columns used in select-list, where-clause, order-by clause, ...) ?
    Axel.

    There is a function in TOAD (http://www.toadsoft.com/) Schema Browser you select the table that need to be changed then you select the tab "used by" and it will show the stored procedures that are using this TABLE (not columns). Also this option only display stored code in the database and not unnamed scripts.
    This is a script you can use:
    Select owner, object_type, object_name, object_id, status
    from sys.DBA_OBJECTS where object_id in (
    Select object_id
    from public_dependency
    connect by prior object_id = referenced_object_id
    start with referenced_object_id = (
    Select object_id from sys.DBA_OBJECTS
    where owner = 'OWNER'
    and object_name = 'TABLE_NAME'
    and object_type = 'TABLE' ))
    I hope this is useful to you.
    Message was edited by:
    Delfino N.

  • Report Script Query

    Hello,
    I have a attibute dimension which has 10 different level 0 member. I am trying to write a report script which gives me the name of the attribute rather then the name of the base dimension members that its is asociated with. So as of n
    ow when i run the report it gives me a list of all the members from base dimension to which those attributes are attached. I need to know which attribute is assigned to what member?? How can i do this via report script?
    Please advise!

    Hello Glenn-
    Thanks for ur reply here is the script:
    <SETUP <SYM <SUPSHARE <Sparse
    {NoIndentGen} { SUPFEED } {SupZeroRows } { SUPEMPTYROWS } { SupPageHeading }
    { SupBrackets  } {ROWREPEAT} { TABDELIMIT  } { decimal 0 } { SUPMISSINGROWS  }
    <END
    // Page Members
    <PAGE ("Accounts","sparse1","sparse2","Currency","Version","sparse3","HSP_Rates")
    "Net Revenue"
    "M1"
    "E1"
    "USD"
    "Final"
    "A1"
    "HSP_InputValue"
    // Column Members
    <COLUMN ("Time Periods")
    // Selection rules and output options for dimension: Time Periods
    <Link ((<LEV("", "Lev0,Time Periods")) AND ( <IDESC("YearTotal")))
    // Row Members
    <ROW ("Entity","Scenario","Years","P1")
    // Selection rules and output options for dimension: Entities
    <Link ((<LEV("", "Lev0,Entity")) AND ( <IDESC("R1")))
    "Actual"
    FY09
    <Link ((<LEV("", "Lev0,P1")) AND (<Attribute("Types")))
    // End of Report
    I want to extract the memeber of the attribute dimension "Types" the base dimension for which is P1.
    Thanks!

  • FDM Scripting Query for last imported source file using Batch Processing

    Hi Experts,
    I'm currently in the processing of automating the FDM load process on our version of FDM 9.3.3 using batch processing and the FDM Task Manager. Most of the process works fine including an email alert which notifies users of when a data load has taken place.
    As part of that email alert I am trying to attach the source file that has been loaded in batch processing. I have managed to get an attachment using the following FDM Script Object of:
    "API.MaintenanceMgr.fPartLastFile(strLoc, True, False)".
    But have noticed that using this only attaches the last "manually" imported file rather than the last file imported using the batch processing.
    My question is: Is it possible for someone to steer me into the right direction of either a more appropriate API or if I have missed a step in my script.
    Any help as always would be much appreciated.
    Cheers
    Pip

    Unfortunately the batch process does not work the same way as on-line. I am assuming you are using the normal batch load and not Multiload (although the batch is simisar).
    the batch file name gets recorded on the tBatchContents table, and moved to the import/batches folder under the folder for the current batch run. However, if successful the file gets deleted (and from memory does not get archived). To add the import file to the e-mail, after a successful load, i think you will need to store a copy of it prior to importing the file.

  • RMAN Script Query

    Hi all
    I am using 11GR2 on Windows.
    I have created a job in the job library. I am using the script as follows:
    RUN { backup incremental level 1 database;
    backup archivelog all delete input;
    allocate channel for delete type disk;
    delete noprompt obsolete device type disk;
    release channel;
    However when I try to submit and run the job it fails with an "error writing input to command". Is there something wrong with my script I can't see what it is if so.
    Thanks

    Hello,
    allocate channel for delete type disk;is not correct, you should use the same syntax as used at the beginning of your script.
    But are you sure you need to allocate manually the channel ? Most of the time, you can use automatically allocated channel, which is easier.
    Regards,
    Sylvie

  • VB script query - Splitting and rebuilding

    I have a query string which includes the following :
    Area=22&Area=25&Area=1021
    This dynamic and can include many values or 1 for the Area
    field.
    I then take this step:
    <%dim sarray
    cnt = 0
    sarray = split(request("Area"),",")
    for each Area in sarray
    tsql2 = Area
    tsql = " '"&(tsql2)&"',"
    cnt = cnt +1
    dquery = dquery & tsql
    next
    response.Write("("&dquery&")")
    %>
    This produces ( '22', ' 25', ' 1021', ).
    My problem is the trailing "," on the last value.
    Any idea how to trim so I get this :( '22', ' 25', ' 1021')
    Thanks in advance.

    Add this line between "dquery=..." and "next":
    dquery = Left(dquery, Len(dquery)-1)
    That should chop that last comma off.
    Best regards,
    Chris.

  • SAPUI5 Bootstrap Script Query For Application Cache Buster

    Hi,
    I am trying to implement Application Cache Buster. I am following Fiori Wave2 application structure.
    As Demokit says "To activate the Application Cache Buster the configuration data-sap-ui-appCacheBuster="./" must be added to the bootstrap script of the application page"
    But I don't get where to add the said configuration. I have Component.js(extends ComponentBase), Configuration.js, Main.view.xml and Main.controller.js. I am using "fioriSandboxConfig.json" to run the application.
    Any idea where to add the AppCacheBuster configuration?
    Kind regards,
    Rauf

    I think you have to add it to your index.html:
    <script src="https://sapui5.hana.ondemand.com/sdk/resources/sap-ui-core.js"
      id="sap-ui-bootstrap"
      data-sap-ui-libs="sap.m"
      data-sap-ui-theme="sap_bluecrystal"
      data-sap-ui-appCacheBuster="./">
      </script>
    Kind regards,
    Wouter

  • Help with report script query please

    Hi,
    I'm trying to write a report script with a slight calculation and would really appreciate some help.
    Ideally I want to create a report where I only get the Account and Value. I select all my members but I need a calculation on the Entity dimension. Here's what i am trying to achieve:
    (All selected members for all Entities + All selected members for all Entities in group RIA-IFRS REPORTING ADJS. ) Yes I'm duplicating the members of group RI-IFRS REPORTING ADJS.
    So account 100 for all Entities = 50
    account 100 for all Entities in RI-IFRS REPORTING ADJS. = 25
    I want to display account 100 grouped as 75 without showing a line for each entity.
    This is what I have so far but it doesn't work right:
    ROWREPEAT
    SUPCOLHEADING
    SUPCOMMAS
    SUPHEADING
    SUPBRACKETS
    SUPEMPTYROWS
    TABDELIMIT
    MISSINGTEXT "#mi"
    DECIMAL 2
    NOINDENTGEN
    <PAGE ( Years, Version, Currency, Scenario, InterCompany, "Entity", "Cost Center","Set of Books","Reporting")
    "FY10" "Current" "Currency" "Actual" "InterCompany" "Entity" "Cost Center" "AB_CON_USD" "Reporting"
    <ROW ("Account")
         <LINK(<DESCENDANTS("Total Balance Sheet Accounts","Lev0,Account"))
    { CALCULATE ROW "Entity" = "Entity" + "RI-IFRS REPORTING ADJS."})
         <COL (Period)
         "Dec"
         !

    For the benefit of anyone else looking for this answer, I figured it out.
    //To do this it's better to create 2 columns:
    <COLUMN (Period)
              Q4           
    WWL "RIA-IFRS REPORTING ADJS."
    //Then add the 2 columns up:
    CALCULATE COLUMN "Q4 Gaap" = 1 - 2
    //And order the column how you want
    ORDER 0,3,1,2
    Hope this help someone out.
    http://atmyplace.co.uk

  • Regarding Calc Script query

    HI All,
    I having requriement to copy one version to another for some of the specific months.... Do u all have any idea?

    Of course we have ideas. You would use a calc script with a fix statement to do it.
    My answer is about as long as your question because you don't give us any information to help you. Your question is very generic and you don't supply details like the dimensions in your database, what exactly you are trying to do, what is dense and sparse, etc. Given more information, perhaps a more complete answer could be given.

  • FormCalc/Script query?

    Start Time
    End Time
    Mode of Transport
    Journey Time
    HH:MM
    HH:MM
    Drop Down List
    Auto calculated on start/end times
    Total Time Traveling
    Sum of Journey Times
    Mode of Transport
    Total Time Journey Time
    Drop Down List
    I have created an interactive form which requires members of the general public to fill out a travel diary. I have got all the calculations to work except the bottom table. I'm trying to figure out which formcalc scripts to use to give a total time for each mode of transport, based on the users choice. For example, if the user want's to see how many mins they have cycled this week, they pick cycling from the drop down list on the bottom table and then in the total journey time it tells them how many mins they have cycled that week.

    Hi,
    I am all for learning and hope that this returned form helps. But a little annoyed that Managers do not "appear" be place a value on it.
    https://acrobat.com/#d=HJIBeWz3ZjvcBZjsSW-Vrw
    I have sorted out the first two pages, in how I believe it would be best to approach the problem:
    I have deleted the rows and just kept one row which is repeatable (see Object > Binding palette). This is easier to maintain, as all of the script is in one row. The row is then set to have a minimum of 10 occurrences.
    I have also included tool tips in the fields for accessibility. Local Authority and all.
    You should name objects based on their role. This makes it much easier to script against. See here: http://assure.ly/mxZO9T.
    I have inserted a page and table for the summary. I have taken an approach where all of the categories would be visible and the corresponding times. I have also includes a bar chart. You could colour each bar based on the greenness of the mode of transport.
    You need to look at the script in the summary times. This loops through the first two pages AND loops through each of the 10 rows in each of these tables.
    Looping script for anyone interested:
    // Set up some variables
    var vTime = 0;
    var currentRow;
    // Calculate a summary for car
    for (var i=3; i<5; i++) // work through the first two pages
         for (var j=0; j<10; j++) // work through the ten rows in each page
              currentRow = xfa.resolveNode("Page" + i + ".Table1.Row1[" + j + "]");
              if (currentRow.modeTransport.rawValue == "Car")
                   vTime = vTime + currentRow.journeyTime.rawValue;
    // Set summary journey time
    this.rawValue = vTime / 60;
    Hopefully your manager will see value!
    Niall

  • Samsoft VBS Script Query

    I am newbie here and am looking for help on one of the scripts on the excellent samsoft site.
    Does anyone here know anything about them?  I can't seem to get the "ReplaceTextInAlbum.vbs" to work.
    Any help gratefully rec'd.

    I have a large classical collection of box sets with album names like "Bach CW [Disc 001]: Brandenburg Concertos #1-3".  I want to change them to things like "Bach [001]: Brandenburg Concertos #1-3" so it appears in my iPod screen better.
    So, I type " CW [Disc " into the search box and "[" into the Replace box.  I have tried all sorts of combinations but it just says "16 tracks were processed of which 0 were updated"- obviously depending on how many tracks are in each album.  I just can't get it to find or replace any text.
    I also tried the script for replacing text in track titles too but no joy there either so I guess I am doing something wrong.
    I would really like to get this to work as I have over a thousand albums that I want to alter like this.
    Thanks for the very prompt reply.  Much appreciated.

Maybe you are looking for