Functional Description
Purpose
This business function is used to compare the object and subsidiary strings.
Setup Notes and Prerequisites
Special Logic
This business function does not contain any special logic.it takes two strings (size 16) and compare
them. It returns an integer indicating the result of the compare. If String1 is greater then String
2 then it returns 1. If String 1 is equal to String 2 it returns 0 and if String1 is less than the
string 2 it returns 1.
Technical Specification
This business function will compare two strings of object and subsidiary concatenated, using EBCDIC
criteria. An integer is returned with a
0 if both strings are equal
1 if string 1 is greater than string 2
-1 if string 1 is less than string 2
^
D0000035 - Compare Object/Subsidiary String
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szObjSubString1 | OBSB | char | NONE | NONE |
Special Input Expected
| ||||
szObjSubString2 | OBSB | char | NONE | NONE |
Special Input Expected
| ||||
nInteger | INT01 | integer | NONE | NONE |
Special Output Returned
|
None |
None |