Back to Index

 

Coding Hooks

There are 6 areas in which you can write your own Visual Basic .NET code to further enhance your jobs.  These are coding hooks which get called through the life of your job.

1.  Global variables and objects allows you to define global variables and create instances of class objects to use throughout your jobs and is located on the Job Properties.

2.  Pre-Job code:  This code is executed prior to your job beginning.  This function hook is called after basic initialization occurs, but before any job processes actually run.  This property is located on the properties window for each job.  Double-click on the designer window to get the Job Properties, it should look something like this:

3.  Post-Job code: This code is executed after your job completes successfully.  If your job is Stopped, or Aborts this code will not be executed.  

4.  Pre-Join code:  This code will be executed just before a Join Process begins running.  You can set this property by clicking on a Join object and then pressing the F4 key to get the properties window, or by right-clicking on a Join object and selecting the properties menu option.  Then, click on the Ellipse button for the property to get to the code-behind window.

5.  Post-Join code:  This code is executed after the successful completion of the Join process.

6.  Batch Object:  You can also write code in 1 or more Batch objects. (see more...)

 


© 2003 - 2007 Relational Solutions, Inc. - All rights reserved