5.4.11 srcuoc statement (specification of UOC storage library information)

To use UOC to edit data and then store the data in a database, you can use an srcuoc statement to specify the UOC information. For details about UOCs, see section 5.10 Using a UOC to load a table.

Criterion
Specify the srcuoc statement to execute data loading using a UOC.
Organization of this subsection
(1) Format
(2) Explanation

(1) Format

srcuoc library-name entry=function-name [param='user-parameters']

(2) Explanation

(a) library-name

[Figure]<pathname>

Specifies the absolute pathname of the shared library where the UOC is stored.

(b) entry=function-name

Specifies the name of the function in the library that is to be called.

(c) param='user-parameters'

[Figure]<character string> ((1-1,023 bytes))

Specifies user parameters to be passed to the UOC (because the user cannot use the command line to pass parameters directly to the UOC).

The character string specified in this operand is passed as is to the UOC via the interface area.

Do not include any space or tab in the user parameters character string.