Indicates the type of message. Can be one of:
· Info
· Warning
· Control
· Fatal
Only informational and warning messages can be added to a message handler.
Example of message text
An example of the text that typically accompanies this type of message. This is taken from the message you have selected.
Add Rule
Click this button to add the new rule to the chosen message handler.
Edit Handler
Click this button to open the Edit Message Handlers window.
Message Handler File Format
A message handler is a plain text file and has the suffix .msh.It is stored in the folder called MsgHandlers in the WebSphere DataStage server install directory. The following is an example message file.
TUTL 000031 1 1 The open file limit is 100; raising to 1024...
TFSC 000001 1 2 APT configuration file...
TFSC 000043 2 3 Attempt to Cleanup after ABORT raised in stage...
Each line in the file represents message rule, and comprises four tab-separated fields:
· Message ID . Case-specific string uniquely identifying the message
· Type. 1 for Info, 2 for Warn
· Action . 1 = Suppress, 2 = Promote, 3 = Demote
· Message . Example text of the messageCompiling
Specifying Parallel Job Defaults
You specify date/time and number formats for a job on the Defaults page.
You can also specify a local message handler for the job. The Message Handler for Parallel Jobs field allows you to choose a message handler to be included in this job. The message handler will be
compiled with the job and become part of its executable. The drop-downlist offers a choice of currently defined message handlers.
Edit message hanlers rule:

To open the Message Handler Manager, choose Tools à Message Handler Manager in director or designer. The Edit Message Handlers dialog box appears.
Use the Edit Message Handlers window to view, edit, or delete message handlers or to create a new one.
Action from the drop-down list.
Possible Actions are:Messages can be suppressed from the log (Information and
Warning messages only), promoted (from Information to Warning) or demoted (from
warning to Information).
· Suppress from log. The message is not written to the job’s log as it runs.
· Promote to Warning. Promote an informational message to a warning message.
· Demote to Informational. Demote a warning message to become an informational one.

The window contains the following controls and fields:
Edit project level message handler
This option is only available if you have a project-level message handler defined (this is done from the Administrator client). Choose this option to edit the message handler currently assigned as the default for this project.
Edit chosen message handler
Choose this option to edit an existing message handler. Select a message handler from the drop-down list or select (new) to define a new handler.
Message type
An icon indicates whether the message is a warning or informational (this field is blank if this is a message you have added manually)
Message ID
The unique message ID that identifies a particular type of message.
Action
Choose an action to take when a job generates a message of the specified type. Choose from:
· Suppress from log. The message is not written to the job's log as the job runs.
· Promote to Warning. Promote an informational message to a warning message.
· Demote to Informational. Demote a warning message to become an informational one.
Save
Click this button to save the message handler you have been editing. A submenu offers the choice of Save Message Handler to overwrite the current handler, or Save Message Handler As to save the edited handler as new. If you choose Save Message Handler As, a dialog box asks you to enter the name for the new handler.
Message hadles project level in administrator in parallel tab:
Message Handler for Parallel Jobs
Allows you to specify a message handler for all the parallel jobs in this project. You define message handlers in the Designer or Director. They allow you to specify how certain warning or information messages generated by parallel jobs are handled. Choose one of the predefined handlers from the drop-down list.
Disable message handler: run option general page:
Disabling Message HandlersWhen you run a parallel job you can disable any message handler that have been defined for that job. For parallel jobs, you can define message handlers, which specify that particular types of informational or warning messages are suppressed from the log. Message handlers can be assigned to jobs at the project level (from the Administrator), the Job Design level (from the Designer), or for individual job runs (from the Director). You can define a handler from the Director, or from the Designer
To disable message handling:. Message handlers are disabled on the General page of the Job Run Options dialog box.
· Select Disable project-level message handling to disable the handler that has been defined in the Administrator to apply to all jobs in the project.
· Select Disable compiled-in job-level message handling to disable a local handler that has been compiled into this particular job. The message handlers are only disabled for this particular job run.
In dsjob, have option to disable the message handler,
· -disableprjhandler use this to disable any error message handler that has been set on a project wide basis
· -disablejobhandler use this to disable any error message handler that has been set for this job (see WebSphere DataStage Director Client Guidefor a description of message handlers).

The General page allows you to specify that the job should generate operationalmeta data, suitable for use by MetaStage. It also allows you todisable any message handlers that have been specified for this job run
see WebSphere DataStage Director Client Guide for a description of message handlers.
1. 1. Which two methods can be used for adding messages to a message handler? (Choose two.)
A. Import message handler from existing message handler dsx.
B. Drag and drop a message from the job log onto the message handler.
C. Type in the message rule by hand.
D. Use the add rule to message handler interface.
Answer: CD
2. When Defining a message handler, which three actions can be specified for a message? (Choose three )
A. Demote to “Warning”
B. Suppress from log.
C. Demote to “Informational”
D. Promote to “Warning”
E. Promote to “Fatal”