Returns information about the operating system environment.
01 cblt-os-info-params typedef. 03 cblte-osi-length cblt-x2-compx. *> pic x(2) comp-x value 28. 03 cblte-osi-os-type cblt-x1-compx. *> pic x comp-x. 03 cblte-osi-os-version cblt-x4-compx. *> pic x(4) comp-x. 03 cblte-osi-dbcs-support cblt-x1-compx. *> pic x comp-x. 03 cblte-osi-char-coding cblt-x1-compx. *> pic x comp-x. 03 cblte-osi-country-id cblt-x2-compx. *> pic x(2) comp-x. 03 cblte-osi-code-page cblt-x2-compx. *> pic x(2) comp-x. 03 cblte-osi-process-type cblt-x1-compx. *> pic x comp-x. 03 cblte-osi-rts-capabilities cblt-x4-compx. *> pic x(4) comp-x. 03 cblte-osi-product cblt-x2-compx. *> pic x(2) comp-x. 03 cblte-osi-product-version cblt-x2-compx. *> pic x(2) comp-x. 03 cblte-osi-product-revision cblt-x2-compx. *> pic x(2) comp-x. 03 cblte-osi-product-sp cblt-x2-compx. *> pic x(2) comp-x. 03 cblte-osi-fixpack cblt-x2-compx. *> pic x(2) comp-x.
Windows: Country code. See your operating system documentation for an explanation of country codes.
Windows: Code page. See your operating system documentation for an explanation of code page codes.
Bit | Description |
---|---|
0 |
multi-threading multi-threaded rts |
1 | Mainframe offloading capabilities, namely mainframe pointer emulation |
2 | 64-bit capability; the run-time system supports the running of 64-bit applications |
3 | Indicates whether the program is running under the control of Enterprise Server |
4 | Indicates that the run-time system is running in Enterprise Server mode |
5 | Indicates whether the program is running under the CLR (Common Language Runtime) |
6-31 | Reserved for future use and will be set to 0 by this routine |