Nonstop Database, HiRDB Version 9 Command Reference
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.11 Using a UOC to load a table.
When data loading is performed on an audit trail table, a system-provided UOC (audit trail data registration UOC) inputs and edits the audit trail files. You must specify the srcuoc statement in order to load data into the audit trail table.
When using a user-created UOC srcuoc library-name entry=function-name [param='user-parameters']When data loading into an audit trail table (using the audit trail data registration UOC) srcuoc param='parameters-for-audit-trail-data-registration-UOC' |
~<pathname>
Specifies the absolute pathname of the shared library where the UOC is stored.
Specifies the name of the function in the library that is to be called.
~<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.
~<character string>((1-4095 bytes))
Specifies in the following format information about the audit trail files that are to be subject to data loading:
param='dir=name-of-HiRDB-file-containing-audit-trail-files ,file={(name-of-audit-trail-file-subject-to-data-loading [,name-of-audit-trail-file-subject-to-data-loading...])|all} [,mode={normal|force}]' |
Status of audit trail file | mode value | Data loading | |
---|---|---|---|
Whether shut down | Data loading status | ||
Not shut down | Completed | normal | N |
Waiting | Y | ||
Completed | force | Y# | |
Waiting | Y# | ||
Shut down | Completed | normal | N |
Waiting | N | ||
Completed | force | N# | |
Waiting | N# | ||
Current | -- | normal | N |
force | N |
All Rights Reserved. Copyright (C) 2011, 2015, Hitachi, Ltd.