Examines the contents of a data-system object HDSTRACE
The version number of the HDS data format used by the supplied file may also be displayed. See parameter VERSION.
For the specified ADAM data-system object () there are three cases which are handled:
1) is a primitive object. The value, or the first and last few values of are listed.
2) is a structure. The contents of the structure are listed. If a component is encountered which is itself a structure then its contents are listed down to a level of six nested structures.
3) is an
array of structures. All elements will be listed if Parameter FULL is set to TRUE
; only the first element
will be listed when Parameter FULL is set to FALSE
(default).
Listings are in the following order: name; dimensions, if any; type; and value or comment. Comments are enclosed in braces.
The values are normally listed at the end of each line, but may start on a new line. The maximum number of lines of data values may also be set. For all but the smallest arrays where the values of all elements can be displayed in the space provided, the last few values in the array as well as the first few are presented. The last few values appear on a new line, indented the same as the line above with the ellipsis notation to indicate any missing values. Note the number of elements shown depends on the number of characters that will fit on the line. The ellipsis notation is also used for long character values where there is only room to show the first and last few characters. Bad values appear as asterisks.
The exact layout may be adjusted and is controlled by four additional parameters: a) the indentation of the type string with respect to the beginning of the name string; b) indentation of the value(s) (if not on a new line) with respect to the beginning of the type string; and c) the width of the output. If the name and dimensions do not fit within the space given by parameters a) and b), the alignment will be lost because at least two spaces will separate the name from the type, or the type from the value(s). The fourth parameter defines how character arrays are arranged. The default is that character-array elements are concatenated to fill the available space delimited by commas. The alternative is to write the value of each element on a new line. This improves readability for long strings.
true
, the elements of a character array will each appear on a separate line. Otherwise elements fill
the available space and may span several lines, paragraph style. [FALSE]
true
, all the contents of an array of structures will be traced, otherwise only the first element is
examined. [FALSE]
HDSVERSION = _INTEGER (Write)
LOGFILE = FILENAME (Read)
!
) means do not create a log file. [!]
[FALSE]
"ALL"
.
Beware this facility can result in a large report, so select just the array or arrays you wish to
trace. [1]
true
, list structure components in sorted order. [FALSE]
[15]
false
. If, however, NEWLINE is true
, VALIND is ignored and
the value is indented by one column with respect to the component’s name. If the type
cannot fit in the space provided alignment will be lost, since Hdstrace insists that there be a
gap of at least two columns. HDS types can be up to 15 characters. [15]
[FALSE]
[FALSE]
[]