No ParkingNo ParkingMetallisoft Forums
No ParkingNo ParkingVisual Basic
 No ParkingNo ParkingReturn Exit Code in SQL Server cmdEXEC job - Pages: 1 
Reply to Topic
Last Visit: Saturday, June 16th, 1973 at 04:20 AMRegister / Log In
AuthorTopic: Return Exit Code in SQL Server cmdEXEC job
 Metallisoft
Site Owner
83 Posts
posted 9/15/2003 9:31 AM EST (US)  View profile  Send EMail  View Homepage
Option Explicit
Public Declare Sub ExitProcess Lib "kernel32" (ByVal uExitCode As Long)

Public Sub main()
Dim rc As Long

' return code (default for CmdExec Job Step exitcode 0 implies success)
rc = 1

Call ExitProcess(rc)
End Sub

______________________
Get stoned; drink liquid cement
Pages: 1 
  All times are Pacific Time Zone (US). All dates are in MM-DD-YY format.
Reply to Topic


No Parking
Questions and comments may be sent to the Webmaster
Copyright  ©  1997-2007 Metallisoft Corporation.
Page Generated  Fri, Mar 29th, 2024 at 08:37 AM

[ Script Execution time: 32ms :: 4 queries used ]


Microsoft MVP 2004-2007