PRINT-ERR
Processes and prints ERRMSG file format items.
Command Class
TCL-II command.
Syntax
PRINT-ERR file-name item-list {(options}
Syntax Elements
file-nameis the name of the file containing the error messages.
item-listis one or more item-ids separated by spaces, a list generated by a list-generating command, or an asterisk (*) to specify all items.
Options
B Break. Forces a page break before each error message is printed.
I Input. Prompts for input parameters to be used by the error message.
If this option is selected, the prompt PARAMETER
appears repeatedly until only a RETURN is
entered in response. These input parameters override the default character
('~') when the error message is printed.
If fewer parameters are input than the error message needs, the undefined parameters default to the '~' character.
N No page. Suppresses automatic paging.
P Printer. Sends output to the printer.
Comments
Where parameters would normally be inserted into the error message, a tilde ('~') is substituted unless overridden with the I option. If the P and I options are both selected, the item-id of the error message is displayed on the terminal before its parameters are requested.
Example 1
:PRINT-ERR ERRMSG 860
[860] CHECK CODE ERROR
Example 2
:PRINT-ERR ERRMSG * (B
*** (L)EFT, (R)IGHT, OR (T)EXT ALIGNMENT ***
[270] FORMAT ERROR IN THE PROC STATEMENT: