Batch Execution in FDMEE

Hi
We want to automate our data load in FDMEE
for that we are executing this below script
loaddata RULE_NAME DATA IMPORT_FROM_SOURCE Y EXPORT_TO_TARGET Y
EXPORT_MODE OVERIDE_ALL_DATA EXEC_MODE Snapshot LOAD_FX_RATE N START_PERIOD_NAME Dec
END_PERIOD_NAME Dec SYNC_MODE SYNC
All the above  bolded are which we have added to the batch script
when we run this  script we are getting this error :End of File Breaks the Statement
Thanks

Are you running the rule command with a clear text password or a password from a file?
I don't see your password parameter being passed.  Also, you want to make sure you are not passing in the parameter names, just the parameter values
loaddata admin password DATA Y Y OVERRIDE_ALL_DATA Snapshot N Dec Dec SYNC

Similar Messages

  • Problem with batch execution

    I am using batch execution for inserting records in a table.
    My code is as follows
    // set Batch size to 1
    for (i = 0; i < 23; i++) {
    // set first & second columns to some value
    ps.setInt(1,j);
    ps.setString(2,"cat");
    // execute batch
    rowsInserted = ps.executeUpdate();
    // send last batch (if any)
    rowsInserted = ((OraclePreparedStatement)ps).sendBatch ();
    // set first & second columns to some value
    ps.setInt(1,100);
    ps.setString(2,"dog");
    // execute batch
    rowsInserted = ps.executeUpdate();
    Here total 25 rows were inserted.
    23 rows from the loop.
    remaining two rows has the same value (100,"dog")
    I was expecting 24 rows in the table
    23 rows from loop
    no row from sendbatch since no record accumulated. (batch is of size 1)
    one record from last insert statement. (100,"dog")
    does anyone know why this happened?
    null

    More code to figure this out may help.
    Also, the term "Batch execution" doesn't apply here... you're simply adding records, near as I can tell.

  • How to use Save Point in Batch Execution of  java transaction updates .

    HI.. ALL
    This is going to be very important to all and if needed history should be rewritten...
    Does any one.... Any one has ever thought of Execution of a Batch - jdbc using Save Points Concept ???
    If this has been ever implemented than I am sorry for my comments..
    If NOT---
    Then any one has idea or code or any thoughts or alternatives for this... This goes like this-->
    If we have a batch file which has All Inserts , Updates and delete statements and we are reading that file in java program and executing the file in a batch execution.. Now java provides only 2 option 'START AND END' for batch execution. But ever dreamed about having Save Points in execution of a batch ?
    You might be thinking why Save points needed in batch? if any one wants to have save points then they can go with normat step by step execution of the jdbc calls Why in batch ?
    Trust me this is very important in various areas of development which will bring an ease of writing the program efficently..
    Does any one have any idea in this regard of having SavePoints in batch execution is highly welcome.
    Thanks
    wahed
    Edited by: wahed on Aug 8, 2008 12:53 AM

    If your database supports SAVEPOINT savepoint_name sql and ROLLBACK [WORK] [ TO [ SAVEPOINT ] savepoint_name] sql, you can try to add those sqls into your sql batch.

  • What Data Integration Batch Execution

    Hi ,
        What is  Data Integration Batch Execution and how batch execution will work,is there any reason to put name as Batch job in SAP BODS

    Hi Reddy,
    CDI- Customer Data Integration is all about integrating Customer master data using MDM.A customer data includes a lot of customer information like the name of Customer,address etc which can lead to Inaccurate and inconsistent master dtaa.
    So integrating Customer master records with MDM so as to eliminate these master data problems is the goal of CDI.
    You can refer futher additional links on CDI.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a09fdcda-e8b9-2910-29a0-e2c7ca1f008e
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10ff8340-7316-2a10-4cba-99b001cf83e2
    Customer Data Integration (CDI) at TechEd: DU150
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e01d1085-5a51-2a10-2292-b52eb7500180
    You can also refer to all MDM IT scenarios in the below link:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/56763d46-0a01-0010-058e-a0e124279607 (IT scenarios overview)
    SDN does not encourage the exchange of email ids over forums.If you have any futher queries on MDM or any realted Topics,you can kindly post your questions here and we will be there to address them.
    Hope It Helped
    Thanks & Regards
    Simona Pinto

  • Controle batch execution.

    Hi Experts,
      i've to execute 2 batch "batsh2" After "batch1" is finished. my concern is how can i check if the "batch1" execution is finished. Any piece of code?? .
    Thanks a lot in advanced.
    Omar.

    HI,
    I assume that your are using session method for batch iunput.
    Once the 1st session is processed; check the status of the same in APQI table in the field QSTATE by matchin the QID whihc you obtain when you create the session via BDC_OPEN_GROUP in the importing parameter QID.
    Incase the session goes into error then do not process the next session else process the next.
    Incase the first session is taking a long time to process; do a recursive select till the session is successful or in error and then only start the next session.
    Regards,
    Ankur Parab

  • Runtime.exec(): VM creates batch executions???

    I wrote an application that performs a task within a loop. Therefore i setup up a prograssbar in my GUI. during testing, the progressbar showed nice progress by just perforing a Thread.sleep() as the task. Then i replace the Thread.sleep() with the real task that is execution of a system command:
                        Runtime rt = Runtime.getRuntime();
                        process = rt.exec(command);     
                        exitCode = process.waitFor(); //wait until system command returnsand suddenly the progressbar doesn't proceed but pops up at the and of the complete loop. First i thought it is a refresh problem of the progressbar, but after i insertet System.out, these System.outs within the loop also only get printed (all but the very first) at the end of the loop. Toggling between the execution tasks "Thread.sleep" and "Runtime.exec" also toggles "nice progress output" and "output all at the end of the loop".
    I wonder why this happens?

    At least, i can workaround this because my system command throwed an IOException. With the correct command, it worked. But the effect still occurs, because I added a System.out in the catch clause and when using the wrong command (that cause the IOException), even those System.outs were printed in a batch way (all at wants) after all tasks finsihed. System.out.flush() didn't make any difference.

  • Baseline Date in batch execution

    Dear Experts,
    I am trying to execute a batch input session and I am getting message saying Base line date field missing. I am able to do the posting in Foreground by pressing enter whenever that message comes but when I try to do that in background its does not get posted(gives out put as error-could not determine the field).
    The GL account where I am trying to do the posting is maintained on Open item basis and the field status group is G001.
    Just for information, the posting key field status is also in sink with the field status group(G001).
    Any input is much appreciated.
    Regards
    Paul

    Hi,
    Thanks for your reply.
    But this is GL account and for a GL account we dont maintain the payment term. Therefore I am not sure what differenc it will make if we do the changes at payment term level.
    Regards
    Paul

  • Multiple prepared statements batch execution

    Hi,
    I have many different select SQLs I would like to execute in a batch.
    Its not a problem if they are simple SQLs, you simply use the statement object and addBatch(sql) to it and then execute the entire batch.
    But I would like these SQLs to be of a prepared statement format (meaning with ? and so on).
    I know its possible if they are all of same prepared statement SQL and I can bind varabiles to then and write addBatch() and so on. but the the SQLs are different then one another (different tables and so on).
    is it possible?

    The sqls are different.
    However, when you create 1prepared statement, during its creation you give it, its sql.
    that sql should be only 1 command.That doesn't make it clear. I can make one prepared statement that has multiple SQL statements in it.
    There is no rule that states that it must only have one SQL statement.
    if I enable a simple prepared statement to accept a sql which is build from several
    commands it might mean that there was some sql injection there.Then I can only suppose that you are using prepared statements incorrectly. However, excluding building SQL statement itself, I have no idea how you would construct a prepared statement that would allow an injection attack. And building the SQL statement itself is exactly what prepared statements and a solution in terms of injection attacks prevent.
    the solution of providing several sqls in the prepared statement constructor is not a valid option from my perspective.You might believe so. You might have a reason for that although I have no idea what it is. It certainly isn't due to injection attacks because that isn't a valid reason.
    That doesn't mean that it can't be done.

  • Batch execution of Export prompts for JPEG info?

    My goal is simple:
    Take many .JPG images, resize them, set their quality to 60, and save to file.  Simple right?
    I can't seem to make this work.  I've tried recording "Save for Web" (Adobe lists it as an Export) and input the size adjust changes in the Export dialog and set the quality to 60 and hit the Save button.  Stop recording.
    Now I Automate - Batch and selection my Action and setup the source and destination folders.  The batch runs but it doesn't do what I recorded in the Action?  Here are the problems:
    1.  Image is not resized (apparently seems to ignore all my input in Save for Web dialog)?
    2.  I'm being prompt by a JPEG save options dialog for each file?  Why?
    To work around #1 issue, I did the Resize via the Image | Image Size and then "Save for Web" ... but I'm still prompted with JPEG save options (quality settings) when I run my batch using my action.
    It seems "Save for Web" just doesn't work for recorded actions, even though I see the "Export" and it does indeed list all the correct settings I used.  I see no way to really "edit" recorded actions?
    Are Actions an "afterthought" because they really don't seem to be very useful and more often than not require a lot of experimentation and in some cases frustration.  The time it takes to "develop" an action that works is often longer than if I just did the tasks manually ... I can't see this as being helpful to an end user like myself.
    I've gone thru Adobe Press books and they spend maybe 2-3 pages on Actions/Batch and that's it -- such an import tool and it only gets brief mention?  So I'm coming to the conclusion that "Actions" and "Batch" are primitive at best case ... am I missing something?  Are there better tools to do this?
    Thanks, Rob.

    I was able to get it to do what I wanted eventually.  Solutions is to NOT use the "Save to Web" dialog.
    To get the batch working I did the following during an Action recording:
    1.  Standard Image Resize (not from Save to Web dialog)
    2.  Use "Save As" and select JPEG quality options
    I was able to successfully use this Action in a Batch on an entire folder of images and get them all resized the quality adjusted and put in a new folder -- without any need for my interaction.
    Is there an alternative to "Actions"?
    Thanks, Rob.

  • How query cost and execution time are releated ?

    hi experts,
      i am curious to know, how the query cost and execution time is related?
     Query taking less time ,query cost is 65%, but query taking more time but query cost is 0%.
    how to connect both and improve query performance.
    Thanks

    i think you are refering to cost (relative to the batch) execution 65%, where there are more that one statement, it may compare the cost of each statement with in the batch
    i assume it mainly take subtree cost and IO stat as cost, but in some cases i may wrong when there is multi line function and many other facter influence the cost, and i would say it depends on the query
    cost is unit-less
    The reason these costs exist is because of the query optimization SQL Server does: it does cost-based optimization, which means that the optimizer formulates a lot of different ways to execute the query, assigns a cost to each of these alternatives, and
    chooses the one with the least cost. The cost tagged on each alternative is heurestically calculated, and is supposed to roughly reflect the amount of processing and I/O this alternative is going to take.
    refer :
    http://blogs.msdn.com/b/sqlqueryprocessing/archive/2006/10/11/what-is-this-cost.aspx
    Thanks
    Saravana kumar C

  • CC&B V2.2 Base Batch Scheduler

    I am looking at the base batch scheduler and need to know how this interacts, if at all with the new lightweight batch.
    Can someone confirm the following about the base batch scheduler.
    1. This scheduler does not use the lightweight batch as it is based on the 1.5 platform.
    2. All batch jobs use the full framework jvms and therefore start up times for the batch jobs take more time.
    3. It cannot submit multiple batch streams at once.
    If you have 2 or more independent batch streams and want to run them at the same time, you cannot do this.
    4. You cannot run batch jobs on different servers.

    What we like to do is use the new CLUSTERED facility using the supplied base batch scheduler.
    We intend to use 2 servers for batch processing
    To do this we have to run the threadpoolworker.sh on both servers.
    The documentation states in the "Online Batch Daemon" section that there 2 configurations
    a) that one server can be configured as both Batch Scheduler Daemon and Batch Server Enabled
    this allow both the submission and execution of batch in the same application
    b) two servers may be configured one as batch Schedule Daemon and one as Batch Server Enabled
    This does not provide a mechanism to use bot servers for batch execution.
    Under this configuration this does not support CLUSTERED mode.
    Under this situation only 1 server executes the batch programs.
    Under the section "External Scheduler Submission"
    The thredpoolworker.sh utility section states
    A worker JVM may also host a scheduler daemon, which, if activated inside a worker, will poll for job submission requests from the web application
    that were done via the Batch Job Submission transaction.
    This seems to imply that you can:
    a) have a batch environment that does not have the Online batch daemon or the Batch Server Enabled and have
    b) configure 1 threadpoolworker on server 1 with a scheduler daemon configured
    c) have another threadpoolworker on server 2 but no scheduler daemon configured.
    Can you confirm this or advise how we can configure CC&B with the base batch scheduler to use the CLUSTERED processing on 2 servers.
    Thanks in advance
    Edited by: Paul Brown on Aug 26, 2010 9:07 PM

  • Executable-Job to call batch-file

    Dear NG!
    I'm currently using Oracle 10.1.0.4 on a MS Windows Server 2003 and
    I've got some problems concerning EXECUTABLE-Jobs in DBMS_SCHEDULER.
    I just want to PIPE OUT the results of my Batch-Execution in a LOG-File,
    but ORACLE just returns an error code.
    Here's my example:
    the Batch-File "TEST.bat" contains:
    dir c:\temp >c:\temp\content.log
    the SCHEDULER-Job to run in PL/SQL:
    BEGIN
    DBMS_SCHEDULER.CREATE_JOB (
    JOB_NAME =>'TEST1',
    JOB_TYPE =>'executable',
    JOB_ACTION =>'c:\temp\TEST.bat',
    ENABLED => TRUE,
    AUTO_DROP => TRUE
    COMMIT;
    DBMS_SCHEDULER.RUN_JOB('TEST1');
    END;
    the LOG-Message:
    ORA-27369: Job vom Typ EXECUTABLE nicht erfolgreich mit Exit-Code: Unzul¿ige Funktion.
    I also tried the following JOB_ACTION-Parameter:
    - 'c:\windows\system32\cmd.exe /q /c c:\temp\TEST.bat'
    or
    - 'c:\windows\system32\cmd.exe /q /c c:\temp\TEST.bat >Nul'
    or
    - 'dir c:\temp >c:\temp\content.log'
    or
    - 'c:\windows\system32\cmd.exe /c /q dir c:\temp >c:\temp\content.log'
    ...but I had no success.
    I already read the posts in the forums about that but I did not found any solution.
    Could someone please tell me where my mistake is?
    A rapid response would be appreciated!
    Thanks in advance!
    Dirk

    You may be hitting bug 3663347 - WIN32/SCHEDULER: EXECUTABLE JOB FAILS WITH 'ORA-27369: THE HANDLE IS INVALID', which should be fixed by Patch 4287619.

  • Error while applying EHP4 to ERP6.0-phase MAIN_NEWBAS/JOB_BATCHCHECK_XPRA!

    while i was applying EHP4 to my ERP6.0 system using Enhancement Package Installer i got the following error in the Downtime roadmap:
    Severe error(s) occured in phase MAIN_NEWBAS/JOB_BATCHCHECK_XPRA!
    Last error code set: RFC_ERROR 2: DUMP_ERROR
    i checked the RSUPGBWD.LOG and here is what i found:
    1 ETQ201 Entering upgrade-phase "JOB_BATCHCHECK_XPRA" ("20110503131506")
    4 ETQ399 Set environment for standard connect:
    2 ETQ367 Connect variables are set for standard instance access
    4 ETQ399 System-nr = '00', GwService = 'sapgw00'
    4 ETQ399 Environment variables:
    4 ETQ399   dbs_ora_schema=SAPSR3
    4 ETQ399   auth_shadow_upgrade=0
    1 ETQ200 Executing actual phase 'MAIN_NEWBAS/JOB_BATCHCHECK_XPRA'.
    1 ETQ399 Phase arguments:
    2 ETQ399 Arg[0] = 'RSUPGBWD'
    2 ETQ399 Arg[1] = ''
    2 ETQ399 Arg[2] = 'IGNORE'
    2 ETQ399 Arg[3] = 'RSUPGBWD\.$(SAPSID)'
    2 ETQ399 Arg[4] = '3'
    2 ETQ399 Arg[5] = 'Batch execution checker'
    2 ETQ399 Arg[6] = 'RSUPGBWD.ELG'
    4 ETQ260 Starting batchjob "RSUPGBWD"
    4 ETQ010 Date & Time: 20110503131506
    4 ETQ260 Starting batchjob "RSUPGBWD"
    4 ETQ230 Starting RFC Login to: System = "ERD", GwHost = "erp-dev", GwService = "sapgw00"
    4 ETQ233 Calling function module "SUBST_START_BATCHJOB" by RFC
    4 ETQ399 JOBNAME='RSUPGBWD', REPNAME='RSUPGBWD', VARNAME='', BATCHHOST='erp-dev', IV_SCHEDEVER=' '
    4 ETQ234 Call of function module "SUBST_START_BATCHJOB" by RFC succeeded
    4 ETQ399 Returned JOBCOUNT='13150600'
    4 ETQ233 Calling function module "SUBST_CHECK_BATCHJOB" by RFC
    4 ETQ010 Date & Time: 20110503131509
    4 ETQ234 Call of function module "SUBST_CHECK_BATCHJOB" by RFC succeeded
    4 ETQ239 Logging off from SAP system
    1EETQ242 Error code "-1" during analysis of logfiles matching "RSUPGBWD\.ERD"
    2EETQ262 Batchjob "RSUPGBWD" aborted
    4 ETQ359 RFC Login to: System="ERD", Nr="00", GwHost="erp-dev", GwService="sapgw00"
    4 ETQ232 RFC Login succeeded
    4 ETQ260 Starting batchjob "RSUPGBWD"
    4 ETQ230 Starting RFC Login to: System = "ERD", GwHost = "erp-dev", GwService = "sapgw00"
    4 ETQ233 Calling function module "SUBST_START_BATCHJOB" by RFC
    4 ETQ399 JOBNAME='RSUPGBWD', REPNAME='RSUPGBWD', VARNAME='', BATCHHOST='erp-dev', IV_SCHEDEVER=' '
    4 ETQ234 Call of function module "SUBST_START_BATCHJOB" by RFC succeeded
    4 ETQ399 Returned JOBCOUNT='13150600'
    4 ETQ233 Calling function module "SUBST_CHECK_BATCHJOB" by RFC
    4 ETQ010 Date & Time: 20110503131509
    4 ETQ234 Call of function module "SUBST_CHECK_BATCHJOB" by RFC succeeded
    4 ETQ239 Logging off from SAP system
    1EETQ242 Error code "-1" during analysis of logfiles matching "RSUPGBWD\.ERD"
    2EETQ262 Batchjob "RSUPGBWD" aborted
    4 ETQ359 RFC Login to: System="ERD", Nr="00", GwHost="erp-dev", GwService="sapgw00"
    4 ETQ232 RFC Login succeeded
    2WETQ360 RFC of "subst_list_sys_logs" failed:
    2WETQ361 code/exception  : DUMP_ERROR
    5 ETQ359 RFC Login to: System="ERD", Nr="00", GwHost="erp-dev", GwService="sapgw00"
    4 ETQ232 RFC Login succeeded
    i also check ST22 for the error and i found this:
    Runtime Errors         CALL_FUNCTION_CO
    Date and Time          03.05.2011 13:15
    Short text
         RFC error when sending logon data.
    What happened?
        An error occurred when executing a Remote Function Call.
    What can you do?
        Note which actions and input led to the error.
    For further help in handling the problem, contact your SAP administrator
    You can use the ABAP dump analysis transaction ST22 to view and manage
        termination messages, in particular for long term reference.
    Error analysis
        An error occurred when executing a Remote Function Call.
        Status of connection.... "-"
        Internal error code.... "-"
    How to correct the error
    So any clue with that error?

    Hello Waseem,
    I would recommend to update to the latest disp+work but also check in sm21 and find the work process that encountered the error. Then see in the corresponding work process trace file dev_w* for the real error that occured.
    e.g. If you see ERROR => RFC Signon> Failure in ab_MakeTicketSndExternal calling
    check note 1532825
    and the report RS_TT_CLEANUP_SECSTORE
    Regards,
    Paul

  • Print the job from the spool in abtch mode

    I want to be able to print a job from the spool in batch mode. In other words a job currently exists that creates a report that currently goes to a printer.
    The user wants the report to print on two different printers. This extra printer cannot be placed in the job, since SAP only allows one printer per output. What I would like is to find a SAP program that would accept a spool name and a printer destination. It necessary we can write a program that might execute a SAP function to do the same.
    SP01, the spool transaction, does not easily adapt itself to batch execution. I donu2019t want to create a bdc session using it.

    Hi,
    If the domain of these fields are of type SYTIME, then adding the fields like a numeric value should suffice.

  • How to change Number of test socket in Model option during run-time

    I wanna be able to change the the number of test sockets(in the Model Options menu) during runtime. I have overriden the Prebatch callback and used my own instead. I have a LabView program in my Prebatch where I would select the test script each time before running the batch. I wann be able to also modify the number of test sockets each time before I run the batch again. I tried setting the "Parameters.ModelData.ModelOptions.NumTestSockets" from the Labview program which is in my Prebatch before running each batch, but get into errors. Please help?

    Hello Kumar,
    The Batch process model shipped with TestStand does not handle this scenario, but you can still do this. Attached is a sequence file that utilizes the Batch Model's ProcessCleanup callback to reset the next execution point. It still uses the method of setting the Parameters.ModelOptions.NumTestSockets variable in the PreBatch callback. The change I added was three steps to a different callback (the ProcessCleanup callback):
    Message Popup - prompts Yes or No to continue testing with a new batch size.
    Statement 1 - based on the response to the message popup (via precondition), resets the Batch Model's next step to be executed and the ContinueTesting flag:
    RunState.Root.RunState.StepGroup = "Setup"
    RunState.Root.RunState.NextStepIndex = 0
    RunState.Root.Locals.ModelData.ContinueTesting = True
    Statement 2 - based on the response to the message popup (via precondition), loops to reset each TestSocket's ContinueTesting flag:
    RunState.Root.Locals.ModelData.TestSockets[RunState.LoopIndex].ContinueTesting = True
    These two statement steps force the next step to be executed in the Batch Process Model to be the first step in the "Setup" step group, and reset all necessary flags for the batch itself and the individual TestSockets. I discovered the flags that had to be reset by trial-and-error (that was the time-consuming part).
    You can run continuous batches of the same size you first chose (for as long as you like), but when stop the batch execution this new message popup will prompt (yes/no) whether you want to continue testing with a new batch size. If no, then processing terminates. If yes, then the next two statement steps are run and execution resumes back at the beginning of the Batch Process Model's Setup step group. This forces the ModelOptions callback to be executed again, so your VI (in my example here it's just a Message Popop) can then set NumTestSockets appropriately.
    Thanks for contacting National Instruments!
    David Mc.
    NI Applications Engineering
    Attachments:
    kumar.seq ‏27 KB

Maybe you are looking for

  • How to configure OWA in multiple AD sites when using one entry point for external OWA clients ?

    Using Exchange 2013 (e2013), SP1. Three locations.  (Let's say  Location-A, -B, and C.) Each Location is an AD site, and physically "remote" from the others. Each location will have one e2013 server,  each server running both CAS and Mailbox function

  • Generic standard table type

    Anybody please resolve my doubt types tb_std_type type table of sflight. -->this i understand as not a generic table type.'NON-UNIQUE" and DEFAULT KEYS are implicity defined . data it_std type tb_std.-->Since i could declare an internal table of tb_s

  • Performance issues, possibly video.

    My computer is by no means new (p4 2.4, 2GB, 128MB AGP video), however, I get particularly crappy performance through most simple tasks. Scrolling in any browswer is SUPER choppy (CPU usage of browser & Xorg spikes when scrolling). Window performance

  • Apple Novice Needs help

    I sent away my ipod mini for repair in July 05 - the process was very efficient but the repair status record advises that a replacement was ordered 4 Aug 05 - over 1 month ago but no news since. Can someone please advise of a suitable Apple e mail ad

  • "dxkbd.dat" -  What is it.?

    Anyone know if dxkbd.dat is a part of Adobe, if so What the #@$% is it.? I find it in the registry Key = APPLIC~1\Adobe\Update\dxkbd.dat under Hkey_Local_Machine\Microsoft\WindowsNT\CurrentVersion\Drivers32\Update\dxkbd.dat And notified a new startup