Data Manager Dynamic Script - Documents or Materials that help me to write

I need to configure a package to have input at run time for that I've to code in Data Manager Dynamic script editor. I'm newbie to SAP BPC, could anybody help me for getting some material on this area.
Thanks,
Saravana Prabhu

Hi, for information how to use MODIFYSCRIPT variable please refer to Data Manager help: http://help.sap.com/saphelp_bpc75/helpdata/en/f3/ebbbb6970047d598dbd63c246c8a8c/content.htm
You will need to include prompt in your package to let end users to input the variable value and then you need to pass it to logic script using *FUNCTION instruction inside.
So in the end you should have the following lines in your MODIFYSCRIPT:
PROMPT(TEXT,%INPUTVARIABLE%,"Input variable",,"")
TASK(Execute formulas,LOGICFILE,%APPPATH%\..\AdminApp\%APP%\MyLogic.lgf)
TASK(Execute formulas,FORMULASCRIPT,"*FUNCTION MYVARIABLE=%INPUTVARIABLE%")

Similar Messages

  • [ASK] How to get system date and substring / concate in data manager dynami

    Hello guys.
    I want to run package DM with the input have default value.
    The selection is look like this :
    Dimension : CATEGORY
    Source : PLAN_2011
    Destination : FORECAST_2011
    Dimension : TIME
    Source : 2011.JAN,2011.FEB,2011.MAR,2011.APR,2011.MAY,2011.JUN,2011.JUL,2011.AUG,2011.SEP,2011.OCT,2011.NOV,2011.DEC
    Destination : <same>
    How to get system date year and do the substring / concate ?
    So dimension category source will be PLAN_<YYYY>, destination = FORECAST_<YYYY>
    Dimension source = <YYYY>.JAN,<YYYY>.FEB,<YYYY>.MAR,<YYYY>.APR,<YYYY>.MAY,<YYYY>.JUN,<YYYY>.JUL,<YYYY>.AUG,<YYYY>.SEP,<YYYY>.OCT,<YYYY>.NOV,<YYYY>.DEC
    Depend on year system date.
    Thank you.

    Stuart,How are you storing OnSaleDate. If you are using OnSaleDate as an attribute dimension then you can write a Custom Defined Function to either:1- query your system for the current date and return the number of seconds that have elapsed since 1/1/1970. This is by definition the begining of the Epoch and how Essbase treats Attribute Dimensions of the Date type.public static long getDateInSeconds() {           Calendar cal = Calendar.getInstance();           return cal.getTime().getTime()/1000;}2- Write a Custom Defined Function that will accept the OnSaleDate and return the number of days sincepublic static double daysSince(double myDate) {     return (getDateInSeconds()-myDate )/86400;}

  • Project manager - role and document related to that

    Hi Guys,
    am working in MNC company, my company assigned one project me as a project manager, I need to perfom this role.
    Could you kindly help..
    what are the preliminary documents needs to be prepare before the project start.
    what are the document i have to prepare at the time of project and after the go-live
    just give me an bulled points...
    thanks in advance.
    regards
    Elangovan

    Hi Elangovan,
    Trigger new product development
    Set up project structure using templates
    Assign documents and resources
    Fulfill project related tasks and report progress
    Confirm milestones
    Project Controlling
    Trigger next activities manually or via workflow
    Process final activities, e.g. procurement.
    Close project
    and also find below link
    http://www.erpgenie.com/publications/saptips/Project%20Management%20EMconvt.pdf
    Regards,
    Srinivas Muthyala

  • How to change SSIS variables from DM Dynamic Script

    All,
    I'm using BPC 5.1 SP8 on top of SQL 2005. I have some SSIS variables defined in my SSIS transformation that I would like to change using Data Manager Dynamic Script.
    How can this be accomplished?
    Thanks
    Paulo

    The most flexible way I know, is to set up your MODIFYSCRIPT parameter similar to the following. The prompts allow the user to key in anything they want (not necessarily base-member IDs) which you can then pass to the variables in the
    PROMPT(RADIOBUTTON,%MODE%,"Select mode of operation:",,{"Door number one","Door number two"},{"DOOR_ONE","DOOR_TWO"})
    PROMPT(TEXT,%Entity%,"Select an entity",,"")
    PROMPT(TEXT,%Color%,"Select a color",,"")
    GLOBAL(DB_NAME,%APPSET%)
    GLOBAL(DB_SERVER,%SQLSERVER%)
    GLOBAL(COLOR,%Color%)
    GLOBAL(USERID,%TRIMMEDUSER%)
    GLOBAL(TRANSTYPE,%MODE%)
    GLOBAL(COMPANYCODE,%Entity%)
    Then in the DTSX package there are variables for DB_NAME, DB_SERVER, COLOR, etc. Note that these names must be ALLCAPS or things don't work. Pass them on to your connection manager (to ease the transport from one environment to another), or wherever else you need them in the package.
    I believe there's also a way to pass through the filtered, validated list of member IDs, but I don't have an example of that.

  • What is PROMPT(MESSAGE,[label]) significance in SAP BPC data manager

    Hi All,
    Do you know the significance of PROMPT(MESSAGE,[label]) of data manager dynamic script editor?
    I want to generate a message using this prompt which should be dynamically able to resolve the category in the message itself.
    For E.g. In Category dimension for property ID and member FC_CUR i need to check the property PRIOR_Forecast and retreive its member, say FC_SEP. This should be used in my message something like as depicted below:
    PROMPT(MESSAGE,"This package will archive the data for prior month %PRIOR_FCST%")
    but this command is returning
    "This package will archive the data for prior month %PRIOR_FCST%" wheras, the actual desired output is
    "This package will archive the data for prior month FC_SEP"
    Could you please help me with this or any other TASK/PROMPT/INFO that i can use to achieve this?
    Thanks,
    Abhishek

    Hi Siva,
    The desired output message is to substitute the prior forecast dynamically.
    In LGF file the code to fetch the prior forecast month is as shown below:
    *SELECT (%PRIOR_FCST%,"[FC_CAT]","CATEGORY","[ID]='FC_CUR'")
    I want to fetch this in dynamic script editor or make some variable that can be embedded within the message.
    PROMPT(MESSAGE,"This package would archive the data for prior month %PRIOR_FCST%").
    Could you please suggest any work around?
    Thanks for your help!

  • MDM data manager

    hi experts,
    i could not work with data manager, the error is prompting by telling that it cannot load the repository. can anyone will help me in solving this error.
    thanks,
    kannan.

    Hi Kannan,
    Data Manager can only connect to repositories that are loaded and running on a running MDM Server. To check this, you have to use MDM Console:
    1. Start MDM Console and mount your MDM Server. A green arrow icon before your server name indicates that your MDM Server is running. If not, start the MDM Server.
    2. You'll see a list of repositories available for this server. If your repository is not visible, you have to mount it first. You can do so by right-clicking on the server and choose the action from the context menu. If your repository is visible, login to the repository and check the repository state. Again a green arrow icon before your repository indicates that the repository is loaded. If not, load the repository! As soon as your repository is running, you can conntect to it with the Data Manager.
    BR Michael

  • FOR XML to generate dynamic script to drop multiple tables

    Log_Table has a column named Col1 where we have table names
    Col1
    TableA1
    TableA2
    TableA3
    TableB1
    TableC1
    TableC2
    Generate dynamic script to drop tables that are in Log_Table and starts with TableA.
    Instead of using the loop, use For XML

    Thanks Visakh16 [+1],
    you are right there was typo mistake :-) I forgot the variable in the end, and Thanks Naomi [+1],
    this is true and better to use quotename or just add brackets. Actually I will not choose this approach since we chould use schema as well. the DDL in the OP is not something that I will create probably.
    In any case, here is the fixed query (current approach):
    declare @SQLString NVARCHAR(MAX)
    SELECT
    @SQLString = (select
    N'IF OBJECT_ID (N''' + CAST([Col1] AS VARCHAR(MAX)) + N''') IS NOT NULL drop table [' + CAST([Col1] AS VARCHAR(MAX)) + N']; '
    FROM Log_Table
    WHERE (Col1 like 'TableA%')
    FOR XML PATH (''))
    --print @SQLString
    EXECUTE sp_executesql @SQLString
    GO
      Ronen Ariely
     [Personal Site]    [Blog]    [Facebook]

  • Problem in mapping from  import manager  to Data manager

    hi friend's....I got a problem while mapping the data from import manager  to Data manager .The problem is the data in import manager (i.e source hierarchy) will map to single filed in data manager ( i.e target hierarchy)..
    Help me it will be great full to me
    Regards
    Yugandhar

    Hi Ana,
    If you have a hierarchy in this format:
    N1            N2                 N3
    A              A1                 A11
    A              A2                 A21
    A              A3                 A31
    B              B1                 B11
    Then u have to follow these steps for import.
    1. Select source file and destination hierarchy table at top of import manager.
    2.  Go to Partitions tab (Second tab) Just above the tabs, if u click on the plus sign against your source file, you will see N1, N2 and N3. Cick on N1 and in partition tab, add N2 to right side by double clicking on N2.
    3. Now add N3 to right side by double clicking on it.
    4. Go to field mapping (Third tab). There you will see a field N1(Partition). Map this field to yourhierarchy field on destination side.
    5. In value mapping (Below the field mapping), Expand your source hierarchy. Select all (ctrl + A). Click on "Add" button. Select "Add Branch as child" option.
    6. Go to Matching tab (Fourth tab). only one field will be there. take ity on the right side. and select the import action as "Create".
    7. Go to last tab. Click on import button.
    Your hierarchy has been imported. You can check it in data manager (in hierarchy mode).
    Hope this solves your problem.
    Regards,
    Dheeraj.

  • Date management,Status Management,Action Management

    Hi experts ,
    This is Madhusudan,I have godd conseptual knowledge on Datemanagement,Status Management,Actiona Management,but I would like to know how to configure these things in CRM.
    Thanks nad regards
    Madhusudan

    Hi Madhusudan,
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/c87bb93d-0b01-0010-a0b4-b04d7fda745f">Action Management</a>
    <a href="http://help.sap.com/saphelp_crm31/helpdata/en/d4/fce93a29768802e10000000a11402f/frameset.htm">Date Management</a>
    <b>Reward points if it helps.</b>

  • Errors when creating a PDF: Failed to create a Data Manager. Please ensure that the Document Services Data Manager service is running

    When a PDF is created through the web portal BW gives the following error:
    Log ID: 00505688424200660000001000001D940005122BD8D83308
    Initial cause
    Message: Processing exception during a "Render" operation.
    Request start time: Thu Mar 26 08:20:15 CET 2015
    com.adobe.ProcessingException: Failed to create a Data Manager. Please ensure that the Document Services Data Manager service is running
    #1.5 #00505688424200690000001200001D940005122BD8D7D9B9#1427354415038#com.adobe.service.J2EEConnectionFactoryManagerPeerImpl#com.adobe/AdobeDocumentServices#com.adobe.service.J2EEConnectionFactoryManagerPeerImpl#ADSUSER#101#SAP J2EE Engine JTA Transaction : [03bffffffb7ffffffb2008ffffffe9]#P0VAPPSAPB1_BWP_3913650##5ebdcfeed38811e4ada90000003bb7b2#SAPEngine_Application_Thread[impl:3]_35##0#0#Fatal##Plain###Failed to allocate a connection due to an exception (the full stack trace is logged below): org.omg.CORBA.COMM_FAILURE: Could not connect to host and port localhost:3333, useSSL=false. There are not working dispatcher nodes.  vmcid: SUN  minor code: 2  completed: No#
    #1.5 #00505688424200690000001300001D940005122BD8D7DC9A#1427354415039#com.adobe.service.J2EEConnectionFactoryManagerPeerImpl#com.adobe/AdobeDocumentServices#com.adobe.service.J2EEConnectionFactoryManagerPeerImpl#ADSUSER#101#SAP J2EE Engine JTA Transaction : [03bffffffb7ffffffb2008ffffffe9]#P0VAPPSAPB1_BWP_3913650##5ebdcfeed38811e4ada90000003bb7b2#SAPEngine_Application_Thread[impl:3]_35##0#0#Fatal##Plain###org.omg.CORBA.COMM_FAILURE: Could not connect to host and port localhost:3333, useSSL=false. There are not working dispatcher nodes.  vmcid: SUN  minor code: 2  completed: No
    org.omg.CORBA.COMM_FAILURE: Could not connect to host and port localhost:3333, useSSL=false. There are not working dispatcher nodes.  vmcid: SUN  minor code: 2  completed: No
      at com.sap.engine.services.iiop.server.CommunicationLayerImpl.retrieveDispAndConnID(CommunicationLayerImpl.java:544)
      at com.sap.engine.services.iiop.server.CommunicationLayerImpl.getDelegate(CommunicationLayerImpl.java:608)
      at com.sap.engine.services.iiop.internal.ClientORB.getDelegate(ClientORB.java:579)
      at com.sap.engine.services.iiop.CORBA.CORBAObject.<init>(CORBAObject.java:49)
      at com.sap.engine.services.iiop.CORBA.IOR.read_object(IOR.java:111)
      at com.sap.engine.services.iiop.internal.ClientORB.string_to_object(ClientORB.java:536)
      at com.sap.engine.system.ORBProxy.string_to_object(ORBProxy.java:290)
      at com.adobe.service.J2EEConnectionFactoryManagerPeerImpl.getConnection(J2EEConnectionFactoryManagerPeerImpl.java:140)
      at com.adobe.ads.remote.ServiceLocator.lookupDataManager(Unknown Source)
      at com.adobe.ads.remote.ServiceLocator.getDataManager(Unknown Source)
      at com.adobe.ads.remote.EJB_DataManager.getDataManager(Unknown Source)
      at com.adobe.ads.remote.EJB_DataManager.<init>(Unknown Source)
      at com.adobe.ads.request.Request.getDataManager(Unknown Source)
      at com.adobe.ads.operation.Render.execute(Unknown Source)
      at com.adobe.ads.operation.ADSOperation.doWork(Unknown Source)
      at com.adobe.ads.request.Request.processOperations(Unknown Source)
      at com.adobe.ads.request.Request.process(Unknown Source)
      at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source)
      at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source)
      at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0_0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0_0.java:120)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:331)
      at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)
      at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:174)
      at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:81)
      at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:90)
      at SoapServlet.doPost(SoapServlet.java:47)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
      at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1060)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
      at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
      at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
      at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
      at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
      at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
      at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    #1.5 #00505688424200690000001500001D940005122BD8D7DDF5#1427354415039#com.adobe.AdobeDocumentServices#com.adobe/AdobeDocumentServices#com.adobe.AdobeDocumentServices#ADSUSER#101#SAP J2EE Engine JTA Transaction : [03bffffffb7ffffffb2008ffffffe9]#P0VAPPSAPB1_BWP_3913650##5ebdcfeed38811e4ada90000003bb7b2#SAPEngine_Application_Thread[impl:3]_35##0#0#Error#1#/System/Server#Plain###Exception getting DataManager reference, trying again...#
    #1.5 #00505688424200690000001700001D940005122BD8D7EF1B#1427354415044#com.adobe.service.J2EEConnectionFactoryManagerPeerImpl#com.adobe/AdobeDocumentServices#com.adobe.service.J2EEConnectionFactoryManagerPeerImpl#ADSUSER#101#SAP J2EE Engine JTA Transaction : [03bffffffb7ffffffb2008ffffffe9]#P0VAPPSAPB1_BWP_3913650##5ebdcfeed38811e4ada90000003bb7b2#SAPEngine_Application_Thread[impl:3]_35##0#0#Fatal##Plain###Failed to allocate a connection due to an exception (the full stack trace is logged below): org.omg.CORBA.COMM_FAILURE: Could not connect to host and port localhost:3333, useSSL=false. There are not working dispatcher nodes.  vmcid: SUN  minor code: 2  completed: No#
    #1.5 #00505688424200690000001800001D940005122BD8D7F204#1427354415045#com.adobe.service.J2EEConnectionFactoryManagerPeerImpl#com.adobe/AdobeDocumentServices#com.adobe.service.J2EEConnectionFactoryManagerPeerImpl#ADSUSER#101#SAP J2EE Engine JTA Transaction : [03bffffffb7ffffffb2008ffffffe9]#P0VAPPSAPB1_BWP_3913650##5ebdcfeed38811e4ada90000003bb7b2#SAPEngine_Application_Thread[impl:3]_35##0#0#Fatal##Plain###org.omg.CORBA.COMM_FAILURE: Could not connect to host and port localhost:3333, useSSL=false. There are not working dispatcher nodes.  vmcid: SUN  minor code: 2  completed: No
    org.omg.CORBA.COMM_FAILURE: Could not connect to host and port localhost:3333, useSSL=false. There are not working dispatcher nodes.  vmcid: SUN  minor code: 2  completed: No
      at com.sap.engine.services.iiop.server.CommunicationLayerImpl.retrieveDispAndConnID(CommunicationLayerImpl.java:544)
      at com.sap.engine.services.iiop.server.CommunicationLayerImpl.getDelegate(CommunicationLayerImpl.java:608)
      at com.sap.engine.services.iiop.internal.ClientORB.getDelegate(ClientORB.java:579)
      at com.sap.engine.services.iiop.CORBA.CORBAObject.<init>(CORBAObject.java:49)
      at com.sap.engine.services.iiop.CORBA.IOR.read_object(IOR.java:111)
      at com.sap.engine.services.iiop.internal.ClientORB.string_to_object(ClientORB.java:536)
      at com.sap.engine.system.ORBProxy.string_to_object(ORBProxy.java:290)
      at com.adobe.service.J2EEConnectionFactoryManagerPeerImpl.getConnection(J2EEConnectionFactoryManagerPeerImpl.java:140)
      at com.adobe.ads.remote.ServiceLocator.lookupDataManager(Unknown Source)
      at com.adobe.ads.remote.ServiceLocator.getDataManager(Unknown Source)
      at com.adobe.ads.remote.EJB_DataManager.getDataManager(Unknown Source)
      at com.adobe.ads.remote.EJB_DataManager.<init>(Unknown Source)
      at com.adobe.ads.request.Request.getDataManager(Unknown Source)
      at com.adobe.ads.operation.Render.execute(Unknown Source)
      at com.adobe.ads.operation.ADSOperation.doWork(Unknown Source)
      at com.adobe.ads.request.Request.processOperations(Unknown Source)
      at com.adobe.ads.request.Request.process(Unknown Source)
      at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source)
      at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source)
      at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0_0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0_0.java:120)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:331)
      at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)
      at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:174)
      at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:81)
      at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:90)
      at SoapServlet.doPost(SoapServlet.java:47)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
      at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1060)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
      at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
      at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
      at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
      at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
      at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
      at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    #1.5 #00505688424200690000001900001D940005122BD8D7F530#1427354415045#com.adobe.AdobeDocumentServices#com.adobe/AdobeDocumentServices#com.adobe.AdobeDocumentServices#ADSUSER#101#SAP J2EE Engine JTA Transaction : [03bffffffb7ffffffb2008ffffffe9]#P0VAPPSAPB1_BWP_3913650##5ebdcfeed38811e4ada90000003bb7b2#SAPEngine_Application_Thread[impl:3]_35##0#0#Fatal##Plain###Fatal exception on second attempt at getting DataManager reference
    com.adobe.ProcessingException: CORBA system exception instantiating a DataManager from the ConnectionFactory
      at com.adobe.ads.remote.ServiceLocator.lookupDataManager(Unknown Source)
      at com.adobe.ads.remote.ServiceLocator.getDataManager(Unknown Source)
      at com.adobe.ads.remote.EJB_DataManager.getDataManager(Unknown Source)
      at com.adobe.ads.remote.EJB_DataManager.<init>(Unknown Source)
      at com.adobe.ads.request.Request.getDataManager(Unknown Source)
      at com.adobe.ads.operation.Render.execute(Unknown Source)
      at com.adobe.ads.operation.ADSOperation.doWork(Unknown Source)
      at com.adobe.ads.request.Request.processOperations(Unknown Source)
      at com.adobe.ads.request.Request.process(Unknown Source)
      at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source)
      at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source)
      at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0_0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0_0.java:120)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:331)
      at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)
      at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:174)
      at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:81)
      at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:90)
      at SoapServlet.doPost(SoapServlet.java:47)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
      at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1060)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
      at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
      at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
      at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
      at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
      at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
      at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    Caused by: org.omg.CORBA.COMM_FAILURE: Could not connect to host and port localhost:3333, useSSL=false. There are not working dispatcher nodes.  vmcid: SUN  minor code: 2  completed: No
      at com.sap.engine.services.iiop.server.CommunicationLayerImpl.retrieveDispAndConnID(CommunicationLayerImpl.java:544)
      at com.sap.engine.services.iiop.server.CommunicationLayerImpl.getDelegate(CommunicationLayerImpl.java:608)
      at com.sap.engine.services.iiop.internal.ClientORB.getDelegate(ClientORB.java:579)
      at com.sap.engine.services.iiop.CORBA.CORBAObject.<init>(CORBAObject.java:49)
      at com.sap.engine.services.iiop.CORBA.IOR.read_object(IOR.java:111)
      at com.sap.engine.services.iiop.internal.ClientORB.string_to_object(ClientORB.java:536)
      at com.sap.engine.system.ORBProxy.string_to_object(ORBProxy.java:290)
      at com.adobe.service.J2EEConnectionFactoryManagerPeerImpl.getConnection(J2EEConnectionFactoryManagerPeerImpl.java:140)
      ... 37 more
    #1.5 #00505688424200690000001B00001D940005122BD8D7F9BB#1427354415047#com.adobe.ads.request.Request#com.adobe/AdobeDocumentServices#com.adobe.ads.request.Request#ADSUSER#101#SAP J2EE Engine JTA Transaction : [03bffffffb7ffffffb2008ffffffe9]#P0VAPPSAPB1_BWP_3913650##5ebdcfeed38811e4ada90000003bb7b2#SAPEngine_Application_Thread[impl:3]_35##0#0#Error#1#/System/Server#Plain###Processing exception during a "Render" operation.
    Request start time: Thu Mar 26 08:20:15 CET 2015
    com.adobe.ProcessingException: Failed to create a Data Manager. Please ensure that the Document Services Data Manager service is running
    Exception Stack Trace:
    com.adobe.ProcessingException: Failed to create a Data Manager. Please ensure that the Document Services Data Manager service is running
      at com.adobe.ads.operation.Render.execute(Unknown Source)
      at com.adobe.ads.operation.ADSOperation.doWork(Unknown Source)
      at com.adobe.ads.request.Request.processOperations(Unknown Source)
      at com.adobe.ads.request.Request.process(Unknown Source)
      at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source)
      at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source)
      at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0_0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0_0.java:120)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:331)
      at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)
      at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:174)
      at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:81)
      at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:90)
      at SoapServlet.doPost(SoapServlet.java:47)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
      at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1060)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
      at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
      at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
      at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
      at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
      at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
      at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    #1.5 #00505688424200660000000700001D940005122BD8D80DDF#1427354415052#com.sap.tc.webdynpro.pdfobject.core.PDFObject#sap.com/irj#com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall#NGS_MM77#100##n/a##5ebdcfeed38811e4ada90000003bb7b2#SAPEngine_Application_Thread[impl:3]_2##0#0#Error#1#/System/UserInterface#Plain###Result(0): Error_Level is: 2#
    #1.5 #00505688424200660000000900001D940005122BD8D80EA3#1427354415052#com.sap.tc.webdynpro.pdfobject.core.PDFObject#sap.com/irj#com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall#NGS_MM77#100##n/a##5ebdcfeed38811e4ada90000003bb7b2#SAPEngine_Application_Thread[impl:3]_2##0#0#Error#1#/System/UserInterface#Plain###Result(1): Results is: Processing exception during a "Render" operation.
    Request start time: Thu Mar 26 08:20:15 CET 2015
    com.adobe.ProcessingException: Failed to create a Data Manager. Please ensure that the Document Services Data Manager service is running
    Exception Stack Trace:
    com.adobe.ProcessingException: Failed to create a Data Manager. Please ensure that the Document Services Data Manager service is running
      at com.adobe.ads.operation.Render.execute(Unknown Source)
      at com.adobe.ads.operation.ADSOperation.doWork(Unknown Source)
      at com.adobe.ads.request.Request.processOperations(Unknown Source)
      at com.adobe.ads.request.Request.process(Unknown Source)
      at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source)
      at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source)
      at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0_0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0_0.java:120)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:331)
      at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)
      at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:174)
      at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:81)
      at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:90)
      at SoapServlet.doPost(SoapServlet.java:47)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
      at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1060)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
      at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
      at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
      at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
      at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
      at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
      at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    #1.5 #00505688424200660000000B00001D940005122BD8D80FBD#1427354415052#com.sap.tc.webdynpro.pdfobject.core.PDFObject#sap.com/irj#com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall#NGS_MM77#100##n/a##5ebdcfeed38811e4ada90000003bb7b2#SAPEngine_Application_Thread[impl:3]_2##0#0#Error#1#/System/UserInterface#Plain###Result(2): VersionInfo is: 800.20120718063822.876753#
    #1.5 #00505688424200660000000D00001D940005122BD8D81033#1427354415052#com.sap.tc.webdynpro.pdfobject.core.PDFObject#sap.com/irj#com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall#NGS_MM77#100##n/a##5ebdcfeed38811e4ada90000003bb7b2#SAPEngine_Application_Thread[impl:3]_2##0#0#Error#1#/System/UserInterface#Plain###Result(3): TraceString is:    Begin operation: Render, elapsed time = 7488 ms.
             com.adobe.ProcessingException: Failed to create a Data Manager. Please ensure that the Document Services Data Manager service is running
       End operation: Render, elapsed time = 7501 ms.
    #1.5 #00505688424200660000000E00001D940005122BD8D81FB2#1427354415056#com.sap.ip.bi.export.xfa.impl.PDFConverter#sap.com/irj#com.sap.ip.bi.export.xfa.impl.PDFConverter#NGS_MM77#100##n/a##5ebdcfeed38811e4ada90000003bb7b2#SAPEngine_Application_Thread[impl:3]_2##0#0#Error##Plain###EXPORT XFA calcTemplate=Processing exception during a "Render" operation.
    Request start time: Thu Mar 26 08:20:15 CET 2015
    com.adobe.ProcessingException: Failed to create a Data Manager. Please ensure that the Document Services Data Manager service is running
    Exception Stack Trace:
    com.adobe.ProcessingException: Failed to create a Data Manager. Please ensure that the Document Services Data Manager service is running
      at com.adobe.ads.operation.Render.execute(Unknown Source)
      at com.adobe.ads.operation.ADSOperation.doWork(Unknown Source)
      at com.adobe.ads.request.Request.processOperations(Unknown Source)
      at com.adobe.ads.request.Request.process(Unknown Source)
      at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source)
      at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source)
      at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0_0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0_0.java:120)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:331)
      at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)
      at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:174)
      at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:81)
      at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:90)
      at SoapServlet.doPost(SoapServlet.java:47)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
      at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1060)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
      at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
      at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
      at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
      at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
      at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
      at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)

    Thanks Sandy,
    I have already solved the problem , I  have done the following actions:
    1. Stop J2EE engine
    2. rename folder
         /usr/sap/<SID>/<Instance>/j2ee/os_libs/adssap
         Please rename this adssap folder to adssap.old
    3. Start J2EE engine
       During starting J2EE engine, folder adssap will be re-generated.
    4. Also make sure XMLform.exe is extracted under
        /usr/sap/<SID>/<Instance>/j2ee/os_libs/adssap/XMLFormService/bin
    I restarted the entire instance (ABAP  and JAVA) and now all is running fine.

  • How do I enable Data Management if Passing an extra variable to PHP script?

    Im trying to use dynamic SQL tables on my PHP server so I need to pass the table name to the PHP script.  I don't understand why the Data Management system that sets up CRUD won't allow this extra parameter.  It says it can only have one input: item. I can get all records, but when I try to create, update, or delete I get an error.
    Or is there another way I can pass the tablename variable to the php file before I call any functions?
    Thanks!

    I use it but does not work for me.
    It does not integrates.
    You can tag on url value pairs onto your php function call such as:
    http://www.yourpath.php?tablename=tablenamesears
    You can then extract tablename, by using get in your php script:
    $tn = $_GET['tablename'];
    This $tn can be used anywhere in your php script as a dynamic value for table targeting.
    You can pass as many value pairs as you wish, every preceding pair must be in the form:
    http://www.yourpath.php?tablename=tablename&action=update&author=admin
    Hope it helps

  • How to remove the date extensions from a filename in SSIS Flat File Connection Manager dynamically at run time

    Hello,
    I have to load data from a csv file to SQL Database. The file is placed into a directory by another program but the file name being same, has different extensions based on time of the day that it is placed in the directory. Since I know the file name
    ahead of time, so, I want to strip off the date/time extension from the file name so that I can load the file using Flat File Connection Manager. I am trying to use 'variable' and 'expression editor' so that I can specify the file name dynamically. But I
    don't know how to write it correctly. I have a variable 'FileLocation' that holds the folder location where the file will be placed. The file for example:  MyFileName201410231230  (MyFileName always the same, but the date/time will be different)
    Thanks,
    jkrish

    I don't want to use ForEach Loop because the files are placed by a FTP process 3 times a day at a specific time, for ex. at 10 AM, 12 PM and 3 PM. These times are pretty much fixed. The file name is same but the extension will have this day time stamp. I
    have to load each file only once for a particular reason, meaning I don't want to load the ones I already loaded. I am planning on setting up the SSIS process to load at 10:05, 12:05 and 3:05 daily. The files will be piling up in the folder. As it comes,
    I load them. At some point in time, I can remove the old ones so that they won't take up space in the server.  In fact, I don't have to keep the old ones at all since they are saved in a different folder anyways. I can ask the FTP process to
    remove the previous one when the new one arrives. So, at any point in time, there will be one file, but that file will have different extensions every time.
    I am thinking of removing the extensions before I load every time. If the file name is 'MyFileNamexxxxxxx.csv', then I want to change it to 'MyFileName.csv' and load it.
    Thanks,
    jkrish
    You WILL need to use it eventually because you need to iterate over each file.
    Renaming is unnecessary as one way or another you will need to put a processed file away.
    And having the file with the original extension intact will also help you troubleshoot.
    Arthur
    MyBlog
    Twitter

  • Dynamically read data from a txt document

    I try to dynamically read data from a txt document
    in swf
    stop ();
    var pafh=this;
    import flash.events.*;
    var Araray_id:Array =new Array();
    var v_length:Number;
    var myTextLoader:URLLoader = new URLLoader();
    myTextLoader.dataFormat=URLLoaderDataFormat.VARIABLES;
    myTextLoader.addEventListener(Event.COMPLETE, onLoaded);
    function onLoaded(e:Event):void {
            Araray_id = e.target.data.araray_id.split(",");
            trace("Araray_id: "+Araray_id);
            v_length=Araray_id.length;
            trace("v_length: "+v_length);
            for (var i:Number=0;i<v_length;i++){
                pafh["Id_"+i]=new Array();
                trace("pafh[Id_+i]: "+pafh["Id_"+i]);
                var v_help:Object="id_"+i;
                trace("v_help: "+v_help);
                //pafh["Id_"+i]= e.target.data.v_help.split(",");????? Here stops the script
                //pafh["Id_"+i]= e.target.data.(v_help).split(",");????Here stops the script
                //pafh["Id_"+i]= e.target.data.[v_help].split(","); ????Here stops the script
            play();
    myTextLoader.load(new URLRequest("myText1.txt"));
    in text
    araray_id=aa,bb,cc,dd,ee,ff
    &id_0=aa1,aa2,aa3,aa4
    &id_1=bb1,bb2,bb3,bb4,bb5
    &id_2=cc1,cc2,cc3
    &id_3=dd1,dd2,dd3,dd4,dd5,dd6
    &id_4=ee1,ee2
    &id_5=ff1,ff2
    output
    Araray_id: aa,bb,cc,dd,ee,ff
    v_length: 6
    pafh[Id_+i]:
    v_help: id_0
    TypeError: Error #1010: A term is undefined and has no properties.
        at skuskaceatarraybiforas3fromtext_fla::MainTimeline/onLoaded()
        at flash.events::EventDispatcher/dispatchEventFunction()
        at flash.events::EventDispatcher/dispatchEvent()
        at flash.net::URLLoader/onComplete()
    Can you help me with this problem

    More suggestions.
    1. If you align naming conventions between data and your application - reading data could be practically a one-liner.
    If you write pafh["id_" + i] (with small case i) instead of pafh["Id_" + i] (with capital case I) the function can be just:
    function onLoaded(e:Event):void
              for (var prop:String in e.target.data)
                        pafh[prop] = e.target.data[prop].split(",");
              play();
    2. If changing conventions is not feasible, here is another thing you can do:
    function onLoaded(e:Event):void
              for (var prop:String in e.target.data)
                        pafh[prop.replace(/^\w/, String(prop.match(/^\w/)).toUpperCase())] = e.target.data[prop].split(",");
              play();

  • Script to Stop and Start Oracle Meter Data Management

    Hi,
    This is my first post in Oracle forums so if i open this in the wrong thread please forgive me.
    I tried to create a windows batch script to stop and start Oracle Meter Data Management but i can´t.
    @echo off
    D:\spl\MDMDEV\bin\splenviron.cmd -e MDMDEV
    D:\spl\MDMDEV\bin\spl.cmd stop
    D:\spl\MDMDEV\bin\splenviron.cmd -e MDMDEV
    D:\spl\MDMDEV\bin\spl.cmd stop
    The batch exits in the first command and i can´t understand why.
    Another thing is if i use spl.cmd stop command it doesn´t do nothing, is this normal?
    Thanks in advanced for all replies.
    Best Regards.
    Nuno

    I had to put a call command in mine. I think it is because you are trying to run a .cmd file within your bat file. You're actually changing shells. Thats why you need the call.
    call d:\spl\mdmdev\bin\splenviron.cmd -e mdmdev
    call d:\spl\mdmdev\bin\spl.cmd start
    I actually set mine up to use variables so all I had to change from script to script was the environment...
    <snip>
    SET SPLENV=MDMDEV
    SET INSTALLDRIVE=D:
    SET INSTALLDIR=SPL
    SET BINDIR=%INSTALLDRIVE%\%INSTALLDIR%\%SPLENV%\bin
    %INSTALLDRIVE%
    cd %BINDIR%
    REM Set envornment
    call %BINDIR%\splenviron.cmd -e %SPLENV%
    REM Wait a few seconds for environment to setup
    ping localhost -n 5 > nul
    REM Start SPL Web
    call %BINDIR%\spl.cmd start
    </snip>
    I was unable to find a way to get this to run as a service. Have you?
    I'm currently running these scripts in the startup/shutdown script section of the local machine policy (gpedit.msc).

  • Execute script logic using data manager

    Hi all,
    Could anyone explain me how to run a script logic using the data manager?
    The only way I get it working is adding the script logic into the defaul.lgl file and running the default formulas package via data manager.
    How can I run an specific script logic without using the default.lgf file?
    Thanks and regards,
    Ana

    HI Ana,
    You will have to create a SSIS package that will run the logic for you. A good example of this is the ICELIM package that comes standard with AppShell. The easiest is way for me is to copy the package and renaming it to what you want to call it in the following folder: C:\BPC\Data\Webfolders\<AppSet>\<Application>\DataManager\PackageFiles\System Files
    You will then have to organize the package list and add the package and modify the advanced properties of the package and point it to the correct logic file. I always use the lgf file rather than the lgx file, but it is up to you.
    Lemme know if you need more info.
    Regards,
    Andries

Maybe you are looking for