16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Related Information<br />

cd, set, sh, trap<br />

dspcat — Display all or part of a message catalog<br />

Format<br />

Description<br />

Options<br />

Examples<br />

dspcat [–gt] CatalogName [SetNumber [MessageNumber]]<br />

dspcat displays a particular message, all of the messages in a set, or all of the<br />

messages in a catalog. Messages are displayed as they are specified in the<br />

message catalog; no substitution of variables takes place.<br />

It directs the messages to standard output (stdout).<br />

It has the following parameters:<br />

v The CatalogName parameter specifies a message catalog.<br />

v The SetNumber parameter specifies a set in the catalog specified by the<br />

CatalogName parameter. If you specify a nonexistent SetNumber value, all<br />

messages in the catalog are displayed.<br />

v The MessageNumber parameter specifies a particular message in the set<br />

specified by the SetNumber parameter.<br />

If you include all three parameters, dspcat displays a particular message. If you do<br />

not include the MessageNumber parameter, or if the MessageNumber value is in<br />

error, all the messages in the set are displayed. If you specify only the<br />

CatalogName parameter, all the messages in the catalog are displayed. You must<br />

include the SetNumber parameter if you include the MessageNumber parameter.<br />

Use the NLSPATH environment variable to find the specified message catalog if<br />

slash (/) characters are not used in the value of the CatalogName parameter.<br />

–g Formats the output so it can be used as input to the gencat command. The<br />

MessageNumber parameter is not valid when –g is specified.<br />

–t Displays the timestamp of the message catalog.<br />

To display message number 2 in set number 1 of test.cat, enter:<br />

dspcat test.cat 1 2<br />

dspmsg — Display selected messages from message catalogs<br />

Format<br />

Description<br />

dspmsg [–d] [–s SetNumber] CatalogName MessageNumber<br />

[’DefaultMessage’[Arguments]]<br />

dspmsg displays either the text of a particular message from a message catalog<br />

generated with the gencat command or, if the message cannot be retrieved, a<br />

. (dot)<br />

Chapter 2. Shell command descriptions 243

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

Saved successfully!

Ooh no, something went wrong!