Xerox 5 manual CommandTemplate, TimeOut, LogStdOut, LogStdErr, FailOnWarning

Page 70

CommandTemplate

The template from which the command (passed to the operating system representing the execution of the subtask) is derived. An example:

blat c:\xvtp\bin\bodytemp.txt -t $mailto

where mailto is a field of the splitfile index record or RuleVars name having the value jones@ip.com would result in the file c:\xvtp\bin\bodytemp.txt being mailed to jones@ip.com via the SMTP batch tool, blat, (assuming that blat.exe was somewhere on the execution path of the VIPOD process).

The command template is preprocessed to produce the actual command string that is passed to the OS. Command template fields that begin with the reserved character “$” are substituted by the respective splitfile index record field or RuleVars value. VIPOD assumes that a single target executable will be called when the command is executed. Multi-step executions are not supported by VIPOD. If a multi-step subtask is desired for a given VIPOD job, it should be realized by calling a single batch process, which is responsible for executing the multiple steps and reporting status back to VIPOD.

A command template cannot be empty and to be valid, must contain at least one index file record fieldname reference beginning with the reserved character “$.” Otherwise, the Dispatch Rule will not be associated with any job when evaluating the job's eligibility against the Dispatch Rule's CommandTemplate definition.

TimeOut

Specifies the length of time between when the OS command is executed and a timeout error is declared, in seconds. A timeout value of “0” indicates an infinite waiting period. An OS command that triggers a timeout should be terminated by VIPOD and treated as having returned with an error return value.

LogStdOut

A boolean (.INI false: 0, or true: 1) indicating whether the stdout of the executing OS command should be appended to the log file for the VIPOD job associated with this Dispatch Rule.

LogStdErr

A boolean (.INI false: 0, or true: 1) indicating whether the stderr of the executing OS command should be appended to the log file for the VIPOD job associated with this Dispatch Rule.

FailOnWarning

A boolean (.INI false: 0, or true: 1) indicating whether detection of a warning during execution of the OS command should cause the VIPOD job to halt processing (transition from “current” to “complete,” with a status of “failure”) at the record that generated the warning.

VI PDF Originator User’s Guide

VIPO-70

FreeFlow Variable Information Suite 5.0 (7/2006)

Image 70 Contents
User’s Guide Page Table of contents Using lpr to submit Vipo jobs Using Vipo WebUsing Vipo and Adobe Distiller VIPO-4Index Using Vipo DispatchUsing Vipo Services VIPO-5VIPO-6 VIPO-7 VIPO-8 Vipo Server and Client VIPO-9Using the Vipo Local Server VIPO-10File menu options VIPO-11Help menu options Job Selection menu optionsVIPO-12 Title bar Using the Vipo Job Submission ClientWindow elements Menu barFunction buttons Job creation areaVipo job status area VIPO-14Current Profile Job creation area field descriptionsData File Init Nub File VIPO-15Job Server Job TypeUser Name Output FolderOutput Filename Template Index File Template VIPO-17Profile files VIPO-18Template syntax VIPO-19FS=‘char’ DFNAMEx..yFnBKMARKx..yFn DIGITS=nAdd Data Filename VIPO-21Add File Split Count CancelAdd Bookmark Add Field SeparatorSpecifying an index file VIPO-23VIPO-24 Field separator VIPO-25BFS=‘c’ VIPO-26Bookmark Field Separator Template field descriptionsHeader Field Separator VIPO-27Using the Vipo Watched Folders Client VIPO-28VIPO-29 Watched folder details area Title bar Menu barWatched folders list Status areaAdding watched folders VIPO-31File ready check VIPO-32Command line options for the Vipo Watched Folders Client VIPO-33Bulk Processing VIPO-34Accessing Vipo via your web browser VIPO-35VIPO-36 Job Submission upper frame Job Submission/View/RetrievalVIPO-37 Output Filename Template Create Index File Template Create Data FileCurrent Profile Load/Save VIPO-38Refresh Status Submit JobVIPO-39 Action Job Submission lower frameVIPO-40 Pages Distilled Pages Split Files Generated Job NameJob Status VIPO-41Administration Change PasswordVIPO-42 User Administration VIPO-43Changing passwords VIPO-44Server Administration VIPO-45VIPO-46 Cluster Administration VIPO-47VIPO-48 VIPO-49 VIPO-50 Disable Basic Authentication Basic Authentication Quick StepVIPO-51 Web browser notes VIPO-52Using Vipo and Adobe Distiller VIPO-53VIPO-54 Acrobat Distiller 6.0 and later Adobe Distiller and fontsAcrobat Distiller versions prior to ExampleAssigning a Distiller job options file VIPO-56Using the Vipp Bookmark command VIPO-57Extended bookmarks VIPO-58Using VI Project Containers VIPO-59VIPO-60 Lpr command syntax for Windows VIPO-61Parameter definitions VIPO-62Example lpr job submissions Parameter defaultsVIPO-63 VIPO-64 Using Vipo Dispatch VIPO-65 Dispatch filters VIPO-66Dispatch Rule files VIPO-67VIPO-68 DataFileTemplate RuleNameRuleVars VIPO-69LogStdOut CommandTemplateTimeOut LogStdErrRetValTrigger FailOnErrorRetValTriggerTrumpsStdoutStderr VIPO-71StdErrTrigger StdOutTriggerVIPO-72 RunPostProcessCmd=true/false PostProcessCommandTemplate=...command stringAutoRun VIPO-73Examples System built-in macrosRule file variable references VIPO-74Special Character Sequences in CSV and XML Index Files VIPO-75Vipo Dispatch window VIPO-76Pending Jobs Eligible Jobs Select Dispatch Rule Conflict JobsIneligible Jobs View IndexRecord Field NamesRelease Job Held JobsCompleted Jobs Review Job StatusPause Dispatcher File menuHide Dispatcher Save LogfileSet Active Filter Edit menuFilter Filename Delete FileAdd ResetEdit DeleteOK/Cancel VIPO-84VIPO-85 Rule Filename VIPO-86Clear DefaultVIPO-87 Job Selection Loop Trace menuClear Display Job Selection TraceUsing Vipo Dispatch a simple example VIPO-89VIPO-90 Setbufsize\temp\temp.txt VIPO-91$cc VIPO-92VIPO-93 VIPO-94 VIPO-95 VIPO-96 Definitions VIPO-97Constraints VIPO-98Index VIPO-99VIPO-100 FreeFlow Variable Information Suite 5.0 7/2006 FreeFlow Variable Information Suite 5.0 7/2006 VIPO-101 Page