Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 problem with exec sp_enum_sqlagent_subsystems

Author  Topic 

YogeshDesai
Posting Yak Master

136 Posts

Posted - 2007-04-12 : 09:23:53
Presently we are facing some strange issue related to SQL server jobs. We found that the list of “type” is only showing the “Transact-SQL script(TSQL)” Other options are not visible.
On further investigation after running the stored proc exec sp_enum_sqlagent_subsystems in MSDB database returning only a single record.
This ideally should return below given rows

ActiveScripting Active Scripting Subsystem
CmdExec Command-Line Subsystem
Distribution Replication Distribution Subsystem
LogReader Replication Transaction-Log Reader Subsystem
Merge Replication Merge Subsystem
QueueReader Replication Transaction Queue Reader Subsystem
Snapshot Replication Snapshot Subsystem
TSQL Transact-SQL Subsystem



But the actual output is

TSQL Transact-SQL Subsystem



The subsystem type in the sysjobsteps is still stored as CmdExec for old jobs. When you try to create a new job you won’t get this option in the drop box as mentioned earlier. When open the job steps it won’t show the CmdExec option it is automatically changed to TSQL.

The supporting DLL files [ SQLATXSS.DLL, SQLCMDSS.DLL, SQLREPSS.DLL] are exists in the C:\Program Files (x86)\Microsoft SQL Server\MSSQL\Binn folder.

This procedure fetches data from windows registry. When I tried to open the SQL Server agent Key from the windows registry id thrown the below given error
" Cannot open Sql Server Agent:Error while opening key"

Kindly suggest the method to make those options available. Few of our jobs are directly running by CmdExec options.



Yogesh V. Desai. | SQLDBA|

YogeshDesai
Posting Yak Master

136 Posts

Posted - 2007-04-16 : 02:36:44
No one have solution for this ? any body suggest any other resoures to search

Yogesh V. Desai. | SQLDBA|
Go to Top of Page
   

- Advertisement -