Consultor Eletrônico



Kbase P68013: Can you check the operating system platform and version in p
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   18/02/2004
Status: Unverified

GOAL:

Can you check the operating system platform and version in progress 4GL language?

FIX:

There are no 4GL command to obtain these details directly.

There is a 4GL OPSYS command that can tell you whether you are using "UNIX" or "WIN32", but it doesn't tell you the Brand or Version.

You would need to use the 4GL OS-COMMAND to run an operating system command to find these details.

On Windows you can use "ver", and on UNIX you can use "uname -a".

You would then need to parse the data and obtain the information that you require.