Agent scheduler issue

Hi guys,
I have the following situation:
I've created a package which picks up a xml file from a computer on the network, moves it to my local machine, processes the data in it and then writes some data in a (Oracle) DB.
When I try to run the package using an agent (scheduler agent), it works fine the first time, but the second time and further on, it moves the files, but it processes and writes to DB the same data as it did the first time. It's like it doesn't "refresh" the data, it doesn't read anymore from the files. It uses the data it read from the xml file the first time.
If I restart the agent, it works fine again for the first time, then the problem repeats.
When I run the package without the agent (Local), it works fine no matter how many files I process.
Any suggestions?
Thanks!

Actually, I have several steps:
1. odifilewait moves the file test_SEQ.xml from the computer on the network to folder A.
2. odifilecopy - copy file test_SEQ.xml to folder B - this is the folder where the xml source file is defined in topology manager (test.xml).
3. odifilewait - moves (renames) the file from test_SEQ.xml to test.xml in folder B.
4. odi processed test.xml
5. odifilemove - moves test_SEQ.xml from A to folder C
6. odifiledelete - deletes test.xml from folder B.
The agent has administrator rights.

Similar Messages

  • Performance and agent scheduler agent - help

    Hi,
    I am facing two problems
    1. Performance issue - I am trandferring data from SQL SERVER to ESSBASE using LKM SQL to SQL and IKM SQL to ESSBASE(data). The interface takes more than 15 min for 2000 records. Is there any options to improve the performance or shud I use any other KM
    Note: Essbase and SQL SERVER are in different servers.
    2. I created agent scheduler as service in windows server. But while starting the service it says" ERROR 1067 : The process terminated unexpectedly"
    Thanks,
    Senthil

    Actually, I have several steps:
    1. odifilewait moves the file test_SEQ.xml from the computer on the network to folder A.
    2. odifilecopy - copy file test_SEQ.xml to folder B - this is the folder where the xml source file is defined in topology manager (test.xml).
    3. odifilewait - moves (renames) the file from test_SEQ.xml to test.xml in folder B.
    4. odi processed test.xml
    5. odifilemove - moves test_SEQ.xml from A to folder C
    6. odifiledelete - deletes test.xml from folder B.
    The agent has administrator rights.

  • Issue inMaintenace scheduling issue in Two plants with similar data set up

    Hi PM Gurus
    Scenario: A) We Have two maintenance Plants which have got Factory calendar assignment as per Table Data. We need to change Non Working days of factory Calenders (D1 and T2) for work centres working and do Maintenace scheduling
    Issue    A) Plant PL0B  has got factory Calender T2 set up at work centre (WCT2) .We get Maintenace schedule Calls as per Calender set up ie No Maintenace Call (Planned call and Call date) on  (Non Working Days). Here we change public holidays to working days and this throw schedule calls accordingly (thatu2019s Maintence Calls on working days only).
    B)     We have similar requirement to change public holidays for Calender D1 which is assigned to Work centre WCD1, then we must get maintenance calls for working days. But we find that for Plant PL0A, Maintenace Calls are generating even on non working days. Only difference between Plant PL0A and PL0B is for Work centre set up as per screen shots for Capacity data.
    C)     We have changed work centre data of WCD1 as per WCT2 ,but still PL0A is giving maintenance Calls on Non Working days (Not Controlled by Calender data of Work Centre )
    D)     Info: Scheduling indicator in Maintenace plans of both plants is TIME
    Plant      Factory Calender (plant      Factory Calender
    (Work Centre)     Non Working Days                                                      Work Centre (PL0A)
    PL0A       U1     D1     3-Public holidays                                                WCD1
    PL0B     T1       T2     Sat ,Sun and 10 Public holidays                                WCT2
    Thanks
    Upinder

    Greetings Upinder,
    You should set the Scheduling indicator to "Time - factory calendar" and select a Factory Calendar if you want the Maintenance plan to be scheduled according to one of the calendars you set up.
    The work centre capacity scheduling doesn't come into place here, yet - it'll allow for rescheduling once the orders are called.

  • Agent determination issue with no error, cant use SWPR?

    Hello gurus.
    We currently have 81 invoices that have workflow status "in process". However, the last line of this status is "agent determination issue". I've assigned the appropriate user in PFOM and i want to restart the workflow item, but i cannot use SWPR.
    Normally it should be in error and you can use SWPR, and that fixes everything- however why is the workflow still "in process" and not in error? and how can i complete the workflow item now that the agent has been assigned? do i just create a new workflow using SWUE and delete the old one? Many thanks.

    Hi,
    OK then try like this , as you said you do not have authorizations to SWI1_RULE right so do teh below steps,
    1. Execute SE37 and execute the fucntion module ALINK_CALL_TRANSACTION.
    2. Now mention the txn name as SWI1_RULE.
    3. Now you should be able to see teh initial screen of the txn.
    4. Now enter teh workitem ID which is in ready state not the top workitem ID, the workitem for which the agent is not assigned. Click F8.
    5. Now choose that workitem ID and click CTRL + SHIFT + F11.
    it should re evalutae the agents, if this is also not determing then make a note of the RULE ID from activity step and open the txn by using the above function module and try to simulate the rule or please let us know what is the rule type.
    Regards
    Pavan

  • DESS_ES_HOME: null When Running ODI agent scheduler

    Hi Experts ,
    I have scheduled a 2 scenario's in ODI 10g with 15 Mins interval and started the agentscheduler.bat, Once after the first scenario is executed, I am getting the below error on the agent and the next scenario is not getting executed.
    Could you please guide on this.
    Agent scheduler.bat :
    OracleDI: Starting Scheduler Agent ...
    Starting Oracle Data Integrator Agent...
    Version : 10.1.3.5 - 10/11/2008
    Agent in scheduling mode
    Number of items for scheduled executions:2
    09/02/2013 12:57:59 AM(main): Server Launche
    [INFO] s - Start Thread[4010@2013/09/02_01:0
    49 AM
    Initalizing the essbase wrapper and connecti
    Error accessing the properties file. essbase
    system cannot find the file specified). Usi
    Hyperion Provider Services - Release 9.3.1.1
    Copyright (c) 1991, 2007 Oracle and / or its
    connection mode : EMBEDDED
    essbase.properties: essbase.properties
    domain.db location: domain.db
    console log enable : false
    file log enable : false
    logRequest : false
    logLevel : ERROR
    java System properties -DESS_ES_HOME: null
    Thanks
    Alex

    According to this post
    Essbase Users: Setting -DESS_ES_HOME in Eclipse for EssbaseJAPI
    i suppose you aren't finding DESS_ES_HOME value. Just a question: are you using an agent based on your essbase machine?

  • Incremental file load with agent scheduler

    Hello.
    I have a problem with agent scheduler. At first Ill describe what I do:
    I wanna load data from files named xx_20100101, xx_20100102, xx_20100103, and so on..
    - I created interface which loads data into oracle table.
    - File Data store (resource name) is called #file_name. #file_name is Variable computed from metadata table.
    - This metadata table contains data about files and statuses. E.g. columns (File name,File date, Status) data (xx_20100101,20100101,READY).
    - I created Procedure which sets Status from READY to DONE after successfull load from every file into table.
    - All these steps are in Package. So when I run this package (with steps: Declare variable -> run Interface -> Run package -> Refresh variable).
    - Variable is computed as record with min(File Date) and Status = 'READY'
    After execution of package everything looks ok.
    But when I execute Package via agent scheduler only step with Interface is correctly runned. Packege which changes status of file load does no update and variable is not refreshed. So that next run of Package computes with sam data as first run.
    Where can be a problem?
    Thanks.

    Always use the #<PROJECTCODE>.<VARIABLENAME> syntax.
    Where you want to use the variable in the file name it is best practice to run each iteration of the file load in a separate session. You should take the approach to invoke a scenario with the variable passed in as a parameter for each file to be processed.
    Inside the "child" scenario you should declare the variable (making sure it is a non-persistent type) before you execute the load.
    If you run the scenario synchronously you won't have to change the KMs to make them run in parallel by modifying the temporary table names - conversely, if you change the KMs to use unique table names for the temporary tables (C$, I$) then you will be able to run the scenarios asynchronously and in parallel.

  • I just wonder why agent scheduler did not run during SAT and SUN?

    Hi guru,
    I just set agent scheduler to run on daily mode but past 2 days which are Saturday and Sunday. It did NOT run. I just see that there is a Weekly mode to check from Monday to Sunday so meaning that I need to use Weekly mode instead, isn't it?? There is no explanation in product manual as well. Someone please help me for this case. Thank you so much in advance.
    Best regards,
    JN

    Hi,
    For me the same is working fine with option daily mode.
    Please cross check the following things .
    Did you selected any active period ?
    Didi you selected any thing other than None execute once in execution cycle tab ?
    Rathish A M

  • Getting Error In Agent Scheduler

    Hi ,
    I have configured my ODIPARAMS file as per ODI docs.......
    set ODI_SECU_DRIVER=oracle.jdbc.driver.OracleDriver
    set ODI_SECU_URL=jdbc:oracle:thin:@172.26.0.88:1521:as
    set ODI_SECU_USER=SCHEMA1
    set ODI_SECU_ENCODED_PASS=fDypWzZupMsMwFefjUMy
    set ODI_SECU_WORK_REP=ANANDA
    set ODI_USER=SUPERVISOR
    set ODI_ENCODED_PASS=LELKIELGLJMDLKMGHEHJDBGBGFDGGH
    I have launched my agent scheduler using this cmd:
    AGENTSCHEDULER "-PORT=20300" "-NAME=AGSCH" "-V=5"
    It launced successfully..........
    I tested the same in my Topology It showed me succesfull.....Agent Test Successfull.
    When I right clicked the Physical Agent Update Schedulling ........
    I am getting .....This agent does not manage Scheduling .......Then agent is not a scheduler..........
    Thanks
    AK

    Hi,
    The Probelm is resolved , I forgot to update this in the Forum....
    Mistakes I made in ODIPARAMS file are:
    1.Gave Wrong Schema Name.
    2.While copying my ODI_SECU_URL, I missed out ' :' in the parameters..........
    Works as Expected Agentscheduler......!!!!
    Thanks
    AK

  • SCOM Agent installation Issue

    Dear all,
    We have SCOM 2012 r2 , when we install agent through discovery . We got the below error
    The Operations Manager Server cannot process the install/uninstall request for computer xxxxx due to failure of operating system version verification.
    Operation: Agent Install
    Install account: XXXXX
    Error Code: 80070035
    Error Description: The network path was not found.
    Any idea what would be the issue here ?
    Gone through some forum , but no luck
    http://www.scapaot.de/blog/?p=291
    Thanks,
    74KMS

    Hi
    Kevin Holman has a great blog on troubleshooting agent install issues here:
    http://blogs.technet.com/b/kevinholman/archive/2009/01/27/console-based-agent-deployment-troubleshooting-table.aspx
    The error you state has "Manual Agent Install" as the "fix".
    Could you confirm:
    1. The agent is in the same domain as the SCOM Management Server?
    2. Can you do an NSLookup from the Management Server to the agent FQDN?
    3. If you try and install the agent manually, do you get an error or does it complete?
    Cheers
    Graham

  • Agent running issue

    Hi All
    I need a clarification on Agent. May be a stupid question !!!
    My Question is ,i am working in a dev environment. Now i want to schedule the scenario.
    But my issue is where should i run the Agentscheduler.
    is it on The server where teh Master and work Rep is created or onthe client machine from where i am creating my project and all???
    Please help
    Thanks
    Gourisankar

    Hi Bos
    Q1:-So if the Master/Work rep and target datastore are on diff server then i have to run the agent on target datastore server???
    Q2: i don't have to configure the odiparam.bat/sh file on client machine to execute scenario if agent is running on server??

  • ODI scheduling issue

    I was scheduled one agent, for the first time it took only 20 min to execute,
    but 2nd time onwards it is taking 7 to 8hrs,
    I'm unable to find the why it is running more time.
    what is the issue? can any one help on this?

    Hello,
    What kind of scenario did you run ?
    How many interfaces with which KMs ?
    A first tip would be to check the CPU usage on the server side. You have maybe a deadlock or something ;).

  • Custom clearing agent payment issue

    Dear experts
    Purchase  order  was created  and  the  material was  received  on   port (imports).
    custom clearing  agent has  cleared  the goods.
    now   custom   clearing  agent needs  his  charges.
    the  inv  from vendor with reference to PO is not received.
    any  solution  to  settle  the  custom  clearing  agent  payments.
    till  the  inv. from  vendor  not  received custom agent payment  is is pending.
    what  should  be  done  to  resolve  this  issue.

    Hi,
    Copy one of your freight condition types and create a new condition type as custom clearing charges, please ensure that condition category is Delivery charges (B). In calculation schema enter this condition type at the appropriate position. Now when creating the PO, enter this condition type put the value, then select this condition type and go to details, here you will have a field to enter the vendor code, there key in the vendor code of custom clearing agent.
    Now in MIRO enter PO no. and choose layout for Planned delivery cost, you can now enter the value for your agent and pay him.
    Note: Please use this to pay only for service charge for the agent, for payment of custom duty you should use the condition type for custom duty and key in the vendor code for the customs clearing office there so that its easy to differentiate between custom duty and the service charges charged by clearing agent.
    Regards
    Chandra Shekhar

  • Agent determination issue

    Hello Experts,
      We have developed one custom workflow a year back and last two months we are seeing the issue with Agent Determination randomly.  We created a position with 3 users and assigned the Position to the Agent Assignment.  Some times the work item sent to other users other than 3 users assigned to the position.  We are not able to trace it, why it's behaving like this.  Any help would be appreciated.
    with best regards
    K. Mohan Reddy

    If this happens randomely then we can only assume
    Please check the wflow log from SWIA whether someone has forwarded the workitem?
    There can be also change in Position assignment, Substitute getting maintained.
    Also check whether the users are maintained in the Task level if it is General forwarding Not allowed task from the task attribute.
    Thanks
    Arghadip

  • Webi Report scheduling issue

    Dear Experts,
    I have webi reports which are running fine when i refresh the query from query panel. When i am scheduling the report it is failing.
    My webi reports are connected to the Bex Queries using OLAP Connections which is working fine for other reports.
    I am getting the following error message
    "Can not connect to the source olap com.sap.conn.jco.JCoException: (103) JCO_ERROR_LOGON_FAILURE: Access key access is no longer possible"
    Because of this BW Credentials are getting locked and user cannot able to access the BW System.
    Kindly help us getting this issue solved.
    Thanks in advance.
    THanks & Regards,
    Archit Sarwal

    Hi Archit,
    Try this...
    Logon to Central Management Console (CMC) with an Administrator user.
    Click on OLAP Connections.
    Right click on the connection and click User Security.
    Assign Full Control to the User on the connection.

  • Scheduling issue with Analysis for Excel

    Hi,
    I am trying to schedule a workbook in Analysis for  Excel from CMC. The schedule always fails when I uncheck the APPLY DEFAULT FORMATS in the components tab of the Display Analysis. The schedule works fine if this box is checked. Has anyone come across this issue?
    Analysis Excel Version: 1.4.5.2837
    Thanks,
    Kal

    Hi Tammy,
    Sorry for getting back to you so late. We are right now BIP-add on SP5 for Analysis Office. We are planning to have BIP-add on SP6 next week. Dont know if this will solve my issue but something to try.
    Thanks,
    Kal

Maybe you are looking for

  • My iMac osx 10.4.11 no longer recognizes my iphone

    I've been using my iMac for my iPhone 3GS for 2 years, suddenly it no longer recognizes my iPhone when I try to update it. I'd appreciate any assistance.

  • Why does Bridge have trouble with accents in filenames?

    We work in an in-house studio with Creative Suite 4. Being in Montreal, Canada, many of our documents have accented characters in the file and folder names. When Bridge attempt to display these accented filenames, occasionally the capital letters get

  • Forms and Signatures in Acrobat Reader

    I am trying to create a form that can be filled out and signed in Acrobat Reader. I am creating the form in Adobe Pro 9 and have No Security set for the document and have enabled the extended features in Adobe Reader under the 'Advanced' menu. The do

  • Cannot import custom made java class

    Hello I wrote a java class say (Money.java) which compiled fine. When I was importing it to another class (Account.java), the folowing error message appears: Account.java.1:'.' expected import Money;(an errow pointing to ";") I dont think the code is

  • Ipod touch shows picture to connect to itunes but,

    The ipod touch won't turn on, it just shows a picture to connect to itunes.  But when I try to connect to itunes it won't connect because it says the ipod is locked with a passcode.  What do I do??