Natural for Mainframes Version 8.2.6 for Mainframes
 —  Terminal Commands  —

%V - Control of Print Mode

This terminal command only applies to terminals which support inverse (right-to-left) print mode. See also profile parameter PM in the Parameter Reference documentation, and Bidirectional Language Support in the Unicode and Code Page Support documentation.

%V 

ON

OFF
N [ON | OFF]
A [ON | OFF]
K [ON | OFF]

Syntax Description:

Command Function
%VON Activates inverse (right-to-left) print mode (corresponds to PM=I). All non-alphanumeric fields, system variables and PF key lines are reversed. This ensures the correct display of these items on the terminal running in right-to-left mode.
%VOFF Activates normal (left-to-right) print mode (corresponds to PM=R).
%V Toggles between normal and inverted print mode.
%VNON Activates inverse print mode for numeric fields if profile parameter PM=I is set or %VON was issued.

This is the default setting.

%VNOFF Activates normal print mode for numeric fields if profile parameter PM=I is set or %VON was issued.

This may be used for sensitive terminals which do not invert numerics.

%VN Toggles between normal print mode and inverse print mode for numeric fields.

This may be used for sensitive terminals which do not invert numerics.

%VAON If profile parameter PM=I is set, this causes alphanumeric input fields that are defined with field attribute PM=I to be sent to the terminal with the numeric field attribute. This ensures that these fields, which would otherwise be considered right-to-left cursor oriented in right-to-left mode, will be considered left-to-right. The corresponding hardware feature is required. Alternatively, field attribute (AD=Q) can be used individually instead of this terminal command.
%VAOFF Alphanumeric input fields are sent to the terminal without the numeric field attribute.

This is the default setting.

%VA Toggles between %VAON and %VAOFF.
%VKON Numeric fields for which a helproutine or edit mask is defined are internally converted by Natural to alphanumeric format (otherwise a user would not be able, for example, to enter a question mark in such a field to invoke the helproutine). With inverse print mode, however, this internal conversion would cause a numeric value in such a field to be interpreted from right-to-left.

For numeric fields that are defined with PM=I and have a helproutine or edit mask, %VKON prevents the internal translation to alphanumeric format, thus ensuring the correct interpretation of values in these fields, while an edit mask will still be applied correctly and a question mark can nonetheless be entered in the field.

%VKOFF Deactivates the feature described above.

This is the default setting.

%VK Toggles between %VKON and %VKOFF.

Application Programming Interface: USR0350N.

Top of page