SYML[IST] [ System Debug Reference Manual ] MPE/iX 5.0 Documentation
System Debug Reference Manual
SYML[IST]
Lists information for the specified symbol name in an opened symbolic
data type file.
Syntax
SYML[IST] [pattern] [symname] [option]
Parameters
pattern The symbol names that are to be listed.
This parameter can be specified with wildcards or with a
full regular expression. Refer to appendix A for
additional information about pattern matching and
regular expressions.
The following wildcards are supported:
@ Matches any character(s).
? Matches any alphabetic character.
# Matches any numeric character.
The following are valid name pattern specifications:
@ Matches everything; all names.
pib@ Matches all names that start with "pib".
log2##4 Matches "log2004", "log2754", and so on.
The following regular expressions are equivalent to the
patterns with wildcards that are listed above:
`.*`
`pib.*`
`log2[0-9][0-9]4`
By default, all symbols are listed.
symname The symbolic name under which the symbolic data type
file is referenced. If the parameter is not given, the
symfile last accessed is used.
option A keyword to further specify the operation:
CONST Display the constant names that match
the given pattern. If the constant is
a simple type, display its value.
TYPES Display the type names that match the
given pattern.
ALL Display both type and constant names
(default).
Examples
$nmdebug > SYMLIST @,GRADTYP
CLASS TYPE ENUMERATED TYPE
GRADERANGE TYPE SUBRANGE
GRADESARRAY TYPE ARRAY
NAMESTR TYPE STRING
STUDENTRECORD TYPE RECORD
MAXGRADES CONST INTEGER $a
MAXSTUDENTS CONST INTEGER $5
MINGRADES CONST INTEGER $1
MINSTUDENTS CONST INTEGER $1
Print out the all type and constant declarations for the symfile GRADTYP.
$nmdebug > SYMLIST gr@
GRADERANGE TYPE SUBRANGE
GRADESARRAY TYPE ARRAY
$nmdebug > SYML `GRADES`
GRADESARRAY TYPE ARRAY
MAXGRADES CONST INTEGER $a
MINGRADES CONST INTEGER $1
$nmdebug > SYML max@,,const
MAXGRADES CONST INTEGER $a
MAXSTUDENTS CONST INTEGER $5
Print out various subsets from the symfile 'GRADTYP'.
Limitations, Restrictions
none
CAUTION The output format of all System Debug commands is subject to
change without notice. Programs that are developed to
postprocess System Debug output should not depend on the exact
format (spacing, alignment, number of lines, uppercase or
lowercase, or spelling) of any System Debug command output.
MPE/iX 5.0 Documentation