i have found any possibilities to find a value of p-os-version, but how to known the version.
i become the numeric value 0176161286 for the windows 11 22H2?
What values have all windows version? and other os as mac or unix?
Thanks for help
Application Delivery Management
Application Modernization & Connectivity
CyberRes
IT Operations Management
i have found any possibilities to find a value of p-os-version, but how to known the version.
i become the numeric value 0176161286 for the windows 11 22H2?
What values have all windows version? and other os as mac or unix?
Thanks for help
I think the documentation is clear, for the OS type is says:
cblte-osi-os-type131 for Windows systems, 128 for COBOL systems on UNIX
and for the os-version:
cblte-osi-os-version
Use is specific to the operating system. Can include information such as chip type and the operating system version number.
For Windows the third and fourth bytes contain the minor and major release operating system version numbers respectively.
The docs for anything other than third/forth bytes are not specific. You would need to raise an issue for more information (possible docs change) or consider calling OS apis yourself to get more detailed information.
The values of cblte-osi-os-version on Unix are dependant uname/version being a numeric value, so in practice it has very little value, so raising a defect for this information will yield no useful information.
My recommendation to use an OS api is your best solution.
yes, i have found in the mf-help this byte cblte-osi-os-version!
But in p-os-version, there is no difference by Windows 10 ord Windows 11!
Can you give us the name of the os api?
Thank you very much for your help!
The information comes from the Windows itself and it does not distinguish between the two.
I would get the current build number and if the build is >= 22000 then it is Windows 11.
Any of the GetVersion* API can get the current build number or alternatively get it via the registry.
Windows 11 release numbers can be found @ learn.microsoft.com/.../windows11-release-information