ConfigStringGetUpperLimit

Config String Get Upper Limit

Major Business Rule

Object Name: B3200590

Parent DLL: CMFG

Location: Client/Server

Language: C

1.Functional Description

1.1Purpose
Evaluate the Configurator Sequence Number (ATSQ) and Level Number (ATLV) to determine upper limit of 
Text String records to write to cache (B3200380).


1.2Setup Notes and Prerequisites

The calling application is responsible for retrieving the Configurator Level/Sequence (F3296) and 
passing the Sequence Number (ATSQ) and Level (ATLV) to the business function.


1.3Special Logic

AS/400 7.3 data dictionary defines ATSQ as a 23 character field.  AS/400 7.1 and One World data 
dictionary defines ATSQ as a 15/8 numeric field.  


2.Technical Specifications

2.4Processing 
The Configurator Sequence Number and Level Number are used to set the upper limit value for writing 
lower level text strings to cache.  See business function B3200380 - Cache, Process Configured Item 

Text.


Parse the Sequence Number (ATSQ) into an 11 element data structure.  The first element will be 3 

positions long, elements 2 through 11 will be 2 positions long.  All elements are numeric.


Using the Level (ATLV) as the basis for setting the upper limit; increment the appropriate element 

based on the following rules:


ATLV = 0Add 001 to the first element of the parsed array


ATLV >= 10Add 01 to the second element of the parsed array


ATLV >0<10Add 01 to the element which corresponds to the ATLV + 1 position



Example - Level = 0:

ATSQ001 00 00 00 00 00 00 00 00 00 00 

     +001 

              -------------------------------------------

Upper Limit002 00 00 00 00 00 00 00 00 00 00

Example - Level >=10:


ATSQ001 01 01 01 01 01 01 01 01 01 01 

        + 01 

              -------------------------------------------

Upper Limit001 02 01 01 01 01 01 01 01 01 01

Example - Level >0<10:  ATLV = 4


ATSQ001 01 01 01 01 00 00 00 00 00 00 

          + 01

              -------------------------------------------

Upper Limit001 01 01 01 02 00 00 00 00 00 00






List of Indexes:


Returns:

Sequence Number incremented for upper limit.

^

Data Structure

D3200590 - Config String Get Upper Limit

Parameter NameData ItemData TypeReq/OptI/O/Both
szSequenceNumberToBeEvaluatedATSQcharNONENONE

Reserved by J.D. Edwards A string that is generated to uniquely identify and sequence items in a configuration.

mnLevelNumberATLVMATH_NUMERICNONENONE

Reserved by J.D. Edwards A number that specifies the level of the item in the configuration.

cSuppressErrorMessagesEV01charNONENONE

An option that specifies the type of processing for an event.

szErrorMessageIDDTAIcharNONENONE

A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or 
special characters such as %, &, or +. You create new data items using system codes 55-59. You cannot change the alias.

Related Functions

None

Related Tables

None