<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Vipul Shah's SQL Blogs : DTS</title><link>http://blogs.technet.com/vipulshah/archive/tags/DTS/default.aspx</link><description>Tags: DTS</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>How to identify which DTS Package is being called by scheduled job</title><link>http://blogs.technet.com/vipulshah/archive/2007/03/12/how-to-identify-which-dts-package-is-being-called-by-scheduled-job.aspx</link><pubDate>Mon, 12 Mar 2007 18:34:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:690202</guid><dc:creator>vishah</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.technet.com/vipulshah/comments/690202.aspx</comments><wfw:commentRss>http://blogs.technet.com/vipulshah/commentrss.aspx?PostID=690202</wfw:commentRss><description>&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"&gt;I have seen where DBAs would right click the DTS Package (SQL 2000) and schedule a job.&amp;nbsp; If you schedule a package to run that way, the SQL Job it creates will have an encrypted name for DTS package in SQL job step - similar to what you see below:&amp;nbsp;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"&gt;DTSRun /~Z0x5B431B25562BD74F4CB941E51326350F8A91C9437DA8D73EBD1C2DE9619DD5E319023043855FECBEE1C4212EC9C8F723E63AD6FEED07C6E6C271FA081A7A944807AF9338BFBD84172F0918E1ABADF33574D3102F3EB5FA5B853FF6A24B366B006E9991A21B8C69B71750032AE391DF759D0B3B09EEAB94B687E05E66CE7307C6304204 &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"&gt;To avoid this, you can&amp;nbsp;simply create a&amp;nbsp; SQL Job and choose CmdExec as a step type and type following in your step:&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"&gt;&amp;nbsp;DTSRun /N"your package name" /S&amp;lt;servername&amp;gt; /E&amp;lt;for trusted connection&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"&gt;&amp;nbsp;OR&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"&gt;DTSRun /N"Your package Name" /S&amp;lt;ServerName&amp;gt; /U&amp;lt;UserName&amp;gt; /P&amp;lt;Password&amp;gt;&amp;nbsp;&amp;nbsp; --- for SQL authentication&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"&gt;That way you will have meaningful package name in your job.&amp;nbsp; But in case for some reason, you do have those Jobs with weird encrypted DTS package name, here is how you can identify which package is being called by that step (this is something I found from SQL Forum):&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"&gt;1. Copy the DTSRUN line (everything including the DTSRUN)&lt;BR&gt;2. Open a Windows Command Line window&lt;BR&gt;3. Paste the DTSRUN line into the CMD window.&lt;BR&gt;4. To the end of the line, add /!X /!C&lt;BR&gt;/!X = do not execute /!C = copy results onto Windows Clipboard&lt;BR&gt;5. Run the command&lt;BR&gt;6. Open Notepad&lt;BR&gt;7. Click Edit&amp;gt;Paste&lt;BR&gt;that will paste the actual command into Notepad and it will show the name of the package.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=690202" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/vipulshah/archive/tags/DTS/default.aspx">DTS</category></item></channel></rss>