&opsys-major-ver &Opsys-Major-Ver &OPSYSMAJORVER &opsysmajorver &OpsysMajorVer&opsys-minor-ver &Opsys-Minor-Ver &opsysminorver &OpsysMinorVer &OPSYSMINORVER
For code that depends on the version of the operating system platform where the generator runs, you could code the following.
% IF &OPSYS-MAJOR-VER = "5" % IF &OPSYS-MINOR-VER = "1" %* Logic for generating under Version 5.1 % ELSE-IF &OPSYS-MINOR-VER = "5" %* Logic for generating under Version 5.5 % END % END
When executing under Windows NT version 3.5, MFG generates:
&OPSYS-MINOR-VER = "5"