Use the TITLE statement to specify any titles or subtitles you
want printed or punched with your data set. Two TITLE statements can
be included for each use of IEBPTPCH. A first TITLE statement defines
the title, and a second defines the subtitle. The TITLE statement,
if included, follows the PRINT or PUNCH statement in the control data
set.
If you are printing a data set, the titles you specify will be
printed on every page.
The syntax of the TITLE statement is:
Label |
Statement |
Parameters |
---|
[label]
|
TITLE
|
ITEM=('title'[, output-location])[,ITEM=...]
|
where:
- ITEM=('title'[,output-location])
- specifies title or subtitle information. The values that can
be coded are:
- 'title'
- specifies the title or subtitle literal (maximum length of 40
bytes), enclosed in apostrophes. If the literal contains apostrophes,
each apostrophe must be written as two consecutive apostrophes. The
literal coded for 'title' is not affected by the TOTCONV parameter
of the PRINT or PUNCH statements. You can specify a double-byte character
set string as your title. To do so, enclose the DBCS string in shift-out/shift-in
characters (< and >).
You can also specify the title in hexadecimal.
To do so, code the title as title
. This is especially useful if you do not have a
keyboard that has all the characters you need. The shift-out/shift-in
characters are X'0E' and X'0F', respectively.
- output-location
- specifies the starting position at which the literal for this
item is placed in the output record. When used with output-location,
the specified title's length plus output-location may not
exceed the output logical record length minus one.
Default: The first position (byte) is assumed.
You can specify ITEM more than once on a TITLE statement.
In this way, you can have titles longer than 40 characters, or you
can format your title according to your needs.