Previous Topic Next topic Print topic


&variable+suffix

Append a literal suffix to a variable data name. You precede the suffix with a plus symbol (+). During processing, the plus symbol disappears--it is not replaced with a space--and the suffix appends onto the resolved variable value.
Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.

Syntax:

&variable+suffix

Example:

Append the suffix -ROUTINE to the variable &SCOPE and specify that they are two separate parts, not one variable called &SCOPE-ROUTINE.

Input:

% &SCOPE = 'CALC'
PERFORM &SCOPE+-ROUTINE

Output:

PERFORM CALC-ROUTINE
Previous Topic Next topic Print topic