F32942LoadQualifiedCSIDsToCache

Load Qualified CFGSIDs To Cache

Minor Business Rule

Object Name: B3200030

Parent DLL: CMFG

Location: Client/Server

Language: C

1.Functional Description

1.1Purpose

This function will perform Load qualified CSID from F32942 to Cache Process Verify CSID  (B3200230).

To be a qualified CSID, it must contains all segment values in Segment Value Cache.


1.2Setup Notes and Prerequisites

The calling application is responsible for loading all Segment Values to CACHE.


1.3Special Logic


2.Technical Specifications

2.4Processing 


I.Using Input Job Number to retrieve first segment in Segment Values CACHE

A.Set Return Cursor to "1" to allow sequential read in later use

II.Open F32942 with index 3 (KIT, PEL,  SGVL, and ITM):

A.KIT = mnParentItemNumber*
PEL = mnSegmentNumber*
SGVL = szSegmentValue*

ITM = mnParentItemNumber*


B.Fetch matching keys and  temporary store all CSID to Cache Process Verify CSID

III.Verify and eliminate the CSID that does not contain all the Segment Values.

Open F32942 with index 1 (KIT,  CSID, ITM, PEL, SGVL) and fetch

each CSID with each segment in Segment Value Cache


For each segment in Segment Value CACHE:


A. Retrieve all CSIDs from Cache Process Verify CSID

B. For each CSID, Fetch F32942 with full key
KIT = mnParentItemNumber*
CSID= CSID from Cache Process Verify CSID

ITM = mnParentItemNumber*

PEL = mnSegmentNumber*

SGVL = szSegmentValue*


If  the fetch is failed, delete that CSID from Cache Process Verify CSID



* Parameters from Segment Value Cache B3200350


Data Structure

D3200030 - Load Qualified CFGSID To Cache

Parameter NameData ItemData TypeReq/OptI/O/Both
mnJobNumberJOBSMATH_NUMERICNONENONE

The job number (work station ID) which executed the particular job.

cSuppressErrorMessageEV01charNONENONE

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.

mnItemNumberShortKitKITMATH_NUMERICOPTNONE

The system provides for three separate item numbers.    1.   Item Number (short) - An eight-digit, computer assigned, completely 
non-significant item number.    2.   2nd Item Number - The 25-digit, free form, user defined alphanumeric item number.    3.   3rd Item Number - Another 
25-digit, free form, user defined alphanumeric item number.

Related Functions

B3200230 Cache Process Verify CSID
B3200350 Cache Process Segement Values

Related Tables

F32942 Needed for upgrade from Xe and below