Cfscript removing data source multiple servers

I'm looking for a cfscript that can remove data source of multiple servers. Is this possible or not?
Cheers,
Olivier

Remove multiple datasources from one server, or multiple datasources *from* multiple servers? How many servers and datasources are you talking?
You'll need the AdminAPI to remove datasources.

Similar Messages

  • Remove data source queue for datasource

    Hi,
    How to remove data source queue for datasource ?
    Regards,
    Patrick

    Depends on which datasource you are dealing with.
    Normally you can just delete the delta queue from transaction RSA7 in the source system. If you are dealing with logistic datasources it might be different.
    Hope it helps.
    BR
    Stefan

  • Select data from multiple servers(instances)

    Hi All,
    Is possible that we can login to SQLPLUS of one server and be able
    to select data from other servers. For MSSQL server we can use
    opendatasource but I don't know if in ORACLE we can
    get the data from other servers by login to SQLPLUS of one server.
    Your help is greatly appreciated.
    Thanks in advance for your response.
    JP

    Hi,
    Please try this ...
    DATA: BEGIN OF ITAB1 OCCURS 0.
            INCLUDE STRUCTURE A_TABLE.
    DATA: END OF ITAB1.
    DATA: BEGIN OF ITAB2 OCCURS 0.
            INCLUDE STRUCTURE B_TABLE.
    DATA: END OF ITAB1.
    DATA: BEGIN OF ITAB3 OCCURS 0.
            INCLUDE STRUCTURE C_TABLE.
    DATA: END OF ITAB3.
    SELECT *
    INTO TABLE ITAB1
    FROM A_TABLE
    WHERE A_ID IN S_A_ID.
    SELECT *
    INTO TABLE ITAB2
    FROM B_TABLE
    WHERE A_ID IN S_A_ID.
    SELECT *
    INTO TABLE ITAB3
    FROM C_TABLE
    WHERE A_ID IN S_A_ID.
    To download to PC or application server, please check this sample codes.
    http://www.sapdevelopment.co.uk/file/file_downloadpc.htm
    http://www.sapdevelopment.co.uk/file/file_downloadsap.htm
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • Dynamic parameters data source

    Database: Sybase ASA 9
    Crystal: Developer 11 SP4 , activex viewer
    Application: Powerbuilder 11
    I am embedding crystal reports into a powerbuilder 11 application. The crystal reports (.rpt files) are created in Crystal reports developer 11 sp4. The application programmatically change the DSN for the crystal reports to connect to the database that the customer is using. This works fine except when the report contains dynamic parameters (parameter select values from table in database to select from). The dynamic parameter(s) still references the DSN used in development as appose to the new (changed) DSN , although the rest of the report use the "new" DSN. I have spend many many hours on this and are at a lost on how to fix this ?
    Following is in short the code I use:
    FOR li_table = 1 TO iole_crx_report.database.tables.count
    // get connection properties collection for this table
    iole_crx_connection_info = iole_crx_report.database.tablesli_table.connectionproperties
    iole_crx_connection_info.DeleteAll()
    iole_crx_connection_info.add("DSN",itrx_database_info.Lock )
    iole_crx_connection_info.add("User ID",itrx_database_info.userid)
    iole_crx_connection_info.add("Password", itrx_database_info.dbpass)
    iole_crx_connection_info.add("UseDSNProperties",TRUE)
    iole_crx_connection_info.add("AllowCustomConnection", TRUE)
    NEXT
    iole_crx_Database.Verify()

    Hi Ludek,
    Thanks for the reply.
    The machine that I am testing on have an installed version of CR 11 SP4 development. I can change the report source for any report that does not have dynamic parameters. At the moment the reports that I am testing does not have subreports. It is a very simple two table report using dynamic parameters.
    Changing the datasoure programmatically with both data sources (DB servers) running on the machine eveything works fine. When I refer to the two data sources I mean the data source that was used to create the report and the datatsource that I want to change to in the application to retrieve data from.
    Does reports with dynamic parameters auto create subreports for the dynamic parameter(s) ?
    I have tested this and it does not seem so. That could have possibly explained this.
    I hope this gives you a clearer idea of what is happening?

  • Crystal Reports with Graphical Linking on Multiple Data source

    Hello
    I have a report which uses graphical linking on 6 tables/views which acts as the data source.
    4 are on HANA and 2 on a legacy system.
    Record selection filters are applied to filter data.
    Report's performance is incredibly slow on running for higher date ranges even for less than a month bringing back < 10000 records.
    Please suggest any tips to improve this.
    already tried below :
    Checked no printer option
    Removed Page N of M control
    Changed Order links to pick small tables first
    Crystal Reports 2013 connecting via ODBC to HANA and legacy
    -Jayakrishnan

    Hi Jayakrishnan,
    When you join tables from multiple datasources, CR processes the joins and any record selection criteria locally. This is what slows down the report.
    The only way to speed up performance is to have all the data atleast come from the same database or even better, creating a view that has all the required tables and joins.
    -Abhilash

  • Generic Data Source is calling multiple times in RSA3

    [color:red}<Moderator Message: This topic has alread been discussed a lot of times. Additionally there are weblogs related to it. Please search the forums and/or the blogs for this issue>
    Hi experts,
    I have the requirement to get data from Generic Data Sources with function Module,
    after finishing the FM I have checked in extact checker(RSA)
    in the internal table I_T_DATA is displays 281 records,
    but in RSA3 it shows 112560 records, I found that the FM is calling multiple time by executing one time in RSA3.
    1.what would be the problem
    2.where is the porblem is it in FM coding or any other places to check.
    <removed by moderator>
    Regards
    Vijay
    Edited by: Siegfried Szameitat on Feb 3, 2009 11:45 AM

    Hi Savita,
    I don't understand clearly from your reply regarding flow you transported and what all you transported.
    You need to first transport objects in R/3 and import them.
    Then transport Infoprovider, Datasource in BI assuming depenedent Infoare Infoobject, application component already transported.
    Then transport your Infosource, Update rule, Transfer rules, Infopackage.
    Hope you understood.
    Ravi

  • Add multiple simultaneo​us data sources to Continuous Measuremen​t and Logging Template

    I am looking at using the  Continuous Measurement and Logging sample project as a starting point for my project.  The template shows the use of a single data source at a single rate.  In my case I have multiple data sources that will arrive at different rates and need to come together and be logged to the same file with the fastest arrival dictating the log entry and the slower data would be their last values.  It is a slow data collecton process ranging from 1 second to around 10 second sample rate.  More of a monitoring application with logging than a data aquisition application. Since the waveform data type is base-t  plus delta-t and my data arrives at varying rates, my first task would be to remove the use of it and define a typedef for my data. I would use a single logging message loop, but what approach can anyone recommend for the aquisition?  I imagine separate aquisition message loop vis for each data source but what about placement?  Placing them all at the top level vs placing them within a the existing aquisition message loop vi? Any other thoughts or recommendation are appreciated.  Thanks in advance!

    if you want to sample one channel at 10/s and an other one at 1/second....  How is your file going to look like?  Does this mean that for the slower channel you just want to keep the same value for the other 9 values?
    The sampling speeds that you are talking about are really slow.  It would certainly not hurt your hardware to sample eacht channel with the same speed.  And it you really just need one sample every 10 second, you can always decimate you array of values.
    For instance :
    channel 1 : 1 point per second (sample ratio) => 10 points in 10 seconds
    Channel 2 : 1 point per 10 seconds => 10 points per 10 seconds (same sample speed) => decimate array (keep 1+/10 values) => 1 point per 10 seconds
    This is going to be the easy way, or you want to start with parallel loops running, but that's "not that simple" anymore
    Kind regards,
    - Bjorn -
    Have fun using LabVIEW... and if you like my answer, please pay me back in Kudo's
    LabVIEW 5.1 - LabVIEW 2012

  • Multiple LDAP data sources in EP7.0 SP14

    Hello,
    I am new to a site that uses portal and SSO between portal and AD LDAP. The portal version is EP7.0 SP14. The datasource is configured with 'datasourceConfiguration_ads_readonly_db_with_krb5.xml'. User path is OU=Users,OU=Finance,DC=io,DC=network and Group Path is  OU=Groups,OU=Finance,DC=io,DC=network. The flag to use the Unique ID is also set to 'samaccountname'. The problem is that we also have users in OU=Admins,OU=Finance,DC=io,DC=network and OU=Managers,OU=Finance,DC=io,DC=network in the same AD LDAP that are not visible to the portal but we would like them to be?
    It did appear to work if I changed the User Path to OU=Finance,DC=io,DC=network but I can not find any SAP document that supports doing this?
    I have seen the document 'Configure multiple LDAP data sources for the UME' with the following link https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e1959b90-0201-0010-849c-d2b1d574768b however this specifies EP6 so I'm not sure if it is still relevant?
    Also somebody did warn me with "If you change the xml file it will remove all current user mappings to the portal, all the groups mapped to roles will be lost and you will have to set them up again". Is this true?
    Am I supposed to be using the SPNego Wizard as described in SAP Note 994791?
    And possibly the following links for configuring and testing the SPNego...
    Configuring and troubleshooting SPNego -- Part 1
    Configuring and troubleshooting SPNego -- Part 2
    Any guidance towards the best approach to solve our problem would be greatly appreciated.
    Thanks,
    Dave

    Hi Dave,
    It did appear to work if I changed the User Path to OU=Finance,DC=io,DC=network but I can not find any SAP document that supports doing this?
    OK, I am not an LDAP expert, but if you just want to change your entry point in the structure, I do not see how this would be a problem. I do not know what kind of statement you would expect in the SAP documentation allowing this. Maybe this will answer your question: [Organization of Users and Groups in LDAP Directory|http://help.sap.com/saphelp_nw04s/helpdata/en/09/c5ee407552742ae10000000a155106/frameset.htm]
    I have seen the document 'Configure multiple LDAP data sources for the UME' with the following ... however this specifies EP6 so I'm not sure if it is still relevant?
    This function has not changed much since EP6, only the administration tools.
    Also somebody did warn me with "If you change the xml file it will remove all current user mappings to the portal, all the groups mapped to roles will be lost and you will have to set them up again". Is this true?
    It depends on how you change the XML file, but it does not sound like you need to do this, just the configuration of the connection to the LDAP, that is, higher in the structure.
    Am I supposed to be using the SPNego Wizard as described in SAP Note 994791?
    Only if you want to use SPNego for SSO.
    -Michael

  • MX7 multiple instance jdbc data sources

    The data sources on my single instance install of MX7
    (Solaris9, Oracle9i), using jdbc, worked just fine. In a single
    instance install, the environment variables needed for jdbc
    (ORACLE_HOME, TNS_ADMIN, etc.) go in the start script
    $CF_DIR/bin/coldfusion. I've removed the single instance and
    installed the multi-instance version of coldfusion. I've been
    unable to get it configured correctly for jdbc. (The error message
    when attempting to verify a data source is, "blah, blah, no
    suitable driver available... please check the driver setting....").
    It would appear the the same settings should go in the
    $CF_DIR/bin/jvm.config file. I've done so but this does not help.
    What file do these settings need to be put into or does
    multi-instance require a different configuration for jdbc?

    Hello,
    A data source entry is for one single database, so if you have multiple database to connect into your application you must create 1 entry per database (eg: jdbc/database1 jdbc/database2)
    If you want to manage transactions over multiple databases (2 Phases Commit) you should the distributed transaction coordinator (DTC) provided within OracleAS.
    For these 2 points (multi DB and transaction) I am inviting you to read the chapter 4-Datasources) on the "Oracle Application Server Containers for J2EE: Services Guide"
    Regards
    Tugdual Grall

  • Can we merge data from multiple sources in Hyperion Interactive Reporting ?

    Hi Experts,
    Can we merge data from multiple sources in Hyperion Interactive Reporting ?Example can we have a report based on DB2
    Oracle,
    Informix and Multidiemnsional Databases like DB2,MSOLAP,ESSBASE?
    Thanks,
    V

    Yes, Each have their own Query and have some common dimension for the Results Sections to be joined together in a final query.
    look in help for Creating Local Joins

  • Increase performance in a multiple data source report

    Post Author: ArturoFromPeru
    CA Forum: General
    Hi everybody.
    I have a big problem, when i make a report that have multiple data sources the performance decrease considerably, i still don't know the reason. Is it true that using multiple data sources is too slow?.
    I tell you a fact: I made the report connecting via "Field Definition File", and it take at least 2 minutes to show itself but it only have 170 records, and i'm very sure that the sql statements to each data source were executed very faster.
    I even heard about index, but i think they only are useful when i connect directly to the database.
    All my partner told me, that Cristal Report
    Thanks you in advance
    Regards.
    Arturo

    Post Author: ArturoFromPeru
    CA Forum: General
    Thanks you, but I explain better what i was doing.
    I've made a report called "Kardex de Producto" which show the behavior of the products according to its sales, purchases.
    The end result which is showed by the report is correct. I used three data source in the report, so links between each table is correct. The only problem i have is the performance because i still don't know why is too slow. In fact the sql statement is very heavy, but i think it doesn't matter to the report because when it takes the data from the database (connecting via Field Definition File) even if the very heavy sql statement returns twenty record Cristal Report must show itself very quickly. I don't want to believe that Cristal Report is very slow when it works with multiple data sources.
    Do you mind if i give you my report? if not please leave me your email address.
    Email: [email protected] / [email protected]
    Thank you in advance
    Regards
    Arturo

  • Report Viewer and Multiple Data Sources

    I know that it is possible to create a report in Crystal Reports using multiple data sources.  But is it possible to use just the Free  Report Viewer to view a report with Multiple Data Sources?
    Our company uses Crystal Reports XI.  I do not use the program myself, I am in the IT Department.  I have limited knowledge of Crystal and do not do any of the report writing.
    If this is possible, and if someone could help me out with what would need to be done, or point me in the right direction of a Knowledge Base or Help Topic that explains this, that would be great.
    Thanks.

    I believe it can but both data sources need to be set up. Ask a report designer to help you use the Designer to test this and see what is required.

  • Any examples of a data template using multiple data sources?

    I'm looking for an example report using multiple data sources. I've seen one where they do a master/detail but I'm just looking to combine results in sorted order (sorted across all data sources). The master/detail used a bind variable to link the two defined queries, I'm thinking what I want won't have that, so I'm lost on how to make that happen. I have reports using multiple sql queries and there is a way in the data source pulldown to tell it to combine the data sources. It appears to be a more manual process with data templates, if it's even possible.
    Any pointers/links would be appreciated.
    Gaff

    Hi Vetsrini :
    That's just it. Mine is simpler than that. There is no master/detail relationship between the two queries. I have the same exact query that I run in two databases and I want to merge the results (ordered, by, say eventTime) in one report. So I think my results are going to be two separate groups (one for each data source) which I'll have to let BI merge vis XSLT or whatever it uses. That's fine for small result sets but for larger ones, it would be nice if the database did the sorting/merging.
    Gaff

  • Removing unused data sources in Web Analysis

    I created report with charts and spreadsheets and it created its associated data source object in Web Analysis.
    But the cube associated with data sources is renamed by my admin. so old data sources are corrupted.
    How do I remove those old data source objects in WA?
    I am able to create new data sources to same report and use it, but when i open report every time, it asks me to log in to validate old data sources.
    Any suggestion is appreciated. i have goggled for this information i am out of luck. i would have export and import report if i was aware of changes to my cube.
    Thanks & Regards
    Vic.

    Hello Vic,
    -> Open the Report, switch to designer mode
    -> Double click on the report.
    -> Select the desired datasource
    -> Hit the Delete key on your keyboard
    It would ask, if it is safe to remove
    -> Click ok
    Regards,
    -Sripad

  • How do I reference multiple tables in SSAS Data Source View Named Calculation functionality?

    Hi SSASers - 
    On the Data Source View node of SSAS Visual Studio Interface, I want to create a named calculation that references multiple tables. Something like: CASE WHEN tableA.Column1 = 'Y' Then tableB.Column1 ELSE tableB.Column2 End, but the compiler throws an error
    here "Deferred prepare could not be completed". 
    What is the syntax for referencing multiple tables on this node or how else can multiple tables be used to create a calculated value in SSAS? I'm new to SSAS and so far have been building big views and building calculations this way. Another option is the
    Calculation tab off the cube node but this calculation will need to be based off of dimensions AND measures so please provide a syntax example here also. 
    Thanks in advance!
    Carl

    Thanks Jiri! The named query functionality off the Data Source View node is exactly what I was looking for - it's just a view on the SSAS side of things instead of the relational dbase.
    Sorry for the delayed answer verification - got pulled into something else last week. Carl 
    Carl

Maybe you are looking for