beautypg.com

Comments, Include, Comments include – HP Neoview Release 2.5 Software User Manual

Page 50

background image

options job-entry-options

one or more occurrences of job-entry-options, separated by a comma (,). The last
entry-option

should not use the comma separator.

Options defined at the job entry level override global options defined in the options section
and override options defined at the job level. The following job entry options are supported:

“baddatafile” (page 53)

“faileddatafile” (page 58)

Comments

You can embed single-line and multiple-line comments anywhere in a control file.

A single-line comment starts with “#” and ends with the line terminator. For example,

# This is my comment.

A multiple-line comment is surrounded by “/*” and “*/”. For example,

/*
Your comment line 1
Your Comment line 2
...
*/

Include

You can include one or more control file fragments from other control files. A control file fragment
is a control file without a version number. You can define common sections in a control file
fragment and include them from other control files. This avoids having duplicate definitions
and makes it easier to manage your control files. Be aware that you cannot have duplicate
definitions between included files and the main control file, otherwise the control file is rejected.
HP recommends that you use control file fragments for reusable definitions and include them
in control files as needed.

Use the %include statement to include a control file fragment from another file. For example:

%include "included_controlfile.txt"

When the included filename does not begin with an absolute or relative file system path,
Transporter first looks for the file in the current directory. If the file is not found, Transporter
returns an error.

When the included filename does not begin with an absolute file system path, Transporter looks
for the file in the current directory. If the file is not found, Transporter returns an error and
terminates.

50

Control File Organization and Syntax