CompareObjSubString

Compare Object/Subsidiary String

Minor Business Rule

Object Name: B0000035

Parent DLL: CALLBSFN

Location: Client/Server

Language: C

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



^

Data Structure

D0000035 - Compare Object/Subsidiary String

Parameter NameData ItemData TypeReq/OptI/O/Both
szObjSubString1OBSBcharNONENONE

Special Input Expected
First 16 size string to be compared





^

szObjSubString2OBSBcharNONENONE

Special Input Expected
First 16 size string to be compared


^

nIntegerINT01integerNONENONE

Special Output Returned
Returns the result of the comparison


Significant Data Values

 0 -  if both strings are equal

 1 -  if string 1 is greater than string 2

-1 -  if string 1 is less than string 2



^

Related Functions

None

Related Tables

None