JAMS Client
Template
Send comments on this topic.
Execution Methods > Execution Method Properties > Template

Glossary Item Box

Template

The Template tab contains a text editor which lets you edit the template for this execution method. Templates provide an easy way to include standard pre and post processing in your jobs.

At submit time, JAMS parses a jobs source by starting with either the template defined here, the module defines in the Job Module field or the job's source code.

Here is an example of a simple template for a Windows batch file:

NET USE E: \\MyServer\EShare
NET USE F: \\MyServer\FShare
<<JAMS.Current.Source>>
C:\LogJobComplete.exe <<JAMS.Job.JobName>>

This template maps two network drives, inserts the job's source code and then executes the LogJobComplete program passing the name of the job.

©2012. All Rights Reserved.