Job Scheduling for SQL Script procedure

Hi,
I am trying to activate an xsjob file with below format . But i am getting invalid file content error. Not sure where is the mistake. Unable to activate this xsjob file from my project explorer. Any inputs?
My SQL Script procedure is in package JobScheduler which is again in package opint. REF_INQTOORD is the name of the procedure.
"description": "Run OPI Jobs at regular intervals",
"action": "opint.JobScheduler::REF_INQTOORD",
"schedules": [
"description": "Run OPI Jobs at regular intervals",
"xscron": "* * * * * * 59",
regards,
Deepthi lakshmi.A

Thanks Thomas.
I was facing the same issue and removing the extra comma fixed it.
However the extra comma is brought in with the template code that is provided in the Studio. Might be something to check and get removed from the template.
Regards
Prashant

Similar Messages

  • Obtain Job invoker for a SSIS job scheduled in SQL Server Agent

    Hello,
    I was required to tell the job runner of a particular SSIS job scheduled in SQL Server Agent (in SQL Server Management Studio 2008 R2). I noticed that after running the job, a record can be found in msdb.dbo.sysjobhistory in the [message] columm saying that
    the job is invoked by 'Domain\User'. Is there anyway I can acquire and upload that information into an audit table by adding some additional script into the job? I heard about using token to get job_ID, but what about the actual user name who runs
    the job?
    Thanks

    Just add retry attempts to whatever number you want (2 as per your original explanation) in Job step properties as below
    Have a logic to include a delay of 10 mins . You can make use of WAITFOR function for that
    see
    http://www.mssqltips.com/sqlservertip/1423/create-delays-in-sql-server-processes-to-mimic-user-input/
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Scheduling an sql script using dbms_scheduler

    Hi Experts,
    I am having an oracle 10g database on windows platform. I have an sql script which has a normal set of sql statements (insertion and updation).
    I would like to schedule to run this sql script using dbms_scheduler but I've gone through certain sites and came to know that it's not possible to schedule an sql script using dbms_scheduler. Please let me know how I can schedule this script using dbms_scheduler.

    It is possible - in 10g and above you can use DBMS_SCHEDULER to call an external procedure, which in this case could be a call to your SQL file.
    Get's a bit more complicated with older versions, but still doable.
    But - unless there is a really good reason why you cannot do so, move this into a PL/SQL procedure as suggested.
    Carl

  • Regarding Background Job scheduling for file to file scenario

    Hi Guru's
    Good morining all of u
    I have one doubt on ...
    can we do background job scheduling for file to file scenario?
    Please give me response as early as possible.
    thanks and regards
    sai

    background jobscheduling for file adapter...
    you can schedule the file adapter according to your requirement as follows:
    In the  Communication Channel Monitoring Locate the link Availability Time Planning,  In Availability Time Planning, choose the Availability time as daily and say create, give the time details, select the communication channel in your case file adapter , goto the Communication Channels tab and filter and add the respective channel, save it
    /people/shabarish.vijayakumar/blog/2006/11/26/adapter-scheduling--hail-sp-19-

  • Background job scheduling for report

    Hi can any one explain me how to do background job scheduling for report periodically for every 15 min.

    Hi Rajesh thanks for your brief explanation.
    but I am new to abap so I can't understand exactly will you please make it clear for the below program
    REPORT  zklj.
    data: begin of itab occurs 0,
          partner  type but000-partner,
          type     type but000-type,
          BU_SORT1 type but000-BU_SORT1,
          end of itab.
    select partner type from but000 into table itab.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
      BIN_FILESIZE                    =
        FILENAME                        = 'd:\al1\ahaj.xls'
        FILETYPE                        = 'DAT'
      APPEND                          = ' '
      WRITE_FIELD_SEPARATOR           = ' '
      HEADER                          = '00'
      TRUNC_TRAILING_BLANKS           = ' '
      WRITE_LF                        = 'X'
      COL_SELECT                      = ' '
      COL_SELECT_MASK                 = ' '
      DAT_MODE                        = ' '
      CONFIRM_OVERWRITE               = ' '
      NO_AUTH_CHECK                   = ' '
      CODEPAGE                        = '400'
      IGNORE_CERR                     = ABAP_TRUE
      REPLACEMENT                     = '#'
      WRITE_BOM                       = ' '
      TRUNC_TRAILING_BLANKS_EOL       = 'X'
      WK1_N_FORMAT                    = ' '
      WK1_N_SIZE                      = ' '
      WK1_T_FORMAT                    = ' '
      WK1_T_SIZE                      = ' '
      WRITE_LF_AFTER_LAST_LINE        = ABAP_TRUE
      SHOW_TRANSFER_STATUS            = ABAP_TRUE
    IMPORTING
      FILELENGTH                      =
      TABLES
        DATA_TAB                        = itab.

  • Error occured while posting the job schedule for JDBCAdapter

    Hi Experts,
    In Application Log in Path: "/usr/sap/<SID>/DVExxxx/j2ee/cluster/server1/log", I see the error:
    #/Applications/ExchangeInfrastructure/AdapterFramework/Services/Util
    ##com.sap.aii.af.service.scheduler.SchedulerManagerImpl.postJobScheduleOthers(String, int)
    #J2EE_GUEST#0##n/a##f7956e1f6b4711e0b851001e0b5d3ac8#SAPEngine_Application_Thread[impl:3]_23##0#0
    #Error#1#com.sap.aii.af.service.scheduler.SchedulerManagerImpl#Plain
    ###error occured while posting the job schedule for JDBCAdapter_9f0584b1bcb33b94b67ada456233bcb8 with 2#
    Frequently are created Lock's and I need remove them in Visual Admin.
    Any idea about this error?
    Tks in advance.

    Hi,
    After applying the SP 23 Patch Level 08, LOCK JDBC problems stopped.
    But now when a network error or database error, the JDBC Sender Communication channels that were open to connection, are blocked.
    Even following the instructions in [SAP Note 1083488 - XI FTP_JDBC sender channel stop polling indefinitely (04_04S)|https://websmp230.sap-ag.de/sap(bD1wdCZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1083488] the problem continues.
    I've already set the parameter "taskTimeout" and selected the option "Disconnect from Database After Each Message Processing" but not resolved.
    Any ideas?
    Thanks in advance.

  • Oracle job scheduling for 2 different timezones

    I have a procedure which needs to be scheduled for different timezones based on one of the column in the table (ex: region).
    If region is California, it needs to be scheduled at 8:00am, if Newyork at 6:00am.
    Any ideas much appreciated!

    user497841 wrote:
    In my procedure, I populate a snapshot table for all regions.
    The procedure includes different inserts into the table per region.
    But insert for california should be scheduled at 8:00 and insert for newyork should be scheduled at 6:00am.
    Also, the job needs to take care of daylight savings.
    So i got to schedule the same procedure to run at 8:00am and 6:00 am.Assuming that you use DBMS_SCHEDULER then if you take a look at the definition of create schedule (or create job etc) then you will find that the scheduled time is timezone aware. eg
    DBMS_SCHEDULER.CREATE_SCHEDULE (
       schedule_name          IN VARCHAR2,
       start_date             IN TIMESTAMP WITH TIMEZONE DEFAULT NULL,
       repeat_interval        IN VARCHAR2,
       end_date               IN TIMESTAMP WITH TIMEZONE DEFAULT NULL,
       comments               IN VARCHAR2 DEFAULT NULL);This should then make your jobs timezone (and hence dst) aware.
    Niall Litchfield
    http://www.orawin.info/

  • OEM12c Job - Run a SQL Script from a central location against multiple targets

    Hi All:
    I need to execute a SQL script that can be run as OEM Job against multiple targets from a single location so that the output csv files are all in that central location. My problem is that the sql script job documentation says "Make sure that the script file is installed in the appropriate location on all targets". Is anyone aware of a way I can do this so that the SQl script is executed from a location on my OMS console?
    Cheers

    Hi
    Create SQL job to run against on the server. Save those results (csv) file in local target. And crete one OS job, to collect all csv files into your OMS Console.
    Regards
    Krishnan

  • Default directory for sql script in iSqlplus 10g

    I want to run an sql file from the url as "http://machine_name.domain:5560/isqlplus/dynamic?script=http://machine_name2.domain/myscript.sql
    ". What is the default directory to place the file myscript.sql in? Do I need to create a DAD for specifying a different directory?
    Am using Oracle 10g.
    AN

    Hi Alison,
    I tried putting the sql script on different directories on the Oracle server but the url doesnt seem to find the script at all. It gives an error "Cannot find sql script".
    I have not installed Oracle Application server 10g yet. Am only running Oracle Database 10g with iSqlplus and PL/SQL.
    AN

  • Log file for sql script

    Hi all,
    i ran a sql script to create indexes. it finishedits job. Now if I want to have the log of that what should have I added to the script.
    (The sql script is nothing but a bunch of create index statements)

    Hi,
    Use SPOOL.
    Eg:
    spool c:\test.log
    select * from dba_users;
    spool offMore info here:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14357/ch12043.htm#SQPUG125
    HTH,
    Paulo.

  • Escape code for sql scripts

    Hello,
    I have a sql script with an insert statement with the character '&' in the values clause, but it always prompts me for a value.
    Does exist an escape character for the '&'?
    Thanks

    Hi,
    Add
    SET SCAN OFF
    in the begining of the SQL script.
    Regds,
    -Sreeram

  • Default Connection for SQL scripts

    Hi everybody.
    Can somebody tell me if there is a way to set a "default connection" in SQL Developer?
    What I want to achieve: When I'm opening an SQL script with the SQL Developer it should already be chosen a defined connection, so that I only have to run the script.
    Normally after opening a script I have to choose manually a connection before running it. That's very annoying, if you have to run more than 100 scripts.
    Thanks in advance,
    Stefan

    A popular request. I suggest you vote on the various requests for this at the SQL Developer Exchange, to add weight for possible future implementation.
    Have fun,
    K.

  • ANNOUNCE:::::::: EJB job scheduler for Weblogic

    Paramus, NJ - June 26, 2001 - Indus Consultancy Services today announced
    an upgrade release of its Java scheduling product. Kronos Enterprise
    Scheduler is a full-featured job scheduling system written for the
    Enterprise Java (J2EE) environment.
    As a J2EE application, Kronos Enterprise Scheduler is able to achieve a
    high degree of portability, scalability, and reliability, features which
    are critical to an enterprise system.
    Additionally, Kronos Enterprise Scheduler provides a comprehensive set
    of scheduling options, powerful holiday definitions, job dependencies,
    administrative alerts, J2EE security integration, monitoring
    capabilities, Web and "rich client" user interfaces, and an open
    developer API. The combination of these features make Kronos Enterprise
    Scheduler one of the most complete solutions on the market today.
    Version 2.10 contains a number of minor enhancements and bug fixes and
    is a free upgrade for current customers.
    For more information on Kronos, please visit our products page at
    www.indcon.com

    I would hope that BEA will step up and develop a replacement for their
    deprecated APIs. It is unfair to ask their customers to buy something they
    got previously for free. I also understand that the future EJB spec will
    contain scheduling features.

  • KRONOS JOB Scheduler For WEBLOGIC CUSTOMERS

    Paramus, NJ - June 26, 2001 - Indus Consultancy Services today announced
    an upgrade release of its Java scheduling product. Kronos Enterprise
    Scheduler is a full-featured job scheduling system written for the
    Enterprise Java (J2EE) environment.
    As a J2EE application, Kronos Enterprise Scheduler is able to achieve a
    high degree of portability, scalability, and reliability, features which
    are critical to an enterprise system.
    Additionally, Kronos Enterprise Scheduler provides a comprehensive set
    of scheduling options, powerful holiday definitions, job dependencies,
    administrative alerts, J2EE security integration, monitoring
    capabilities, Web and "rich client" user interfaces, and an open
    developer API. The combination of these features make Kronos Enterprise
    Scheduler one of the most complete solutions on the market today.
    Version 2.10 contains a number of minor enhancements and bug fixes and
    is a free upgrade for current customers.
    For more information on Kronos, please visit our products page at
    www.indcon.com

    Paramus, NJ - June 26, 2001 - Indus Consultancy Services today announced
    an upgrade release of its Java scheduling product. Kronos Enterprise
    Scheduler is a full-featured job scheduling system written for the
    Enterprise Java (J2EE) environment.
    As a J2EE application, Kronos Enterprise Scheduler is able to achieve a
    high degree of portability, scalability, and reliability, features which
    are critical to an enterprise system.
    Additionally, Kronos Enterprise Scheduler provides a comprehensive set
    of scheduling options, powerful holiday definitions, job dependencies,
    administrative alerts, J2EE security integration, monitoring
    capabilities, Web and "rich client" user interfaces, and an open
    developer API. The combination of these features make Kronos Enterprise
    Scheduler one of the most complete solutions on the market today.
    Version 2.10 contains a number of minor enhancements and bug fixes and
    is a free upgrade for current customers.
    For more information on Kronos, please visit our products page at
    www.indcon.com

  • Job scheduling for different slection criteria

    Hi,
    I have a selection screen where user can select eg. say operation 700 or 800 (radiobuttons).
    Now user want to schedule the report as background job.
    Is that I need to create two jobs with two variants ( i.e for two operations 700 & 800)? So that user executes job with respective variant for the operation.
    Pl. clarify whether above steps are of right approach. Also any alternative ways to achieve the same.
    Thanks.
    From
    Reddy

    Hi,
    If user wants to run it as a background job as & when required( The program doesnt have any specific schedule for background execution), then use FM JOB_OPEN, JOB_SUBMIT, JOB_CLOSE to schedule it as a background job.
    If its a periodic job then you will have to create 2 variants & create 2 jobs in SM36.
    Best regards,
    Prashant

Maybe you are looking for

  • Cannot use aipprint from iphone 4 with ios 5.0.1. does not find the hp m1212nf laser.

    have a hp m1212nf mfp(airprint compatible according to the hp web site) hooked up via usb to mac running OS 10.6.8., other mac hooked up via router to same network, Can print from both machines to the printer, which has the latest firmware installed.

  • What is this "Recovered file" in Trash?

    Every time I log-in there is a folder in the Trash called "Recovered Files" which contains a document titled "com.shirtpocket.lastVolumeList" What is this document? Is it correct that it should be there at each log-in? Thanks for your help. John

  • Using ClipboardData Class

    Could anyone propose an example of using ClipboardData Class to read and write data to the clipboard? For example paste in the Clipboard an image with a tooltip and a hyperlink thank you very much

  • RandomAcessFile problem

    Hi, I'm trying to run a programm that reads characters from the file. As a example I took ment to be working sourse from my study book. And receive java.io.EOFExeption at java.io.RAndomAccessFile.readChar(Unknown sourse) public static void main(Strin

  • Libraries showing up on home share that ARE NOT mine

    I'm just starting college in another state so I enabled home sharing on my laptop so I could look at my content from back home on my laptop. At first the "Shared" tab on the left never showed up when I enabled it, but after a day, three different lib