ANNOTATION

<< Click to Display Table of Contents >>

Navigation:  Scripts (Batch Interface) > Syntax > Statements >

ANNOTATION

Previous pageReturn to chapter overviewNext page

This commands allows you to add text description to any graphical file created with scripts.

This annotation is printed below the image in mono space font.

If more lines are needed then you can use \n line separator within the text.

You can also use variables and runtime variables.

Runtime variables have of course sense only if images are created in a scan block.

 

logon=c:\bif\logon.lgn

selection_file='c:\bif\selection.sel'

create_htm_file='c:\bif\output\report.htm'

scan=""

lncmd_exec_scan='GRAPH - IWS z/OS Job Netplan'

annotation="Application ID: %Application ID%\nValid From    : %Valid From%\nValid To      : %Valid To%"

create_png_file=''

end-scan

close=ALL

 

Here the annotation spans over 3 lines. The first one contains Application id, the next one Valid from and the last one Valid to.

Spaces ensure nice formatting, because mono space font is used.

The annotation uses runtime variables, which are coded as column names of the parent display surrounded with %.

In this particular example the parent display has 'Application ID', 'Valid From' and 'Valid To' columns.

The result can look like this:

 

clip0167