27.12.2012 Views

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

SET EMSG<br />

►►<br />

Set<br />

EMSG<br />

Authorization<br />

Purpose<br />

Oper<strong>and</strong>s<br />

Usage Notes<br />

Messages<br />

ON<br />

CODE<br />

IUCV<br />

OFF<br />

TEXT<br />

Privilege Class: G<br />

Use SET EMSG to control error message h<strong>and</strong>ling. The initial setting for EMSG is<br />

installation dependent <strong>and</strong> is defined in the system configuration file.<br />

ON<br />

specifies that both error code <strong>and</strong> error message text are displayed on your<br />

display screen.<br />

CODE<br />

specifies that only the error code is displayed.<br />

IUCV<br />

specifies that both the error code <strong>and</strong> text are to be passed to the virtual<br />

machine through IUCV if a connection to the message system service exists. If<br />

no IUCV connection exists, the message is h<strong>and</strong>led as if SET EMSG ON had<br />

been issued.<br />

OFF<br />

specifies that no error messages are displayed.<br />

TEXT<br />

specifies that only the message text is displayed.<br />

1. If you specify the TEXT option, the number of the message is not displayed.<br />

The lack of a message number makes it difficult to locate the message in the<br />

z/<strong>VM</strong>: System Messages <strong>and</strong> Codes - <strong>CP</strong>. Therefore, use the TEXT option with<br />

caution.<br />

2. The full message is spooled (code <strong>and</strong> text) if SET EMSG is set OFF; otherwise<br />

an error message is spooled according to the setting.<br />

3. CMS recognizes EMSG settings for all error (E) <strong>and</strong> information (I) messages,<br />

but ignores the EMSG setting <strong>and</strong> displays the complete message (error code<br />

<strong>and</strong> text) for all other system messages.<br />

H<strong>CP</strong>003E Invalid option - {option|comm<strong>and</strong><br />

contains extra option(s) starting with<br />

option}<br />

H<strong>CP</strong>026E Oper<strong>and</strong> missing or invalid<br />

SET EMSG<br />

►◄<br />

Chapter 2. <strong>CP</strong> <strong>Comm<strong>and</strong>s</strong> 1253

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!