The database manager provides support for basic DBCS, while the Database Services Utility provides support for extended DBCS.
The Database Services Utility supports the use of all DB2 Server for VSE & VM data types, including the GRAPHIC data type for double-byte character set (DBCS) data. The following general rules apply to DBCS data in Database Services Utility input or output:
G'SOxx-xxSI'
where:
Note: | N' can be used as a synonym for G' |
command print records has the format:
SOxx-xxSI
where:
The SO and SI delimiters result in blank print positions.
In DB2 Server for VSE, if the SQLOPTION column value is DBCS and the VALUE column value is |no in the SYSOPTIONS catalog table, you can use the extended DBCS support of the Database Services Utility. |The DBCS option value will be retrieved from the SQLGLOB |file. The User DBCS SQLGLOB value, if it exists, will be the default |setting for DBCS.
The DB2 Server for VM Database Services Utility retrieves information about the DBCS setting from the LASTING GLOBALV file on the database user machine. Extended DBCS supports the following characteristics:
Omitting a shift-in or shift-out delimiter causes unreadable (input) control file records in the report or message file. To suppress this display of unreadable DBCS data, set the LIST parameter of the INFILE subcommand to no.
If an error occurs, in DB2 Server for VSE, during access of the SYSOPTIONS catalog, or if an invalid DBCS option value is found, the Database Services Utility continues processing the input control card file as if the extended DBCS feature were not in effect.