PCA Command Displays information about symbols in the program address domain, or symbol definitions established with the DEFINE/COMMAND command. Format SHOW SYMBOL namespec[, namespec ...] [IN scope[, scope ...]]
1 – Parameters
namespec Specifies the name of the symbol to show. If namespec includes asterisks (*), each asterisk is treated as a wildcard character that matches any zero or more characters. All symbols whose names match namespec are shown. scope Specifies the name of a module, routine, or lexical block, and may include pathname qualification.
2 – Description
The SHOW SYMBOL command lets you see symbols in the program address domain, or symbols you have defined with the DEFINE/COMMAND command. You can use the /ADDRESS and /DIRECT qualifiers or the IN clause only if /DEFINED is not specified. If you do not specify an IN clause, then the whole program will be the scope for symbol selection. The /DEFINED qualifier can not be used in combination with any other qualifiers to the SHOW SYMBOL command.
3 – Qualifiers
3.1 /ADDRESS
Displays the address specification for each selected symbol, when applicable.
3.2 /DEFINED
Displays symbol definitions established with the DEFINE/COMMAND command.
3.3 /DIRECT
Displays symbols that are defined directly in the symbol selection scope. Symbols defined in lexical entities nested within the scope specified by the scope parameters are not shown.
4 – Examples
PCAA> SHOW SYMBOL/DEFINED * Defined commands: P = "PLOT/NOZERO/DESCENDING" BSGB = "SET FILTER FUM PROGRAM_ADDRESS=MUMBLE_FRATZ" This SHOW SYMBOL command displays the definitions of all symbols defined using DEFINE/COMMAND. Only two symbols, P and BSGB, are defined. Their names and definitions are displayed. PCAA> SHOW SYMBOL/ADDRESS SCALE Module SCALE, language PASCAL Address range: 00000200 to 00000297 Routine SCALE\SCALE Address range: 00000200 to 0000020B This SHOW SYMBOL command is used to display address ranges of any program unit named SCALE.