cobol1.hlp (Topic list)
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
                                    -♦-