How to execute Script logic file

Hi,
I want to execute a "stand alone" scipt logic file only once. Simply spoken, the script should write some members from application A to application B (I would set the scope for the members that are concerned in the script itself) once. Is there a way to do this? If possible, I would like to get around customizing the DTS packages or use them in a simple way (e.g. can I simply say sth like package==mylogicfile.lgf), without learning all the DTS syntax...

Hi,
There isn't much syntax to learn to get it to run really. Just copy the ICElim package and replace the ICElim.lgx with your own lgf/lgx file.
And if you are only going to do this once, why don't you just write a piece of SQL to do the copy across?
Regards,
Andires

Similar Messages

  • How to run stored procedure IC Data / to define according script logic file

    We want to execute the stored procedure IC Data before the IC Booking. Could anybody tell me, how we have to define the script logic file in detail?
    We try it with this code (that runs without any error, but 0 rows are calculated, 0 rows are updated)
    *Run_stored_procedure=spicdata('%App%','%C_Category_Set%','%time_set%','','%entity_set%','','','Input','I','%logtable%','%scopetable%')
    *commit
    We also had tried with this code:
    *Run_stored_procedure=spicdata('%App%','%C_Category_Set%','%time_set%','','%entity_set%','','','','','%logtable%','%scopetable%')
    *commit

    step 1.
    Create a store procedure in back end.
    step2.
    Create a ssis package to execute the store procdure.
    step3.
    call this ssis pacakge in the data manager package and run the package.

  • APEX: How to execute Script file from APEX

    Hello All,
    Can anyone tell me how to execute script file from APEX?(Step by Step process)
    Thanks & Regards,
    Jiten Pansara

    http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21677/sql_rep.htm#AEUTL193
    Regards,

  • Greater Than Function in Script Logic File

    BPC Experts,
    I've got a pretty simple script logic file to calculate salary amounts, overtime, etc.  The purpose of this logic is for forecasting.  I have two referenced dimensions, TIME and SCENARIO, where TIME.MONTHNUM is equal to its relative month number (eg: Jan monthnum = 1), and SCENARIO.CURRMONTH is equal to the relative amount of actual months data, (eg Jan currmonth = 0, Feb = 1) because if you are completing a February forecast, you have one month of actual.
    The ACTUAL scenario is never touched, but after a month closes, we copy the ACTUAL data to, for example, FEB_FCST.  So, after January closes, its actuals are copied to the FEB_FCST scenario so we can complete an actual/forecast (one month actual, 11 months forecast).
    Currently, the default logic skips anything in the ACTUAL scenario, by stating "*WHEN SCENARIO, *IS <> "ACTUAL" yada yada yada.
    However, when the default logic runs on the forecast scenarios, it takes the same inputs from the months that are copied over from the ACTUAL scenario and adds to the original amount, essentially doubling the value--ultimately causing an incorrect actuals number in the forecast scenario.
    My script right now looks like this:
    *XDIM_MEMBERSET DATASRC=INPUT
    *XDIM_MEMBERSET PRODUCT=NO_PRODUCT
    *XDIM_MEMBERSET SHIFT=NO_SHIFTS
    *XDIM_MEMBERSET MEASURES=PERIODIC
    *WHEN SCENARIO
    *IS <> "ACTUAL"
         *WHEN TIME.MONTHNUM
         *IS > SCENARIO.CURRENTMNTH
              *WHEN ACCOUNT
              *IS "SALARIED_MANPOWER"
                   *REC(EXPRESSION=((([ACCOUNT].[SALARIED_AVG_WAGE] * (1 + [ACCOUNT].[SALARY_TIMEAHALF]))* [ACCOUNT].[SALARIED_MANPOWER])),ACCOUNT="01100")
              *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *COMMIT
    When it hits line 9 (*IS > SCENARIO.CURRENTMNTH) during validation, it errors.  How can I use a "greater than" function to dictate whether or not a given scenario should run default logic on a specific month?
    If not, is there a different/better way to do it?
    Thank you!
    ABF

    Hi Alex
    Take this sample logic, check the properties in your Time dimension to trouble shoot your issue.
    *SELECT(%CAT_VAR%, "ID", CATEGORY, ID= PLAN_APRIL)
    *XDIM_MEMBERSET CATEGORY = ACTUAL, PLAN, %CAT_VAR%
    *SELECT(%CATMTH%, "STARTMTH", CATEGORY, ID= %CAT_VAR%)
    *SELECT(%ACT_PERIOD%, "ID", TIME, MONTHNUM < %CATMTH% AND  LEVEL = MONTH AND YEAR = 2010)
    *SELECT(%PLAN_PERIOD%, "ID", TIME, MONTHNUM >= %CATMTH% AND LEVEL = MONTH AND YEAR = 2010)
    *XDIM_MEMBERSET TIME= %ACT_PERIOD%
    *XDIM_MEMBERSET CATEGORY=ACTUAL
    *WHEN CATEGORY
    *IS ACTUAL
    *REC(EXPRESSION=%VALUE%, CATEGORY = %CAT_VAR%)
    *ENDWHEN
    *XDIM_MEMBERSET TIME= %PLAN_PERIOD%
    *XDIM_MEMBERSET CATEGORY=PLAN
    *WHEN CATEGORY
    *IS PLAN
    *REC(EXPRESSION=%VALUE%, CATEGORY = %CAT_VAR%)
    *ENDWHEN
    Thanks

  • How to execute a  .sql file from a batch file

    Hi all
    I've to take backup of a database weekly twice on every wednesday & Friday @ 5pm IST. I've written a hot backup script, which works every well.
    now i want to automate the script. ie i want this script to run on wednesday & friday @ 5pm without any human interfearance ie with out actually any1 executing this script.
    i created a batch file prod.bak with the following lines
    @echo off
    set oracle_sid=testdb
    set oracle_home=d:\oracle\ora92
    sqlplus /nolog
    connect sys as sysdba/oracletest@testdb
    this batch file when eexecuted connects me to sql prompt.
    Now i want to execute my backup script bkp.sql automatically when it is connected to sql prompt.
    (i tried with these lines in the above batch file...
    call bkp.sql---it just opens the bkp.sql file in notepad & displays the script
    start bkp.sql---same as call
    connect / as sysdba/pwd@[email protected] --- does not work simply remains a the sql prompt.
    At 17:00 /Every:w,f "d:\bkp.sql"---does not work simply remains at the sql promt.)
    Can any1 let me know what should i write in the batch file that will execute the bkp.sql file automatically after it gets connected to sql prompt. M using oracle 9i.
    I'll manage he time through windows utility of scheduling task.. Let me know how to execute the .sql file from a batch file.
    Thanks
    Tripti

    Try
    sqlplus "sys/oracletest as sysdba" @bpk.sql
    Working locally, and having set the ORACLE_SID, you don't need to specify the SqlNet alias (@testdb).
    Remember to put an exit at the end of the bpk.sql script.

  • How to execute a jar file which has an applet, without using a html file ?

    I have a jar file which contains a set of class files. iam able to execute the jar file by using this html code
    <html>
    <applet code="file.class" archive="file.jar" width="500" height="300">
    <param name="name" value="value">
    </applet>
    </html>
    I want to know how to execute this class file without using the html tags.
    pls help me out in this.
    Anki

    Hi,
    You can make an executable jar file such that when you double click on that it starts running. Just follow the steps.
    1. Open a notepad and write the following
    Main-Class: XXXXXXXX
    XXXXXXX means Your Main Class name. Don't forget to press Enter after you write your class name.
    2. Save the file as Mani.mf
    3. In the commant prompt ( your directory ) type following lines.
    jar cmf Mani.mf Demo.jar *.*
    4. This will make a jar file which is executable jar file
    Hope this will help you.
    Deepak

  • How to execute a .exe file in java(Jsp) without using a process ???

    Hi All ,
    How to execute a .exe file in Jsp without using a process ??? ...
    Is it Possiable ????

    itsdhanasaraa wrote:
    But as this a web application ... By using Runtime i'm getting some probs ..
    Let me guess, you want your web application to run a program on the client and to your surprise that's not working?
    Ain't gonna happen.
    its taking more time to execute .... that's y is there any other option to execute .exe file other than Runtime.getRuntime().exec("filename");Write proper English and you may be taken more seriously.
    1) it's not "taking more time to execute", whatever that's supposed to mean.
    2) there's no other way to execute something. Not that you should every use even that way anyway
    3) whenever you start thinking of executing external programs from Java, start thinking of not using Java in the first place.

  • How to create a logical file

    Hi,
    Please help me, i just want to know how to create a logical file and wht is the procedure to assign a physical file to the created logical file.

    Hi Abdul,
    Here is the process to create Logical File Path.
    1)Go to tcode FILE.
    2) Click on Logical File Path Definition. Give name "ZTEST" and some description.
    3) Click on Assignment of Physical Path to Logical Path. and provide Syntax Group and physical path.
    4) Click on Logical File Name Definition and give descrition, physical filename, Data format as ASC, Application area and logical path which you have created.
    Please check this links.
    Using Logical Files in ABAP Programs
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db95e635c111d1829f0000e829fbfe/content.htm
    Creating and Defining Logical Filenames
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3df8358411d1829f0000e829fbfe/content.htm
    Regards,
    Priyanka.

  • How to execute a batch file on different remote server using TFS Build

    I have a build server and have 2 web servers. I am deploying using TFS Builds. Now, I have a requirement to execute a batch file which is kept on these 2 web servers. i.e. C:\MyBatch\CreateMe.bat
    After my build is successful, I need to execute this batch from the build server.
    Note, I cannot make any shared folder.

    Hi Sameer, 
    Thanks for your post.
    What’s the version of your TFS?
    How do you deploy solution using TFS Build, run MSBuild deploy command or using Release Management?
    That C:\MyBatch\CreateMe.bat file stay on your two web server machines separately? 
    If you want execute this bat file on your two web server machines separately using build process template, you need configure your web server machine as build agent, then add the InvokeProcess activity in build process template to run the bat file on build
    agent machine after build, please refer to Hari’s answer reply in this post:
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/b8bcb19f-1296-441c-8356-e701b949445a/tfs-2010-how-to-execute-a-batch-file-after-build?forum=tfsbuild.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • SOMEBODY AWNSER PLEASE....(HOW TO EXECUTE/RUN XML FILES IN WLS6?)

    Hi all,
    Please help me out on my XML question as my Cocoon is no longer working.
    The question is titled HOW TO EXECUTE/RUN XML FILES IN WLS6.
    Thanks in advance.
    snodx

    look at the samples bea\wlserver6.0sp1\samples\examples\xml
    ~
    Namaste - I bow to the divine in you
    ~
    Filip Hanik
    Software Architect
    [email protected]
    www.filip.net
    "snodx" <[email protected]> wrote in message
    news:3b4e83dd$[email protected]..
    >
    Hi all,
    Please help me out on my XML question as my Cocoon is no longerworking.
    >
    The question is titled HOW TO EXECUTE/RUN XML FILES IN WLS6.
    Thanks in advance.
    snodx

  • How to execute SQOOP.cmd file from SSIS execute process task?

    How to execute SQOOP.cmd file from SSIS execute process task?
    What is argument need to be prefixed in the arguments property
    Executable: C:\Hadoop\sqoop-1.4.2\bin\sqoop.cmd
    Arguments: /C "sqoop import -connect "jdbc:sqlserver://mysystem:1433;database=test;username=myuser;password=mypwd;" -table emp  -target-dir /user/emptable -m 1"
    Thanks
    Durga

    Hi Durga,
    SQOOP.cmd must be no different than any other .cmd/.bat I assume, your question is more about setting the parameters up I guessed.
    So unless the arguments change dynamically you can call SQOOP.cmd from yet another .cmd that has its parameters passed to it and the former you simply set to run without the arguments in Execute Process Task.
    Otherwise, in general to set a bat/cmd file to run in SSIS one needs to do this:
    PS: It is a good idea to populate the working directory with the path to the .cmd
    Arthur My Blog

  • Test script logic file - Errror "Invalid Dimension Account"

    Hi BPC Experts,
    I am a new bee in BPC and have developed HCM applicaton in BPC 5.1. The Appset contains Finance, Rate & HCM applications.
    I am working on HCM and wants to write a script logic file for HCM and it is giving an ERROR "Invalid Dimensin Account".
    I have following dimensions in HCM Application:
    account_hc --> type A
    category_hc --> type C
    company_hc --> type E
    time_hc       -->  time t
    costcenter_hc --> type u
    datasrc_hc      --> type d
    employerole_hc --> type u
    geography_hc --> type u
    rptcurrency_hc --> type r.
    I had defined Dimensions in system_cnstants file as mentioned below.
    // application constants
    *FUNCTION CATEGORYDIM         =CATEGORY_HC
    *FUNCTION TIMEDIM  =TIME_HC
    *FUNCTION CURRENCYDIM  =RPTCURRENCY_HC
    *FUNCTION ENTITYDIM  =COMPANY_HC
    *FUNCTION ACCOUNTDIM  =ACCOUNT_HC
    *FUNCTION INTCODIM  =INTCO
    *FUNCTION CATEGORYDIM         =CATEGORY
    *FUNCTION TIMEDIM  =TIME
    *FUNCTION CURRENCYDIM  =RPTCURRENCY
    *FUNCTION ENTITYDIM  =ENTITY
    *FUNCTION ACCOUNTDIM  =ACCOUNT
    // This part is needed when a RATE cube
    // is associated to the application
    // (FX = single or multi currency)
    *FUNCTION THISAPP  =HCM
    *FUNCTION RATEAPP  =RATE
    *FUNCTION RATEENTITYDIM =RATESRC
    *FUNCTION RATEACCOUNTDIM =RATE
    *FUNCTION INPUTCURRENCYDIM =INPUTCURRENCY
    *FUNCTION RATEENTITYMBR =RATEINPUT
    *FUNCTION RATESRCCALCMBR =RATECALC
    *FUNCTION AVGRATEID=AVG
    *FUNCTION ENDRATEID=END
    I tried to validate and save standard default script logic. But it gives me an error " NO match defined for lookup dimension Category"
    So I could not use default logic file to write my script logic. Hence I have created HCM logic file. and Given the following script logic.
    *XDIM_MEMBERSET  ACCOUNT = XYZ_INC_RetPlan
    *WHEN ACCOUNT
    *IS  XYZ_INC_RetPlan
    *REC(FACTOR = 1.1, ACCOUNT)
    *ENDWHEN
    *COMMIT
    While validat & save, I get an error "Invalid Dimension Account".
    I do not understand why these errors occuring.
    I have checked Category & Account dimensions checked. Every thing is ok. I have created Input schedules and they are working ok. It means the dimensions are fine.
    Then why the error ?
    Can you guys please guide me.
    Appreciate your kind help.

    Eswara,
      try  to  close  down  BPC  for  ExCEl  in  case  your  IS/Reports  are  trying  to  access  the  APPlication.And  also  any  other  BPC  ADmin screens  accessing  the  same  Application/Dimension.
    1)try to  only  do  a  "process "  on the  account  dimension without  including  the  processing for Applications...
    2)then  try  to  do a  process  on the  application.
    Now  your  script  should  be  able  to recognize  Account  dimension  and  validate  fine..
    hope  this  helps...

  • How to execute the logical database.

    how to execute the logical database.

    There are two ways of using a logical database - either by linking it with the executable program(specify the LDB name in the program attributes) or by using the function module LDB_PROCESS.
    1.Data read by the logical database is passed back to the program using the interface work areas.Use GET statements in the report.
    GET events are implemented internally as FORM routines.
    2.If you call the logical database using the above function module, the selection screen of LDB is not displayed.It uses special subroutines called callback routines, which are called by the function module and filled with the required data.
    Please refer the following link for more details.
    http://help.sap.com/saphelp_nw70/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/frameset.htm

  • How to execute a .cmd file in Solaris server

    Hi all , How to execute a .cmd file in Solaris server.
    Thanks.

    Basically you should have the execution flag associated to this cmd file. Check first if this file is builded for Solaris and then you can add the "x" flag to the file permissions.
    You can too run it like this, but you should also check if this file is Solaris compatible : # sh <path/cmd file>

  • How to execute one .exe file with as3 in air ?

    Hi
    How to execute one .exe file with as3 in air?
    I want do this work without fscommand .
    plize help me .

    itsdhanasaraa wrote:
    But as this a web application ... By using Runtime i'm getting some probs ..
    Let me guess, you want your web application to run a program on the client and to your surprise that's not working?
    Ain't gonna happen.
    its taking more time to execute .... that's y is there any other option to execute .exe file other than Runtime.getRuntime().exec("filename");Write proper English and you may be taken more seriously.
    1) it's not "taking more time to execute", whatever that's supposed to mean.
    2) there's no other way to execute something. Not that you should every use even that way anyway
    3) whenever you start thinking of executing external programs from Java, start thinking of not using Java in the first place.

Maybe you are looking for

  • Field not displaying in ALV but going in column-set...

    Hello Gurus, I am facing a strange issue in ALV.  I am specifying the column position when I create the field list. But when I execute the ALV, that field goes out of ALV. I have to goto ALV layout setting to move that feild from column set to be dis

  • Adobe InDesign CC 2014 has stopped working

    So...I am trying to help our Marketing Manager with some problems with Adobe InDesign CC 2014. On startup of the program, more often than not it comes up with: Adobe InDesign CC 2014 has stopped working A problem caused the program to stop working co

  • How do i localize the app name in an air ios app?

    I am trying to compile an adobe air app for iOS with Danish app name? I can get localization to work with eg English, French and German, but not with Danish... I put <name> <text xml:lang="en"> English </ text> <text xml:lang="da"> and Danish </ text

  • Arrow buttons with fade effect

    I have made arrow buttons on each side of a document I intend to export to pdf.  They are set to behave so that when the reader of the pdf clicks on one of them it takes them to the previous or to the next page. the issue I have is that they are dist

  • IWeb '08 works when logged-in as 'root' user

    Hi, iWeb '08 converted my old sites and crashed. Since then, iWeb crashes when starting. I logged-out and logged-in as root, in this case iWeb can open my old sites. But, if I log-in again as usual (not root) then iWeb refuses to open my old sites...