Natural for Mainframes Version 8.2.5 for Mainframes
 —  Terminal Commands  —

%M - Control of Message Line

%M

    T  

    B  
       
    [-]nn  
    P  
=

BL

GR
NE
PI
RE
TU
YE

With this terminal command, you can control the position, the protection mode and the color of the Natural message line.

This terminal command is ignored in batch mode.

This terminal command also applies to Natural's NEXT (or MORE) line.

Application Programming Interface: USR1005N.

This document covers the following topics:


Message Line Positioning

Command Function
%MT Causes the message line to be the top line of the screen.
%MB Causes the message line to be the bottom line of the screen.
%M Causes the current message line position to be switched from the top line to the bottom line of the screen (or vice versa), or from line nn to the bottom line.
%Mnn Causes the message line to be placed on line nn of the screen.
%M-nn Causes the message line to be placed on the nnth line from the bottom of the screen. If the line number nn or -nn is not within the current screen, the message line will not be displayed.

Top of page

Message Line Protection

Command Function
%MP Switches from protected to unprotected message line or vice versa.

Top of page

Message Line Color

Command Function
%M=color-code When a color screen is used, this terminal command causes the message line to be displayed in the specified color (for an explanation of color codes, see the session parameter CD).

See also Control of the Message Line - Terminal Command %M in the Programming Guide.

Top of page