Desktop User Guides > Professional > Data management scripting > Data Management Script (DMS) file > Sections in the DMS file > Event section > Objects in the OnAfterJobEnd Event sections
 
Objects in the OnAfterJobEnd Event sections
Provided you have specified an input metadata source, the Job object is available as an intrinsic variable called dmgrJob in the OnAfterJobEnd Event section. You can access all of the properties on the Job object in this Event section except for the Questions collection, which is not available. If you have the Professional Tables Option, the Job.TableDocuments property returns a collection of TableDocument objects, one for each suitable output data source. See Table scripting in a data management script.
If you have not specified an input metadata source, you can use an OnAfterJobEnd Event section, but the Job object is not available.
Objects in other object models can be accessed using the CreateObject function.
See
Event section