Description:
Produces a simple summary of
a named HDS data object to a selected output. For a primitive object the name, type and value are
given if scalar, or dimensions if non-scalar. For a structure the components are listed.
Usage:
hdir
inp [dev]
Parameters:
INP = UNIV (Read)
HDS data object object to be summarized.
GLOBAL.HDSOBJ
DEV = _CHAR (Read)
Output device (TERMINAL, PRINTER, OLDFILE, NEWFILE etc.).
[TERMINAL]
Examples:
% hdir file1
Produces a summary of file1.sdf on the terminal. % hdir
file1 summary.lis
Produces a summary of file1.sdf in text file summary.lis. % hdir file2
’
"
O=summary.lis"
’
Appends a summary of file2.sdf to text file summary.lis. % hdir file1.array O
Appends a summary of component ARRAY of file1.sdf to text file ast_print.lis, assuming environment
variable OLDFILE is not set.
Copyright © 2000 Council for the Central Laboratory of the Research Councils