Job execution considerations

I've created a job on a SQL Server 2008 R2 instance. There is a step that executes an SSIS package on a SQL Server 2012 instance in the SSISDB catalog. It fails due to the following error:
 Option "/ISSERVER" is not valid.  The command line parameters are invalid. 
This leads to the question, which version of DTEXEC is executed, the local version, i.e. SQL Server 2008 R2 or the version of DTEXEC that lives on the server where the package is stored? In other words, is "/ISSERVER" and invalid parameter on 2008
R2 but valid on 2012? If so, why was it generated by 2008 R2?
I created a job that runs the same package on the 2012 server and it runs fine.
If I generate scripts of the job from each instance, the two scripts match exactly.
My thought was that it shouldn't matter that the job lives on an older version since the command executes on the machine with the newer version but it appears that the command is validated on the older version.
Does anyone have any insight?

Hi Frank,
Based on your description, you have configured a SQL Server 2008R2 job to run a SSIS 2012 package which is stored in SQL Server 2012 instane. Right? If I have something misunderstood, please point out.
I found a piece of description regarding this scenario in this document:
http://technet.microsoft.com/en-us/library/bb522577(v=sql.110).aspx, please see: 
We can run SQL Server 2005 Integration Services (SSIS) and SQL Server 2008 Integration Services (SSIS) packages by using the SQL Server 2012 version of the
dtexec utility or of SQL Server Agent. Whenever a SQL Server 2012 Integration Services (SSIS) tool loads a package that was developed in SQL Server 2005 Integration Services (SSIS) or SQL Server 2008 Integration Services (SSIS),
the tool temporarily converts, in memory, the package to the package format that SQL Server 2012 Integration Services (SSIS) uses. If the SQL Server 2005 Integration Services (SSIS) or SQL Server 2008 Integration Services (SSIS) package has issues that prevent
a successful conversion, the SQL Server 2012 Integration Services (SSIS) tool cannot run the package until those issues are resolved.
In addition, the dtexec 2008 version(SSIS 2008) doesn't support to run the package was developed in SQL Server 2012 Integration Services (SSIS). For more information, please refer to the article below:
Interoperability and Coexistence (Integration Services):
http://msdn.microsoft.com/en-us/library/bb522577(v=sql.110).aspx
If you have any feedback on our support, please click
here.
Elvis Long
TechNet Community Support

Similar Messages

  • Schedule Job Execution problem

    Hi All,
    The schedule jobs are taking more time.... to complete
    We have schdule jobs which will run for every hour,soo to execute the job sometimes it is taking 1hr and sometime 30mins
    please help me to have the Job execution total time to be constant to near 30mins.

    preethi wrote:
    Hi All,
    The schedule jobs are taking more time.... to complete
    We have schdule jobs which will run for every hour,soo to execute the job sometimes it is taking 1hr and sometime 30mins
    please help me to have the Job execution total time to be constant to near 30mins.Thread: HOW TO: Post a SQL statement tuning request - template posting
    HOW TO: Post a SQL statement tuning request - template posting

  • Sql Server Agent Job Execution

    Hi All,
    I want to run a sql agent job (one job is execution one package) in such a way that as soon as job1 completes , it should be run again (without any time loss)
    I am folowing Below approach:
    Job 1 has 2 steps , in both the steps I am calling same package to execute . After that on Success/Failure action. I am selecting the same step.it is running in an infinite loop and continue fetching data.
    is there any dis-advantages on the above approach?
    Is there any other approach to achive the Same?
    Thanks in Advance....

    Hello,
    The two-step recursive (on success) technique should be fine.  I would just recommend the introduction of short-circuit”techniques that stops a runaway job in the event of logical issues (the “on failure” action will still catch the general error issues).
    Other patterns that are sometimes used for continual-execution requirements:
    Service Broker (for example, continually watch the queue and act on new messages)
    T-SQL home-grown job that runs in a loop and then executes the job based on some condition – and would require you to check job execution state
    For a continuously running package watching for new files in a folder, one example is detailed in the following blog post:
    Continuously watching files with WMI Event Watcher Task
    Best Regards, Joe Sack, MVP, SQL MCM | SackHQ.com

  • Enable server group in BPC job execution

    Dear Experts
    [Note 1476057 - Enable server group in BPC job execution|https://websmp130.sap-ag.de/sap/bc/bsp/spn/sapnotes/index2.htm?numm=0001476057&nlang=E]
    After upgrade, the server group logic will be :
    1, Create a correct server group with server assigned,
        job will be executed in specified server group;
    2, Create a server group without server assigned,
         job will be successfully submitted to BW,
         but will not be executed until server is assigned to the server group;
    3, Incorrectly specify a server group in web admin,
         client will get error message when run package.
    As I understand the group server is defined in BW Server. Where should I specify this group server in BPC. I could not find the parameter in BPC Web Admin - Appset Parameters or BPC Server (.Net Server) - Server Options.
    Appreciate if somebody can help ?
    Thanks
    Ashish
    Edited by: Ashish Narway on Oct 14, 2010 2:55 PM

    HI John,
    The group settings in WGM SL and Leopard are different.
    Yes, they are. I booted to my eval copy of SL Server and ran through the settings in WGM, Server Admin and Server Preferences; as you pointed out, all the mail list admin tools I could find are in the Mail service in Server Admin.
    The only thing that may be of interest that I could find is that for the group mail list, the email address for the group is group_shortname@ServerDNSname, not groupshortname@yourdomain (this is in the Mail Services Admin Guide for 10.6). This might explain why your email to the group may have been rejected?
    -Doug

  • Got error in job execution, but the standalone procedure runs fine.

    I got error in job execution. But it runs fine as standalone procedure. Where could it be wrong?
    _>exec dbms_job.run(145373);
    BEGIN dbms_job.run(145373); END;
    ERROR at line 1:
    ORA-12011: execution of 1 jobs failed
    ORA-06512: at "SYS.DBMS_IJOB", line 481
    ORA-06512: at "SYS.DBMS_JOB", line 275
    ORA-06512: at line 1
    I checked the alert log file
    ORA-06550: line 1, column 101:
    PLS-00103: Encountered the symbol "RPTIMPORT" when expecting one of the following:
    := . ( @ % ;
    Thu May 2 12:59:34 2013
    Errors in file /oracle/admin/PDAMLPR1/udump/pdamlpr11_ora_15574.trc:
    ORA-12012: error on auto execute of job 146925
    ORA-06550: line 1, column 133:
    PLS-00103: Encountered the symbol "" when expecting one of the following:
    := . ( @ % ;
    The symbol ";" was substituted for "" to continue.
    The trace file:
    *** ACTION NAME:() 2013-05-02 12:43:48.261
    *** MODULE NAME:(SQL*Plus) 2013-05-02 12:43:48.261
    *** SERVICE NAME:(SYS$USERS) 2013-05-02 12:43:48.261
    *** SESSION ID:(1811.10644) 2013-05-02 12:43:48.261
    *** 2013-05-02 12:43:48.261
    ORA-12012: error on auto execute of job 145373
    ORA-06550: line 1, column 133:
    PLS-00103: Encountered the symbol "" when expecting one of the following:
    := . ( @ % ;
    The symbol ";" was substituted for "" to continue.
    *** ACTION NAME:(********* Schedule Job: Report C) 2013-05-02 12:47:58.178
    *** MODULE NAME:(PATIENT_REMEDIATE_JOB) 2013-05-02 12:47:58.178
    *** 2013-05-02 12:47:58.178
    ORA-12012: error on auto execute of job 145373
    ORA-06550: line 1, column 133:
    PLS-00103: Encountered the symbol "" when expecting one of the following:
    := . ( @ % ;
    The symbol ";" was substituted for "" to continue.
    *** 2013-05-02 12:52:43.409
    ORA-12012: error on auto execute of job 146924
    ORA-06550: line 1, column 101:
    PLS-00103: Encountered the symbol "RPTIMPORT" when expecting one of the following:
    := . ( @ % ;
    *** 2013-05-02 12:59:34.651
    ORA-12012: error on auto execute of job 146925
    ORA-06550: line 1, column 133:
    PLS-00103: Encountered the symbol "" when expecting one of the following:
    := . ( @ % ;
    The symbol ";" was substituted for "" to continue.
    ~
    ~
    The job was created as the following with 30 min interval:
    The job number: 145373
    DECLARE
    X NUMBER;
    BEGIN
    SYS.DBMS_JOB.SUBMIT
    ( job => X
    ,what => 'RPTIMPORT.pr_exec_pop_ddl21_data_irt'
    ,next_date => to_date(sysdate)
    ,interval => '/*30:Mins*/ sysdate + 30/(60*24)'
    ,no_parse => TRUE
    SYS.DBMS_OUTPUT.PUT_LINE('Job Number is: ' || to_char(x));
    END;
    Thanks for help!

    the issue is resolved. I missed to put ";" at end of what statement. Thank all.

  • JOB execution fails due to Access failure to procedures and views using certificates (encryption)

    Job execution fails using SQLServerAgent account but runs successfully under another windows personal account.
    Both have same security access on server and DB.
    The Windows account is mapped to dbo on the database .
    The package uses procedures and views which are using encryption by certificates.
    Please advice on how to provide security so that job runs from the agent

    Hi Prady26,
    If the SQL Server Agent Service account and the proxy account generated based on a Windows user account have the same permissions on both the SQL Server database and the File System of the server, it may be related to the protection level of the package.
    If the package is set to encrypt with UserKey, the job will fail unless it runs under the security context of the Windows user that designs the package in BIDS/SSDT. You can check the
    ProtectionLevel of the package in the BIDS/SSDT to see if it is EncryptSensitiveWithUserKey or EncryptAllWithUserKey, if it is, re-deploy/reinstall the package and set the package protection
    level to “Relay on server storage for encryption”.
    If the issue persists, post the error message in the job history for further analysis.
    Regards,
    Mike Yin
    If you have any feedback on our support, please click
    here
    Mike Yin
    TechNet Community Support

  • Find aging of concurrent jobs execution for last one year in R12

    DB:11.2.0.3.0
    EBS: 12.1.3
    O/S: Red Hat Linux
    Hi all,
    Could anyone please share the resolution for the below question in R12 ?
    1)      Considering only 3 weeks of data is maintained in FND tables, which means we cannot use fnd_concurrent_requests to get list of jobs submitted in last one year. Is there any other way what we can get to find out aging of jobs execution for last one year?
    Thanks for your time!
    Regards,

    Locking this thread - Pl continue the discussion in your original post - Identifying customizations in R12
    Unless you have backups of the deleted data, this is not possible

  • Error on 11g 2 during external job execution using credential

    Hi,
    I need a help from you.
    I am getting below error on 11g 2 during external job execution using credentials -
    EXTERNAL_LOG_ID="job_805812_412409",
    ORA-27369: job of type EXECUTABLE failed with exit code: Arg list too long
    STANDARD_ERROR="Launching external job failed: Invalid username or password"
    Find credentials creation & other required details -
    EXECUTE DBMS_SCHEDULER.create_credential(credential_name =>'SYS.SCRIPTS',username =>'scripts',password => 'u5342222');
    BEGIN
    DBMS_SCHEDULER.CREATE_JOB(
    job_name => 'AUTOLOAD_JOB',
    job_type => 'EXECUTABLE',
    job_action => '/qpshell/dev/scripts/autoload.sh',
    repeat_interval => 'freq=MINUTELY;interval=5;byhour=1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22;',
    enabled => true,
    auto_drop => false,
    credential_name => 'SYS.SCRIPTS');
    end;
    -rw-r--r-- 1 root oinstall 1571 Nov 11 14:42 /u01/app/oracle/product/11.2.0/dbhome_1/rdbms/admin/externaljob.ora
    content of externaljob.ora -
    run_user = nobody
    run_group = nobody
    run_user=scripts
    run_group=qvcscript
    -rwsr-x--- 1 root oinstall 3068424 Nov 11 13:13 extjob
    -rwxr-xr-x 1 oracle oinstall 3068424 Nov 11 13:13 extjobo
    root@knudwdbs2:/u01/app/oracle/product/11.2.0/dbhome_1/bin> ls -ltr extjob*
    -rwx------ 1 oracle oinstall 3068424 Nov 11 12:45 extjoboO
    -rwsr-x--- 1 root oinstall 3068424 Nov 11 12:45 extjobO
    -rwxr-xr-x 1 oracle oinstall 3068424 Nov 11 13:13 extjobo
    -rwsr-x--- 1 root oinstall 3068424 Nov 11 13:13 extjob
    Kindly suggest how it can be fixed. Early response much appreciated.
    Thanks
    Ajay
    --

    Hi,
    When you are logged in to the OS, can you do an "su" to the "scripts" user using this exact password (passwords are case-sensitive) ?
    Also make sure that you have libpam.so located somewhere in $LD_LIBRARY_PATH and that it points to a real file.
    external jobs with credentials use jssu, but I don't think permissions on jssu are the problem here (it should be setuid to root).
    Hope this helps,
    Ravi.

  • Job executions lost in EM Grid Control

    Hello,
    We have lost all executions from the job execution pane except the backup jobs. We have lost also all scheduled jobs. Any idea about ?
    Thanks,
    Manuel.

    Did you create the email Notification Schedule?

  • Background Job execution enabled via pro-active monitoring

    Hi community,
    We're interested in CPS Redwood to help us in proactive monitoring of background jobs (Ad Hoc and Periodic) and impacts in system performance.
    The idea would be to have somehow a tool that monitor the number of available working process and system performance. When the system workload reaches a certain level, ex: 95%, this tool would intercept new jobs execution. After this, when the system workload goes down and the resources are free, the system would release all jobs to normal run again.
    Is it possible via CPS Redwood?
    Is there any other way to have something automatic like this?
    Thanks,
    Jose Antonio.

    Hi Jose,
    This is possible indeed using CPS. CPS can monitor various load metrics of your system, then adapt the scheduling logic if thresholds are exceeded.
    In your scenario, you would basically always intercept all jobs, but normally not enforce any limits so effectively that means all jobs still run immediately. If the load is too high, CPS would enforce a limit, so then jobs will be delayed until the load is lower again.
    Regards,
    Anton.

  • How to suspend (all) job execution ?

    Can I define jobs but suspend their execution (until I enable job execution again) ?
    If yes, how do I suspend them ?

    Hi,
    You can visit here:
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14231/scheduse.htm#i1009724
    and also visit here:
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14231/scheduse.htm#i1009725
    Adith

  • Is there a way to generate job execution scripts from the command line?

    The customer is planning to change DI production server configuraiton and needs to regenerate job execution scripts for hundreds of jobs. Their question is - instead of going through web admin and doing it one by one, is there a way to run a batch command and generate all jobs with the same job server information from one repository? I looked at the "al_engine" command but didn't find the options to do so. Did I miss something? This is for a DI 11.5.3 on HPUX.
    Thanks,
    Larry

    I also suggested that but the customer was so afraid of messing things up that they wanted to find out if there is another way. Thanks a lot for the confirmation.
    Larry

  • Notification Email/Alert - Including Job execution details(step output)

    Hi,
    I am using Oracle 10g R2 GRID Control on Windows. I would like to add the execution details to the default notification (Long)emails. Is there any possibility without adding any code in current version or later version to include step output(failed/Passed details)?
    Thaks for your help.

    I am already getting notification email/alert with just status failed/succeded. But I want to include the step output(job execution details) to that default email given by Oracle. I could write PL/SQL block to manipulate this,but looking for default way to include these details in any version?

  • Schedules Error  - Job execution failed because the user who scheduled this

    Hi
    I wonder if anyone can help
    I have a report that I can deliver by email through the BI Publsiher front end without issue. However when I call the report to send by email through my oracle 11G Database, as the same BI User I get the following error message
    "oracle.apps.xdo.servlet.scheduler.ProcessingException: Job execution failed because the user who scheduled this job has no more permission or priviledge to run the job."
    Any suggestions?
    Thanks
    Kev

    The scheduler appears to be the culprit here so try the following:
    1. Open the [repository_home]/Admin/Scheduler/quartz-config.properties file
    2. Add the following entry:
    org.quartz.threadPool.threadsInheritContextClassLoaderOfInitializingThread=true
    3. Restart the environment (xmlpserver)
    4. Rerun the report via the scheduler

  • Query to find out weekly average of job execution time

    I have a table which has the following details:
    CREATE TABLE JOB_DETAILS (JOB_START_DATE DATE,
    JOB_END_DATE DATE,
    JOB_START_TIME NUMBER,
    JOB_END_TIME NUMBER,
    HOURS_OF_EXECUTION NUMBER,
    DETAILS VARCHAR2(20));
    INSERT INTO JOB_DETAILS VALUES ('01-FEB-2007','01-FEB-2007',10.04,20.09,10.04,'WEEKDAY');
    INSERT INTO JOB_DETAILS VALUES ('07-FEB-2007','07-FEB-2007',00.00,00.00,00.00,'WEEKEND');
    commit;
    Job_Start_Date Job_End_Date Job_Start_Time Job_End_Time Hours_Of_Execution DETAILS
    1/2/2007 1/2/2007 10:04 20:09 10:04
    1/7/2007 1/7/2007 0:00 0:00 0:00 Weekend
    Our jobs wont run on week ends and on holidays where we see "Hours_of_execution" as 0.
    Week means Monday to Friday for me.
    (1) I want a query which gives me a weekly,monthly average of how many hours the job ran.
    (2) I want to find out the week, when the average execution of the job is > 10 hours.
    can anyone help in framing this query to get the details?
    Thanks

    Why make it so hard for yourself by removing the time from the date and storing it separately?
    alter session set nls_date_format='DD/MM/YYYY HH24:MI:SS'
    session altered
    WITH t AS (SELECT SYSDATE start_date, SYSDATE+0.61 end_date FROM dual)
    SELECT start_date, end_date, numtodsinterval(end_date-start_date,'DAY') execution_time
    FROM t
    START_DATE          END_DATE          EXECUTION_TIME
    11/12/2008 11:22:21     12/12/2008 02:00:45     +00 14:38:24.000000

Maybe you are looking for

  • Monitor other account access to a server

    Hello, I am administrator of a server used exclusively for backups. About 15 people use a simple, fast and cheap utility (synk standard) on their macs to automatically connect to the server and back up their data every day. For some reason, some of t

  • Max. no. of rows in GridbagLayout

    Is there any limit for number of rows (y) in GridbagLayout? Recently I mistyped the 'Y' parameters as 888 during creating a GUI. The code compiled smoothly but it gave ArrayIndexOutOfBoundsException: 888 at run time. Anybody has some idea about it. v

  • I don't have a startup disk

    Okay so my MacBook will not turn on. It is at a grey screen with no apple logo or anything. Just a blank screen. I hold down the option key so it brings me to internet recovery . After that it gives me options like reinstall OS X, restore from time m

  • Invalid Path Showing Up

    I am converting 8.5 reports to 11.5.  When I try to run the new report it is asking me for a username and password to an old path.  The old path is listed and if I delete the path, then I can view my report. I have looked in the set datasource locati

  • Special language signs

    Hi! I have a application that mangages adresses. The adresses are stored in a MS Access database. All columns are "Text" (VARCHAR(50)). I use the "sun.jdbc.odbc.JdbcOdbcDriver" to connect to the Database. Now the Problem: I had to instert special lan