
Portal User asked a question.
Data Update Job termination?
Is there a way to terminate or cancel a Data Update Job in progress without damaging anything, specifically SQL?
Our DUJ has been running for 3 days, a couple days after we completed the SLM 9 upgrade. There is obviously an issue but cannot find out what it is.
Christopher Jung:3/29/2019:
If DUJ failed, run reset of tables.
--Step 1: Stop the job if necessary
USE msdb
GO
EXEC dbo.sp_stop_job
N'License Manager Data Update'
--Step 2: Update Job Status
UPDATE tblJobStatus
SET LastJobStatus = 'Job finished successfully'
--Step 3: Update the log
UPDATE tblJobLog
SET Message = 'Job finished successfully'
WHERE JobType = 'JOB_RUN'
--New Step for SLM 9 (DUJ 2.0): Zeroing out the temp tables
USE SnowLicenseManager
update inv.tblJobParallelStep set [Status] = 0 where Status= -1
--Step 4: Update System Info table (note this is needed to tell IIS to allow access to the SLM)
UPDATE tblSystemInfo
SET LastJobStatus = 'Job finished successfully'