%VMS

Indicate if a program is being compiled on OpenVMS

WSupported on Windows
USupported on Unix
VSupported on OpenVMS

 

status = %VMS

Return value

status

One of the following values: (i)

1 = The program is being compiled on the OpenVMS operating system.

0 = The program is not being compiled on the OpenVMS operating system.

Discussion

%VMS is evaluated at compile time.