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_NLS_COMPARE (↑ National Language Support Routines)
 Key Details                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Routine:      CBL_NLS_COMPARE
 
  Function:     Compares two strings.
 
  Syntax:       CALL "CBL_NLS_COMPARE" USING        string1
                                                    string2
                                       BY VALUE     string1-length
                                       BY VALUE     string2-length
                                       BY REFERENCE result-byte
                                       RETURNING    status-code
 
  Parameters:   string1                PIC X(n).
                string2                PIC X(n).
                string1-length         PIC X(4) COMP-5.
                string2-length         PIC X(4) COMP-5.
                result-byte            PIC S9 COMP-5.
                status-code            See Key
                                    -♦-