Change source path in batch Job in global variable in data services

Hi Experts,
my organization has created job in data services 3.2 to cleanse the data reading from excel flat files. the folder path was store in the global variable(I think) and now they have changed the directories hence is it throwing me below error.
Error, Input file  does not exist please confirm existence and restart job, 16 ) >
failed, due to error <50316>: <>>> Error, Input file  does not exist please confirm existence and restart job>. I want to update the folder path. I am sure it would be easy but I am very new to BODS.
(12.2) 07-15-14 16:10:08 (14232:12656)  PRINTFN: > 'JOB DEBUG' : '>>> Sleeping for 35.000000 seconds...  '
(12.2) 07-15-14 16:10:43 (14232:12656)  PRINTFN: > 'JOB DEBUG' : '>>> Waking up......  '
(12.2) 07-15-14 16:10:43 (14232:12656)  PRINTFN: > 'JOB DEBUG' : 'Starting the timer loop number 6...'
(12.2) 07-15-14 16:10:43 (14232:12656) WORKFLOW: Work flow <WF_Metadata_Files> is started.
(12.2) 07-15-14 16:10:43 (14232:12656)  PRINTFN: > 'JOB DEBUG' : '>>> $G_FILENAME_IN : ALL_Metadata_SALES.xls...'
(12.2) 07-15-14 16:10:43 (14232:12656)  PRINTFN: > 'JOB DEBUG' : '>>> looking for input file name
                                                 \\infra\finance\production\sales\Metadata\ALL_Metadata_SALES.xls'
(12.2) 07-15-14 16:11:08 (14232:12656)  PRINTFN: > 'JOB DEBUG' : '>>>  Input file Name is '
(12.2) 07-15-14 16:11:08 (14232:12656)  PRINTFN: > 'JOB ERROR' : '>>> Error, Input file  does not exist please confirm existence and restart job'
I want to update the folder path\\infra\finance\production\sales\Metadata\ALL_Metadata_SALES.xls to \\Home\BIData\finance\production\sales\Metadata\ALL_Metadata_SALES.xls
when i investigated WF_Metadata_files i saw there is a global called INPUT_DIR i assume I have to change the path there. I tried to find old directory in the batch job but i cant find it and even When i give value to global variable it is still pointing to old path.
Can anybody please help me.
Thanks
Tim

Hi Tim,
If having specified the value in the global variable it is still pointing to the old path there can be a couple of scenarios applicable
1. There is a different global varaiable being used for the file path
2. The filepath is hardcoded in the file-format or Excel file definition despite the declaration of the global variable.
Are you getting this error when running a dataflow within this workflow or in a script? It will be better to run the workflow in debug mode and look through the stages to find out where exactly in the workflow it fails.
kind regards
Raghu

Similar Messages

  • Change source path in batch Job

    Hi Experts,
    my organization has created job in data services 3.2 to cleanse the data reading from excel flat files. the folder path was store in the global variable(I think) and now they have changed the directories hence is it throwing me below error.
    Error, Input file  does not exist please confirm existence and restart job, 16 ) >
    failed, due to error <50316>: <>>> Error, Input file  does not exist please confirm existence and restart job>. I want to update the folder path. I am sure it would be easy but I am very new to BODS.
    (12.2) 07-15-14 16:10:08 (14232:12656)  PRINTFN: > 'JOB DEBUG' : '>>> Sleeping for 35.000000 seconds...  '
    (12.2) 07-15-14 16:10:43 (14232:12656)  PRINTFN: > 'JOB DEBUG' : '>>> Waking up......  '
    (12.2) 07-15-14 16:10:43 (14232:12656)  PRINTFN: > 'JOB DEBUG' : 'Starting the timer loop number 6...'
    (12.2) 07-15-14 16:10:43 (14232:12656) WORKFLOW: Work flow <WF_Metadata_Files> is started.
    (12.2) 07-15-14 16:10:43 (14232:12656)  PRINTFN: > 'JOB DEBUG' : '>>> $G_FILENAME_IN : ALL_Metadata_SALES.xls...'
    (12.2) 07-15-14 16:10:43 (14232:12656)  PRINTFN: > 'JOB DEBUG' : '>>> looking for input file name
                                                     \\infra\finance\production\sales\Metadata\ALL_Metadata_SALES.xls'
    (12.2) 07-15-14 16:11:08 (14232:12656)  PRINTFN: > 'JOB DEBUG' : '>>>  Input file Name is '
    (12.2) 07-15-14 16:11:08 (14232:12656)  PRINTFN: > 'JOB ERROR' : '>>> Error, Input file  does not exist please confirm existence and restart job'
    I want to update the folder path \\infra\finance\production\sales\Metadata\ALL_Metadata_SALES.xls to \\Home\BIData\finance\production\sales\Metadata\ALL_Metadata_SALES.xls
    when i investigated WF_Metadata_files i saw there is a global called INPUT_DIR i assume I have to change the path there. I tried to find old directory in the batch job but i cant find it and even When i give value to global variable it is still pointing to old path.
    Can anybody please help me.
    Thanks
    Tim

    what would be the syntax to point it to particular folder.
    I am using ' \\\Home\BIData\finance\production\sales\Metadata  '  as this jobs reads more than one file from this folder.
    Thanks
    Tim

  • What format to input $currentdate(datetime) Global Variable in Data Services Management Console?

    What is the correct input format for the datetime Global Variable in Data Services Management Console? 
    I've tried several formats and keep getting a syntax error. 
    The DSMC is Version: 14.0.3.451
    I'm a new user and learning as I go.  
    Thanks for your help. 

    Hi,
    if you get syntax error as below,
      Syntax error at line <1>: <>: near <.04> found <a float> expecting <+, ||, DIVIDE, MOD, *, SUBVARIABLE, a decimal>.
      1 error(s), 0 warning(s).
      Check and fix the syntax and retry the operation.
      Error parsing global variable values from the command line: <$sedate=2014.12.04 12:00:00;>.
    Check the syntax and try again.
    solution is simple
    Place the global variable value in single quotes '2014.12.04 12:00:00'

  • Using Global Variables in Data Quality Address Cleanse Transforms

    I am currently developing in Data Services 12.2.
    I am trying to dynamically populate the List Owner information in the option tabs of the USA Regulatory Address Cleanse by using global variables.  It populates the 3553 with the variable name instead of the value assigned.
    According to the Technical Manual, it is possible to use global variables in Data Quality Address Cleanse transforms:
    However, you can use substitution parameters in all places where global variables are supported, for example:
    Query transform WHERE clauses
    Mappings
    SQL transform SQL statement identifiers
    Flat-file options
    User-defined transforms
    Address cleanse transform options
    Matching thresholds
    Does anyone know if it is possible to use global variables in the option tab of the Address Cleanse; if so, can you describe how it is done?
    Thanks in advance,
    Rick

    Hi,
    U can refer to the following links in help.sap.com
    GlobalContainer Object
    http://help.sap.com/saphelp_nw04/helpdata/en/75/8e0f8f3b0c2e4ea5f8d8f9faa9461a/content.htm
    Container Object
    http://help.sap.com/saphelp_nw04/helpdata/en/78/b4ea10263c404599ec6edabf59aa6c/content.htm
    Also some of the RUN TIME CONSTANTS are available in your BPM. So if you are trying to retrieve those variables in your Mapping(that is used in BPM), also read the following thread.
    Re: Message id in BPM
    Cheers,
    Siva Maranani.

  • "global"  variables for data slices

    Hello experts,
    Can someone tell me how to create a global variable which can be set for all user of a planning application?
    I want to use this variable to be used by one or two users, so that they can lock the planning data by setting the variable. The variable will be used in a data slice and by changing the value of the variable, they are also able to change the range of the data slice. I thought that I found the solution, but in the end I remembered that variables are user specific and therefore has to be set for each user.
    I hope that one of you has a solution (not using STS) for this problem.
    Kind regards,
    Harald van der Meij

    Hallo Harald
    I see your point and i hope this can help you.
    Create a Variable of type exit which get the values for data freezing.
    For example: Calmonth.
    then in the Function Module, derive Calmonth making the Select from a custom table. give the rights to the two user to maintain the table for lock and unlock the planning.
    Based on entries on the tables, then you can have the value for Calmonth. based on it you freeze or unfreeze the data.
    of course you can use any Characteristic.
    for example:
    you want to freezee from 01.2005 to 10.1005. pass these values to the variable making a select from the custome table (Zfreezing) where you maintain 01.2005 to 10.2005.
    if you need then to reopen the planning, then cahnge the values in the tables and consequentely to the variables.
    the user can maintain entries in the tables.
    When you create the table assign an authorization group and then create a role with it and assing these the two users.
    Regards
    Mike

  • OSB10gR3 - Global Variables in Oracle Service Bus

    All,
    I have three proxies in my application. I want to use the same variable in all the proxies. I am not sure how to do this. Is there any possibility other than using Transport Headers.
    Thanks,
    Bals.

    Hi Bals,
    Can you explain more?
    OSB - global variable substitute?
    Re: Are there global variables in OSB??
    Regards,
    Anuj

  • Change member names in batch without the need to reload data

    Hi,I have several cubes on which the member names of one of the dimensions need to be changed. There are over 6000 members for that dimension. I used a rules file to change the member names and the previous data has to be reloaded (previous 13 months' data!). Is there a way to change the member names without the need to reload data?ThanksJane

    I'm not sure if this would solve your problem, but if it doesn't cause a problem to leave the existing names in place, you could just build a new alias table. By assinging new aliases, you would not have to reload all your data.Regards,

  • Set file name by global variable

    Hi,
    I am trying to load data from excel file. I have created batch job with global variable $GV_FileName. When I set a global variable value in a script inside Workflow the data load successfully. When I set a global variable value as a job property I receive the error: "The variable <$GV_FileName> of the is empty. Please initialize the variable to a valid value." But in  debug mode I see that the variable is not empty.
    Thanks in advance.
    Lyudmila

    In the job -> properties -> Global Variables tab you set the default value. The actual value used is set when executing the job. Could it be that?

  • Change Data Services Log Folder Path

    Hello,
    How can I change the default location of LOG folder in Business Objects Data Services
    Thanks

    you want to change the default log folder for job server or for all DS applications ?
    I don't think you will be able to change the default log folder of all DS applications
    for job server default log folder setting AL_JobServerLogDirectory1 is not enough, you need to set the following 2, in the DSConfig.txt and both the values should be set, set the AL_JobServerLogReDir1 to complete path without the sub folder name and AL_JobServerLogDirectory1 to just the name of sub folder
    for example:- you want to set the log folder to C:\JobServerLogs\log
    then set the values as below
    AL_JobServerLogReDir1=C:\JobServerLogs
    AL_JobServerLogDirectory1=log
    if you have multiple job servers then repalce the 1 suffix with the number of that job server

  • Shedule a Batch job to run every one min

    Hello all,
    I'm new to data services . My requirement is to shedule a batch job to run every minute .
    Please help me on this.
    Thanks,
    David king J

    Hi David,
    Regarding your query below is the suggestion from my side:
    Option I: Schedule the Job from Data Services Management Console below is the steps.
    (a) Log in in SAP Business Objects Data Services Management console
    Link:<Server Name>:<Port Number>/DataServices
    (b) Go to Administrator Tab and click on Batch Job
    (c) Select Batch Job and in right hand side click on Add schedule
    Where you have Option to schedule as per your requirement
    Note : You can use Data Services scheduler Or BOE scheduler.
    Option II: Schedule the Job from UNIX environment below is the steps.
    (a) Cron Tab Access rights required
    for checking cron tab rights use below command
    crontab -l  ---> List of schedule Jobs
    crontab -e  ---> for editing or creating new schedule
    (b)Log in in SAP Business Objects Data Services Management console
    Link:<Server Name>:<Port Number>/DataServices
    (c) Go to Administrator Tab and click on Batch Job
    (d) Select Batch Job and in right hand side click on Export execution command
    (e) Update the details regarding JOb Server, Global Variable if used in the Job and click on export;Now check the "SHELL Schript" .SH file mentioned in Data Services management console link
    (f) Copy and Paste the Script in your desired location
    (g) Then create SHELL script, below is sample example
    Test:
    1 * * * * /usr/sap/BODS/BO_Script/ABC.SH
    For cronjobs details please refer below link
    Run crontab (cron jobs) Every 10 Minutes
    Note: As Michael suggested that option is also good, you can also implement the same.
    Hope this will help!!!!!
    Thanks,
    Daya

  • How to send an updated list using batch job

    Hi All,
      The program displays data on the screen, if the data looks ok, then there is an option to update.
    When I run update, the program submits a batch job and the basic list gets updated, but my batch job is still sending the data on the screen. how can i send the updated list using batch job.
      Ex: output of the program
                    1         2
           there is an update button on the screen, when i press update button, my program submits in batch job, the above list becomes
                    1        2
                    3        4
    but when i check the spool, it shows the o/p as         1           2 ..it is not sending the updated list.
    Please suggest me how to send the updated data
    Thanks,
    Kumar

    Hi Krishna,
      I have added a button on the alv list. when i press update button, my program updates the list, then submits the batch job. I am attaching the sample test program i am trying with, please suggest me how can i get the updated list.
    *& Report  ZTESTSSSSS
    REPORT  ZTESTSSSSS.
    DATA: gt_fieldcat TYPE slis_fieldcat_alv,
          lt_fieldcat type slis_t_fieldcat_alv,
          gt_sort     TYPE slis_t_sortinfo_alv,
          g_repid     LIKE sy-repid,
          gt_layout   TYPE slis_layout_alv.
    start-of-selection.
      lt_return-type = 'S'.
      lt_return-message = 'test message'.
      append lt_return.
      CLEAR gt_fieldcat.
      gt_fieldcat-fieldname = 'TYPE'.
      gt_fieldcat-outputlen = '3'.
      gt_fieldcat-tabname   = 'LT_RETURN'.
      gt_fieldcat-seltext_l  =  'Type'.
      gt_fieldcat-seltext_m  =  'Type'.
      gt_fieldcat-seltext_s  =  'Type'.
      APPEND gt_fieldcat TO lt_fieldcat.
      CLEAR gt_fieldcat.
      gt_fieldcat-fieldname = 'MESSAGE'.
      gt_fieldcat-outputlen = '15'.
      gt_fieldcat-tabname   = 'LT_RETURN'.
      gt_fieldcat-seltext_l  =  'Message'.
      gt_fieldcat-seltext_m  =  'Message'.
      gt_fieldcat-seltext_s  =  'Message'.
      APPEND gt_fieldcat TO lt_fieldcat.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          I_CALLBACK_PROGRAM       = sy-repid
          I_CALLBACK_PF_STATUS_SET = 'SET_PF_STATUS'
          I_CALLBACK_USER_COMMAND  = 'USER_COMMAND'
          IT_FIELDCAT              = lt_fieldcat
        TABLES
          T_OUTTAB                 = lt_return
        EXCEPTIONS
          PROGRAM_ERROR            = 1
          OTHERS                   = 2.
    *&      Form  set_pf_status
          text
         -->RT_EXTAB   text
    FORM set_pf_status USING rt_extab TYPE slis_t_extab.
      SET PF-STATUS 'STANDARD'.
    ENDFORM. "Set_pf_status
    *&      Form  user_command
          text
         -->R_UCOMM      text
         -->RS_SELFIELD  text
    FORM user_command USING r_ucomm     LIKE sy-ucomm
                            rs_selfield TYPE slis_selfield.
      DATA: li_count TYPE I.
      IF r_ucomm EQ 'UPD'.
    Adding another message
        lt_return-type = 'S'.
        lt_return-message = 'Another test message'.
        APPEND lt_return.
        rs_selfield-refresh = 'X'.
        rs_selfield-col_stable = 'X'.
        rs_selfield-row_stable = 'X'.
        l_upd = 'X'.
       LOOP AT lt_return.
         WRITE: / lt_return-type, lt_return-message.
       ENDLOOP.
        IF sy-batch IS INITIAL.
          l_upd = 'X'.
    Open the Job
          CALL FUNCTION 'JOB_OPEN'
            EXPORTING
              jobname          = w_name
            IMPORTING
              jobcount         = w_number
            EXCEPTIONS
              cant_create_job  = 1
              invalid_job_data = 2
              jobname_missing  = 3
              OTHERS           = 4.
          IF sy-subrc = 0.
            SUBMIT ('ZTESTSSSSS') VIA JOB w_name NUMBER w_number
                    AND RETURN
                    WITH p_recnnr = p_recnnr.
            CALL FUNCTION 'JOB_CLOSE'
              EXPORTING
                jobcount             = w_number
                jobname              = w_name
                strtimmed            = 'X'
              EXCEPTIONS
                cant_start_immediate = 1
                invalid_startdate    = 2
                jobname_missing      = 3
                job_close_failed     = 4
                job_nosteps          = 5
                job_notex            = 6
                lock_failed          = 7
                OTHERS               = 8.
          ENDIF.
        ENDIF.
      ENDIF.
    ENDFORM.  "User_command
    Thanks,
    Kumar

  • Routine not getting called during Batch job posting of Shipment costs

    Hi,
    We have a routine created and attached to the condition type in the condition base type of shipment cost procedure.When the shipment cost is created by running a batch job (VI06) , the value  posted is the initial value determined withourt routine.
    The  routine is getting activated only when we go in u201CCondition tabu201D in shipment cost.
    Because of this,  correct values are getting calculated only when we click on u201Ccondition tabu201D,& getting wrong value in initial screen, which is not possible in batch job.
    Need your views / suggestions to fix this issue.We need to use batch job and enable rouitne before batch job posts the cost to the Service PO.
    Thanks in advance.
    Regards,
    Ameya K.

    Modified the routine program

  • ABAP query to schedule through batch job

    Hi
    i have requirement to schedule batch job for ABAP query report and download the report data to local drive throuh batch job.
    we have created ABAP query report, and this report should run through batch job and download the report data to local drive,,
    please help, how we can solve this.
    Regards
    Vanraj

    Hi Vanraj,
    I have two topics to talk about:
    1st: in order to schedule a background job, try to do the following:
      - Go to transaction SQ01 and select your query
      - Check that you've already created a variant, containing the required selection data.
      - Instead of running in online, go to "Query > Execute > Exec.in background"
      - This will allow you to schedule the background job.
    2nd: it is NOT possible for a background job to download a file to a local PC.
    I hope it helps.
    Kind regards,
    Alvaro

  • Chnage Data Services Log Folder Path

    Hello,
    How can I change the default location of LOG folder in Business Objects Data Services
    Thanks

    you want to change the default log folder for job server or for all DS applications ?
    I don't think you will be able to change the default log folder of all DS applications
    for job server default log folder setting AL_JobServerLogDirectory1 is not enough, you need to set the following 2, in the DSConfig.txt and both the values should be set, set the AL_JobServerLogReDir1 to complete path without the sub folder name and AL_JobServerLogDirectory1 to just the name of sub folder
    for example:- you want to set the log folder to C:\JobServerLogs\log
    then set the values as below
    AL_JobServerLogReDir1=C:\JobServerLogs
    AL_JobServerLogDirectory1=log
    if you have multiple job servers then repalce the 1 suffix with the number of that job server

  • Error while running a job in Data services

    We are using Data services BO XI R3 tool.
    We have created datastore for Oracle database  8i using Microsoft ODBC DSN. This is the source datastore.
    When job is to pull the data from source to 10g target, we get the below error in log file:
    25219           1        CON-120902     6/26/2009      Data services ODBC Driver Manager unable to find
                                                                              data source <...> in $LINK_DIR/bin/odbc.ini file.
    Is this a UNIX/Windows error?
    Please let us know how this can be resolved.
    Thanks in advance!

    I restart the jobserver and it work, for a moment :P, but now says more...
    1. SQL submitted to ODBC data source <Prova7> resulted in error <[MySQL][ODBC 3.51 Driver][mysqld-5.0.77]No database
    selected>.
    2. The SQL submitted is <select VERSION, SECURITYKEY, GUID from AL_VERSION where NAME = 'Repository Version' >.
    Cannot retrieve <Version> from the repository. Additional database information: <SQL submitted to ODBC data source
    <Prova7>
    3. resulted in error <[MySQL][ODBC 3.51 Driver][mysqld-5.0.77]No database selected>. The SQL submitted is <select
    VERSION, SECURITYKEY, GUID from AL_VERSION where NAME = 'Repository Version' >.>.
    SQL submitted to ODBC data source <Prova7> resulted in error <[MySQL][ODBC 3.51 Driver][mysqld-5.0.77]No database
    selected>.
    4. The SQL submitted is <select VERSION from AL_VERSION>.
    Cannot retrieve <Version> from the repository. Additional database information: <SQL submitted to ODBC data source
    <Prova7> resulted in error <[MySQL][ODBC 3.51 Driver][mysqld-5.0.77]No database selected>. The SQL submitted is <select
    VERSION from AL_VERSION>.>.
    5. Cannot retrieve <Version> from the repository. Additional database information: <SQL submitted to ODBC data source
    <Prova7> resulted in error <[MySQL][ODBC 3.51 Driver][mysqld-5.0.77]No database selected>. The SQL submitted is <select
    VERSION from AL_VERSION>.>.
    I check if mysql DB has thas tables (they were created when I setup DS), but i don't know why  this erros says  No database selected  the odbc file looks correct...
    Thank you,
    Edited by: ToloPalmer on Jun 1, 2010 9:51 AM
    Edited by: ToloPalmer on Jun 1, 2010 9:58 AM

Maybe you are looking for

  • ASSIGN_TYPE_CONFLICT in copy-function

    Hi, I'm having a problem in BSP0. When I execute a copy-planning function (the option "execute with trace"). BW is giving me the message: "0 data records were read, 0 of them were changed, 52 generated". The moment I click on the "save"-button, BW th

  • Video filename wont delete.  Vid is gone but name is still there.

    this problem has been going on since i bought this ipod. its a 2nd generation 16gb. when i delete a video from the screen on the ipod, the filename comes back after i plug my ipod into the computer. example, yesterday i copied about 150 small video's

  • How do I stop/cancel a movie download?

    I accidentally clicked rent when I really want to buy the movie. I'm doing it all on my ipad.

  • WHO HAS SEEN THIS

    DOES ANYONE NOW HOW TO FIX THIS SITUATION ON A MAC WHEN IT COMES UP?!?!? Please wait... If this message is not eventually replaced by the proper contents of the document, your PDF viewer may not be able to display this type of document. You can upgra

  • DBLINK status check or query timeout through it

    I am accessing some values through DB links in my triggers.The problem is if the remote db is down , the trigger much time (around 75sec) to give me error 12535, 00000, "TNS:operation timed out". I want to reduce this time , i tried changing in liste