Functional Description
Purpose
This business function will retrieve and update the Preference Type (PRFR) Description in the UDC.
Special Logic
The function should operate in two modes - 1) Retrieve Preference Type Description 2) Update
Preference Type Desciption.
Technical Specification
2.4Processing
The preference type will be the third key (right justified) for the UDC table (F0005).
When the business function is called in (R)-Retrieval mode, get the description from the F0005 file
for the Preference type passed.
When the business funstion is called in (U)-Update mode, update the description in the F0005 file for
the preference type passed.
Return a 1 in ERRC if the record is not found, 0 if the record is found.
D4002070 - Get Update UDC Description
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
cMode | MODE | char | NONE | NONE |
Special Input Expected
| ||||
szDescription | DL01 | char | NONE | NONE |
A user defined name or remark. | ||||
szSystemCode | SY | char | NONE | NONE |
Special Input Expected
| ||||
szUserDefinedCodes | RT | char | NONE | NONE |
Special Input Expected
| ||||
mnCodeLength | CDL | MATH_NUMERIC | NONE | NONE |
The length of the user defined code. It cannot be greater than 10 characters. | ||||
cErrorCode | ERRC | char | NONE | NONE |
Special Input Expected
| ||||
szErrorMessageID | DTAI | char | NONE | NONE |
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
| ||||
cSuppressErrorMessage | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
szUDCCode | KY | char | NONE | NONE |
A list of valid codes for a specific user defined code list. |
None |
F0005 User Defined Codes |