SAP Function UPDATE_JOB_MSQ - MS SQL server function to enable/disable the job

Parameter Reference Type Length Default Optional Text
CON_NAME DBCON-CON_NAME C 30 'DEFAULT' X Logical name for a database connection
ENABLEFLG MSQSYSJOBS-ENABLED s 2
JOBNAME MSQSYSJOBS-JOBNAME C 100
SCHEMA MSSSCHEMA C 128 ' ' X Schema name

Parameter Reference Type Length Text
RETCODE MSQEXPORT-RETCODE s 2

Exception Text
CONNECT_ERROR
DB_ERROR
INTERNAL_ERROR
SQLAGENT_NOT_RUNNING

806342FAQ: Analyzing exclusive database locks on SQL Server