Previous Topic

Next Topic

Book Contents

Book Index

Breaking 'keystrokes' Jobs into reusable pieces using include within a Job

When you build your "keystrokes" Jobs you will find that many of pieces are repeated. Sometimes it is handy to break these pieces into separate jobs and then use the ((include jobname)) directive to build the pieces back up.

In the examples below:

Job [Cbis_daily.Claims_runs_and_edits]step0070_ecom_sort has a Job include ((include [default.cbis]ECOM_SORT)).

Job [default.cbis]ECOM_SORT also has a Job include

(( include [default.cbis]inline_IdxMenu ))

Job [default.cbis]ECOM_SORT also has a ((p1)) that is taken from the options property page.

The last screen shot is the "Preview" of all the pieces put together.

Lastly, there's another job example of a mixture Job parameters and variable substitution at the top of Job. (($DATE)) and (($TIME)) are Schedule runtime variables.


See Also

Appendix H - Job Commands using 'keystroke' capture

General guidelines

Using Schedule Command line Client to capture an interactive session

Common edit changes made to 'keystrokes' captured scripts

Creating 'keystrokes' prototype Job Templates