JAMS 6.x Help
Job Class Members
Properties  Methods  Events


The following tables list the members exposed by Job.

Public Constructors
 NameDescription
Public ConstructorJob ConstructorCreates a new Job.  
Top
Public Properties
 NameDescription
Public PropertyACLAccess Control List  
Public PropertyAdvanceWarningAmount of time before an SLA that notification should be sent if the SLA will not be met  
Public PropertyAgentNodeGets or sets the AgentNode for this Job. If this job is run on a remote node, this specifies the name of that node.  
Public PropertyAlertsGets the list of Alerts for this Job.  
Public PropertyAlertsModifiedGets a boolean which indicates if the Alerts were modified after the Alert was Loaded.  
Public PropertyAutoSubmitGets or sets the AutoSubmit property. If set to true, this job will be automatically submitted based upon it's ScheduleDate and ExceptForDate values.  
Public PropertyAvgBufferedIOCountGets the average buffered I/O count for this job.  
Public PropertyAvgCountGets the number of times that the Job's averages have been updated.  
Public PropertyAvgCpuTimeGets the average Cpu time consumed by this job.  
Public PropertyAvgDirectIOCountGets the average direct I/O count for this job.  
Public PropertyAvgElapsedTimeGets or sets the average elapsed time for this job.  
Public PropertyAvgPageFaultsGets the average number of page faults incurred by this job.  
Public PropertyAvgWorkingSetPeakGets the average peak working set for this job.  
Public PropertyBadPatternA regular expresion that is matched against the job's log file.  
Public PropertyBatchQueueGets or sets the JAMS Batch Queue that the Job should be submitted to.  
Public PropertyBatchQueueIDGets and Sets the ID of the Batch Queue.  
Public PropertyBatchQueueNameGets or sets the batch queue that this job should be submitted to. This overides the default batch queue that is specified in the job's folder definition.  
Public PropertyDefaultDateGets or sets the default submit date to use when this job is manually submitted.  
Public PropertyDefaultSubmitTimeGets or sets the default submit time to use when this job is manually submitted.  
Public PropertyDependenciesGets the list of Dependencies for this Job.  
Public PropertyDependenciesModifiedGets a boolean which indicates if the Dependencies were modified after the Job was Loaded.  
Public PropertyDescriptionGets or sets the description of this Job.  
Public PropertyErrorGets an error message that describes the errors in the object. (Inherited from MVPSI.JAMS.BasePublicObject)
Public PropertyExceptForDateGets or sets this job's exception dates. This is used to specify days when this job should not run. You can specify more than one date separated by commas. Use JAMS natural language date specifications.  
Public PropertyGoodPatternA regular expresion that is matched against the job's log file.  
Public PropertyHasErrorsThe HasErrors property can be used to determine if the object has any errors. If the object needs to be validated, it is done before returning. (Inherited from MVPSI.JAMS.BasePublicObject)
Public PropertyHomeDirectoryGets or sets the home directory for this Job.  
Public PropertyInEditIs this object in the middle of an edit? (Inherited from MVPSI.JAMS.BasePublicObject)
Public PropertyItemReturns any error messages currently associated with this column. (Inherited from MVPSI.JAMS.BasePublicObject)
Public PropertyJobIDGets an integer that uniquely identifies this Job definition.  
Public PropertyJobNameGets or sets the name of the Job  
Public PropertyKeepLogsGets or sets the KeepLogs property. When set to true, the Job's log file is kept upon completion. If specified, this overrides the default in the Job's Folder definition.  
Public PropertyLanguageGets the scripting language used by this Job.  
Public PropertyLastAutosubmitGets the scheduled date and time that this Job was last automatically submitted for. This is a read-only property, it is updated when JAMS automatically submits the Job.  
Public PropertyLastAutosubmitUTCGets the scheduled UTC date and time that this Job was last automatically submitted for. This is a read-only property, it is updated when JAMS automatically submits the Job.  
Public PropertyLastChangeGets the date and time when this Job definition was last changed.  
Public PropertyLastChangedByGets the user who last changed this Job.  
Public PropertyLastChangeUTCGets the UTC date and time when this Job definition was last changed.  
Public PropertyLastErrorGets the date and time of the most recent error completion of this Job.  
Public PropertyLastErrorUTCGets the UTC date and time of the most recent error completion of this Job.  
Public PropertyLastFatalGets the date and time of the most recent fatal completion of this Job.  
Public PropertyLastFatalUTCGets the UTC date and time of the most recent fatal completion of this Job.  
Public PropertyLastInfoGets the date and time of the most recent informational completion of this Job.  
Public PropertyLastInfoUTCGets the UTC date and time of the most recent informational completion of this Job.  
Public PropertyLastResetGets the most recent reset date and time. When a job is reset, all of it's dependencies are reset and they must run again.  
Public PropertyLastResetUTCGets the most recent reset UTC date and time. When a job is reset, all of it's dependencies are reset and they must run again.  
Public PropertyLastSuccessGets the date and time of the most recent successful completion of this Job.  
Public PropertyLastSuccessUTCGets the UTC date and time of the most recent successful completion of this Job.  
Public PropertyLastWarningGets the date and time of the most recent warning completion of this Job.  
Public PropertyLastWarningUTCGets the UTC date and time of the most recent warning completion of this Job.  
Public PropertyLoadedFromGets the JAMS Server that this Job was loaded from.  
Public PropertyLogFilenameGets or sets the file specification that should be used for this job's log files. The default is the job name with an extention of .LOG.  
Public PropertyMaxBufferedIOCountGets the maximum buffered I/O count for this job.  
Public PropertyMaxCountGets the number of times that one or more of the job's maximums has been updated.  
Public PropertyMaxCpuTimeGets the maximum Cpu time consumed by this job.  
Public PropertyMaxDirectIOCountGets the the maximum direct I/O count for this job.  
Public PropertyMaxElapsedTimeGets the maximum elapsed time for this job.  
Public PropertyMaxPageFaultsGets the maximum number of page faults incurred by this job.  
Public PropertyMaxWorkingSetPeakGets the maximum peak working set for this job.  
Public PropertyMinBufferedIOCountGets the minimum buffered I/O count for this job.  
Public PropertyMinCountGets the number of times that one or more of the job's minimums has been updated.  
Public PropertyMinCpuTimeGets the minimum Cpu time consumed by this job.  
Public PropertyMinDirectIOCountGets the minimum direct I/O count for this job.  
Public PropertyMinElapsedTimeGets the minimum elapsed time for this job.  
Public PropertyMinPageFaultsGets the minimum number of page faults incurred by this job.  
Public PropertyMinWorkingSetPeakGets the minimum peak working set for this job.  
Public PropertyMissedWindowActionGets or sets what actions should occur if this job misses it's scheduled window.  
Public PropertyModifiedThe Modified property keeps track of modified state of this object. You cannot set the Modified property. If you modify the object, the modified property will be true until you end or cancel the update. (Inherited from MVPSI.JAMS.BasePublicObject)
Public PropertyNameGets or sets the name of the Job  
Public PropertyNewObjectThe NewObject property indicates that this object has just been created and has never been saved on a JAMS Server. (Inherited from MVPSI.JAMS.BasePublicObject)
Public PropertyNonWorkdaySchedulingGets or sets how this job should be handled if one of it's automatically scheduled runs falls on a nonworkday.  
Public PropertyNotifyEMailGets or sets the list of e-mail addresses, separated by commas. If this Job requires notification, a mail message will be sent to this list of addresses.  
Public PropertyNotifyJobGets or sets the JAMS Job which should be submitted when notification is performed.  
Public PropertyNotifyJobIDGets and Sets the ID of the notification job. This property is designed to be use by JAMS, not user code.  
Public PropertyNotifyJobNameGets or Sets the name of the notification job.  
Public PropertyNotifyJobNameIsRelativeGets or Sets the "Notify Job Name Is Relative" property. If set to true, it means NotifyJobName is a relative path. Otherwise, NotifyJobName is an absolute path.  
Public PropertyNotifyOfMissedWindowGets or sets the NotifyOfMissedWindow property. When set to true, notification will be performed if this job misses it's schedule window.  
Public PropertyNotifyOtherGets or sets the NotifyOther property, which is used to an additional notification method. For OpenVMS based JAMS servers, this is a list of operator classes, separated by commas. If the Job requires notification, a message will be sent to these operator classes.  
Public PropertyNotifySeverityGets or sets the minimum completion severity that will cause notification to occur.  
Public PropertyNotifyUserGets or sets the NotifyUser property. If set to true, the user who manually submits the job will be added to the notification list.  
Public PropertyNotifyUsersGets or sets a list of usernames, separated by commas. If this Job requires notification, a message will be broadcast to these users (if they are logged on at the time.)  
Public PropertyParametersGets the list of Parameters for this Job.  
Public PropertyParamsModifiedGets a boolean which indicates if the Parameters were modified after the Job was Loaded.  
Public PropertyParentFolderGets or sets the JAMS Folder that this Job is a member of.  
Public PropertyParentFolderIDGets the Folder ID for this Job. This property is designed to be used by JAMS, not user code.  
Public PropertyParentFolderNameGets or sets the name of the JAMS Folder that this job is a member of.  
Public PropertyPrecheckIntervalGets or sets the interval between runs of the Job's Precheck job.  
Public PropertyPrecheckJobGets or sets the JAMS Job that will serve as a Precheck Job for this Job.  
Public PropertyPrecheckJobIDGets and Sets the ID of the precheck job. This property is designed to be used by JAMS, not user code.  
Public PropertyPrecheckJobNameGets or Sets the name of the Precheck Job.  
Public PropertyPrecheckJobNameIsRelativeGets or Sets the "Precheck Job Name Is Relative" property. If set to true, it means PrecheckJobName is a relative path. Otherwise, PrecheckJobName is an absolute path.  
Public PropertyQualifiedNameReturn the full qualified name of the job  
Public PropertyRecoverJobGets or sets the JAMS Job that will serve as a Recovery Job for this Job.  
Public PropertyRecoverJobIDGets the the Recovery Job ID for this Job. This property is designed to be used by JAMS, not user code.  
Public PropertyRecoverJobNameGets or Sets the name of the Recovery Job.  
Public PropertyRecoverJobNameIsRelativeGets or Sets the "Recover Job Name Is Relative" property. If set to true, it means RecoverJobName is a relative path. Otherwise, RecoverJobName is an absolute path.  
Public PropertyRecoveryInstructionsRecoveryInstructions  
Public PropertyRecoverySeverityGets or sets the minimum completion severity that will cause recovery to occur.  
Public PropertyReferencesGets a list of References to this Job.  
Public PropertyReportsGets the list of Reports for this Job.  
Public PropertyReportsModifiedGets a boolean which indicates if the Reports were modified after the Job was Loaded.  
Public PropertyRequirementsGets the list of Resource Requirements for this Job.  
Public PropertyRequirementsModifiedGets a boolean which indicates if the Requirements were modified after the Job was Loaded.  
Public PropertyRestartableGets or sets the restartablity of this job. A restartable job can be aborted and restarted.  
Public PropertyResubmitBaseGets or sets the property which specifies which time should be used to calculate the resubmit time for a recurring job.  
Public PropertyResubmitDelayGets or sets the delay between runs of a recurring job.  
Public PropertyResubmitEndGets or sets the time of day that a recurring job should stop.  
Public PropertyResubmitOnErrorGets or sets the ResubmitOnError property. If set to true, this job will be automatically resubmitted even when it fails.  
Public PropertyRetainOptionGets or sets the retention policy for this Job. The options are:

Not Specified The retention policy is taken from the Job's Folder definition.
Always (A) Job is always retained until specifically deleted.
Never (N) Never retain job.
Error (E) Job is retained if it completes with a severity of Warning or worse.
Timed (T) Job is retained for the specified time after completion.

 
Public PropertyRetainTimeGets or sets the length of time the Job should be retained when the retain option is set to "Timed".  
Public PropertyRetryCountGets or sets the number of times to retry the job if it fails.  
Public PropertyRetryIntervalGets or sets the delay between automatic retries  
Public PropertyRevisionHistoryGets a list of Job version.  
Public PropertyRunawayActionGets or sets the action taken when a job is declared a runaway  
Public PropertyRunawayElapsedGets or sets the absolute runaway elapsed time. If the job runs longer than this it is declared a runaway job and notification will be performed.  
Public PropertyRunawayElapsedPerGets or sets how long a job may run before it is considered a runaway job. This is specified as a percentage of the job's average elapsed time. When the job is considered runaway, JAMS will perform notification for the job.  
Public PropertyRunPriorityGets or sets the execution priority for this job.  
Public PropertyScheduledDateGets or sets this job's scheduled date. You can specify more than one date separated by commas. Use JAMS natural language date specifications.  
Public PropertyScheduledDateEndScheduled End Date for a job.  
Public PropertyScheduledDateStartScheduled Start Date for a job.  
Public PropertyScheduledTimeGets or sets the Job's scheduled time, used when the job is automatically submitted.  
Public PropertyScheduleFromTimeGets or sets the beginning of this job's scheduled time window.  
Public PropertyScheduleToTimeGets or sets the ending of this job's schedule time window.  
Public PropertyScheduleWindowGets or sets the Job's Scheduled Window using a JAMS Time definition.  
Public PropertyScheduleWindowIDGets the the Schedule Window ID for this Job. This property is designed to be used by JAMS, not user code.  
Public PropertyScheduleWindowNameGets or Sets the name of the Scheduled Window.  
Public PropertySchedulingPriorityModifierGets or sets the SchedulingPriorityModifier property. This number is used to calculate the scheduling priority for this Job. When a Job is submitted by the JAMS submit sub-system, the scheduling priority is calculated by adding together the default scheduling priority, the Folder’s priority modifier and the Job’s priority modifier.  
Public PropertyShortElapsedGets or sets a minimum elapsed time for a job. If the job completes successfully in less than this amount of time it is considered a Short Job. When a job is determined to be a short job, JAMS will perform notification and may change the completion severity.  
Public PropertyShortElapsedPerGets or sets a minimum elapsed time for a job. If the job completes successfully in less than this amount of time it is considered a Short Job. This is specified as a percentage of the jobs average elapsed time. When a job is determined to be a short job, JAMS will perform notification for the job and may change the completion severity of the job.  
Public PropertyShortSeverityGets or sets the ShortSeverity property. If specified, when a job is determined to be a Short Job, the completion severity will be changed to the severity specified here.  
Public PropertySLATimeThe time of day that a job must be completed by to meet a Service Level Agreement  
Public PropertySourceGets or sets the command procedure.  
Public PropertySourceModifiedGets a boolean which indicates if the Source was modified after the Job was Loaded.  
Public PropertySpecificInformationalA comma seperated list of specific informational values. Used when the executions method's ExitCodeHandling is set to SpecificValuesGood or SpecificValuesBad. Matching one of these values will result in a final severity of Informational.  
Public PropertySpecificValuesA comma seperated list of specific values. Used when the execution method's ExitCodeHandling is set to SpecificValuesGood or SpecificValuesBad.  
Public PropertySpecificWarningA comma seperated list of specific warning values. Used when the execution method's ExitCodeHandling is set to SpecificValuesGood or SpecificValuesBad. Matching one of these values will result in a final severity of Warning.  
Public PropertyStalledTimeGets or sets how much time may elapse after a job's scheduled time before the job is considered to be stalled. When the job is considered stalled, JAMS will perform notification for the job.  
Public PropertySubmitMethodGets or Sets the JAMS Submit Method for this Job.  
Public PropertySubmitMethodIDGets the the Submit Method ID for this Job. This property is designed to be used by JAMS, not user code.  
Public PropertySubmitMethodNameGets or Sets the name of the Submit Method.  
Public PropertySubmitOnHoldGets or sets the SubmitOnHold property. When submitted, should this job be placed on hold until manually released?  
Public PropertySuppressMenuDisplayGets or sets the SuppressMenuDisplay property. You can prevent this job from being displayed on submit menus by setting this property to true.  
Public PropertyTimestampLogsGets or sets the TimestampLogs property. When the field is true, batch log files be time stamped with an extension of .LOG_yyyymmdd_hhmmsscc.  
Public PropertyTimeZoneUpdates or Returns the value of TimeZone  
Public PropertyTimeZoneIDA Time Zone ID number. Represents a specific Time Zone in the TimeZoneTable.  
Public PropertyTimeZoneNameA Time Zone Name. Represents a specific Time Zone in the TimeZoneTable.  
Public PropertyUserIDGets or sets the user that this Job should run under. This overrides the username specified in the Job's Folder definition.  
Public PropertyUserNameGets or sets the username that this Job should run under. This overrides the username specified in the Job's Folder definition.  
Public PropertyUserSecurityJAMS UserSecurity.  
Public PropertyValidatedThe Validated property keeps track of the validation state of this object. If the object has been modified, Validated will be false until the object has been successfully validated by the Validate method. (Inherited from MVPSI.JAMS.BasePublicObject)
Public PropertyWorkingSetDefaultGets or sets the default working set for this job. Not currently used.  
Public PropertyWorkingSetMaxGets or sets the maximum working set for this job. Not currently used.  
Public PropertyWorkingSetQuotaGets or sets the working set quota for this job. Not currently used.  
Top
Public Methods
 NameDescription
Public MethodBeginEditStarts an edit of this object. (Inherited from MVPSI.JAMS.BasePublicObject)
Public MethodCancelEditCancels an edit of this object. (Inherited from MVPSI.JAMS.BasePublicObject)
Public Methodstatic (Shared in Visual Basic)CheckChecks a Job against a JAMS Server.  
Public MethodClearErrorClears the error message for a property. (Inherited from MVPSI.JAMS.BasePublicObject)
Public MethodClearModifiedOverridden. Clear the modified flag of this Job and all of the attached lists.  
Public MethodCloneClone this Job. Clone always assumes that the new object might be saved on a different JAMS Server so it doesn't copy internal things like IDs.  
Public MethodCompareToImplementation of IComparable CompareTo. Compares this instance to the one specified.  
Public MethodDeleteOverloaded. Delete the Job definition.  
Public MethodEndEditEnds an edit of this object. Any changes are saved. (Inherited from MVPSI.JAMS.BasePublicObject)
Public MethodEqualsChecks for equality.  
Public Methodstatic (Shared in Visual Basic)ExistsOverloaded. Test to determine if a given Job exists on the default server.  
Public Methodstatic (Shared in Visual Basic)ExistsInPathTest to determine if a Job can be found within the specified Folder's search path.  
Public Methodstatic (Shared in Visual Basic)FindOverloaded. Returns a collection of jobs matching the given search string.  
Public MethodForceModifiedForces the job and all of the jobs's sub-objects to be marked as modified.  
Public MethodGetAccessControlOverloaded. Gets a JobSecurity object that encapsulates the access control list (ACL) entries for the Job described by the current Job object.  
Public MethodGetHashCodeReturns a hashcode.  
Public MethodInitializeInitializes all properties to their default values.  
Public Methodstatic (Shared in Visual Basic)LoadOverloaded. Load a Job definition from the specified JAMS Server.  
Public MethodMoveToMove the job to a different folder, removing it from the old location.  
Public MethodResetStatisticsResets the Job's Statistics  
Public MethodSaveAsSave the Job with a new name and/or server.  
Public MethodSetAccessControlApplies access control list (ACL) entries described by a JobSecurity object to the Job described by the current Job object.  
Public MethodSetErrorSets the error message for a property. (Inherited from MVPSI.JAMS.BasePublicObject)
Public MethodSetModifiedMarks the object as modified. (Inherited from MVPSI.JAMS.BasePublicObject)
Public MethodToStringReturns the string equivalent of this Job.  
Public MethodUndoEditsOverridden. Undo changes that have not been saved to the database.  
Public MethodUpdateOverloaded. Save updates to the JAMS Server  
Public MethodValidateOverloaded. Overridden. Validate all properties.  
Top
Protected Methods
 NameDescription
Protected MethodRaisePropertyChangedAttempts to raise the PropertyChanged event (Inherited from MVPSI.JAMS.BasePublicObject)
Protected MethodRaisePropertyChangingAttempts to raise the PropertyChanging event (Inherited from MVPSI.JAMS.BasePublicObject)
Protected MethodSaveOriginalSaveOriginal is called when an edit is about to begin. You override this method to save the original values. (Inherited from MVPSI.JAMS.BasePublicObject)
Top
Public Events
 NameDescription
Public EventPropertyChangedEvent Handler for Property Changed Event (Inherited from MVPSI.JAMS.BasePublicObject)
Public EventPropertyChangingEvent Handler for Property Changing Event (Inherited from MVPSI.JAMS.BasePublicObject)
Top
See Also

Reference

Job Class
MVPSI.JAMS Namespace

Send Feedback