SeeView Manual
SeeView Statements and Script Symbols
HP NonStop SeeView Manual—526355-004
9-47
GRAPH
FILE filename
specifies that data in a disk data file containing ASCII or data defined by a data
dictionary is to be graphed.
TASK taskid
specifies that messages from a taskid declared with the TASK statement are to
be graphed. For example, use the GRAPH TASK taskid statement as follows:
RECORD record.field
indicates that the data to be plotted is specified by the data definition contained in
the DDL-generated data dictionary in the current default subvolume.
record.field specifies a DDL-defined record.field, such as
YEARLY.REVENUES. You do not have to say GRAPH RECORD
YEARLY.REVENUES but GRAPH YEARLY.REVENUES instead. (The parser
recognizes that you are referring to a record.field without the keyword
RECORD.)
If the RECORD specification appears, without TASK or FILE, the data represented
by record.field is from the file identified by the DDL record description.
If the RECORD specification appears with a TASK or FILE specification, the data
comes from the TASK or FILE, but the field data type and offset information
contained in the DDL data dictionary is used to interpret the records from the
indicated TASK or FILE.
You can also subscript a field name with an index (for example, x.y.z[ i ]) even
when the field is not declared with a DDL occurs clause.
When you issue a GRAPH TASK taskid or GRAPH FILE filename statement
without an additional RECORD specification, the format of each record or message
is assumed to be free-form ASCII numeric, and the first number in each record is
graphed.
ALPHA
indicates that the graph should be drawn without using alternate character
graphics.
AT Xexp , Yexp
indicates where on the page to plot the graph. You can use other SeeView
statements, such as LINE, to provide positioning.
VAR count := 50;
TASK enform;
WRITE enform, "Open employee; set @heading off;";
WRITE enform, "Set @target-records " & count & ";";
WRITE enform, "List employee.salary;";
GRAPH TASK enform HEAD "Salaries of first 50 employees";