Skip to Main Content
Due to the recent acquisition by IBM, the Adabas & Natural Ideas Portal does not contain ideas from products ApplinX and EntireX any longer. Please refer to the IBM Ideas Portal for these products from now on (IBMid required). Existing content will be migrated during the next few weeks.
Status Future consideration
Workspace Natural for z/OS
Created by Philippe Van Coppenolle
Created on May 2, 2024

Allow (CV=) after a literal string

Natural allows the use of dynamic control variables during INPUT and WRITE.

BUT: the use of those (CV=<control_variable>) is restricted to a variable, not to a literal text.

If you want to have a different visual behavior for a string, you must move/copy this string into a variable, and use that variable followed by (CV=<control_variable>)

whereas something like

INPUT #answer
'PF1: option_1'
'PF10: Only for administrator' (CV=#CV_ADMIN)

must be coded now as:

#PF10_TXT := 'PF10: Only for administrator'
INPUT #answer
'PF1: option_1'
#PF10_TXT (CV=#CV_ADMIN)

Use Case Any situation where text must be displayed