CL Programming
You use the Add Message Description (ADDMSGD) command to describe your
predefined messages and to add them to the message file you created. On
the ADDMSGD command, you specify the message identifier, the name of the
message file into which the message is to be placed, and the message
description. In the message description, you can specify:
- Message text (required) with optional substitution variables
- Message help text with optional substitution variables
- Severity code
- Description of the format of the message data to be used for the
substitution variables
- Validity checking values for a reply
- Default value for a reply
- Default message handling action for escape messages
- Creation level
- Alert options
- Entry in the error log
- Coded Character Set ID (CCSID)
Each of the items that can be contained in the message description is
described in more detail on the following pages.
The following commands are also available for use with message
descriptions:
- Change Message Description (CHGMSGD)
- Changes a message description.
- Display Message Description (DSPMSGD)
- Displays a message description. (A range of message identifiers can
be specified in this command.)
- Remove Message Description (RMVMSGD)
- Removes a message description from a message file.
- Retrieve Message (RTVMSG)
- Retrieves a message from a message file.
- Merge Message File (MRGMSGF)
- Merges messages from one message file into another message file.
- Work with Message Descriptions (WRKMSGD)
- Displays a list of messages in a file and allows you to add, change, or
delete message descriptions.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.