Posted on 2009-07-14
We are running SQL Server 2008 64 Bit. Ultimately we want to execute an SSIS job from a stroed procedure. The SSIS job is a simple job that imports data from MS Access table. No parameters need to be passed to the job. It simply needs to be executed from a Stored Procedure.
We have integration services installed on the same server.
We crated the job called GLExport. The job is saved on the server. It is located int he MSDB. The package can be run with out issue from Integration Services.
This is the command we are trying to run from a query window:
exec msdb.dbo.sp_start_job @job_name='GLExport'
We get this error message:
Msg 14262, Level 16, State 1, Procedure sp_verify_job_identifiers, Line 67
The specified @job_name ('GLExport') does not exist.
The job does exist within integration services. However if I run select * from sysjobs my job is not there?
Can someone please clarify how tu use the sp_start_job and pass in the proper SSIS job and or location?