cobol1.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CBL_GET_OS_INFO (↑ O/S Info Routines)
 Key Details                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Routine:      CBL_GET_OS_INFO
 
  Function:     Returns information about the operating system
                environment.
 
  Syntax:       CALL "CBL_GET_OS_INFO" USING     parameter-block
                                       RETURNING status-code
 
  Parameters:   parameter-block        Group item defined as:
                  parameter-size         PIC X(2) COMP-X VALUE 14.
                  p-os-type              PIC X COMP-X.
                  p-os-version           PIC X(4) COMP-X.
                  p-DBCS-support         PIC X COMP-X.
                  p-char-coding          PIC X COMP-X.
                  p-country-id           PIC X(2) COMP-X.
                  p-code-page            PIC X(2) COMP-X.
                  p-process-type         PIC X(2) COMP-X.
                status-code            See Key
                                    -♦-