OEMFile Property
The OEMFile property specifies or returns a value indicating whether the data read from or written to files by custom transformations is translated from or to the client OEM code page.
Applies To
DataPumpTransformReadFile Object | DataPumpTransformWriteFile Object |
Syntax
transerver.OEMFile [= boolean]
Part | Description |
---|---|
transerver | Expression that evaluates to an object in the Applies To list. |
boolean | If TRUE, the file data is translated through the client OEM code page. Default is FALSE. |
Data Type
Boolean
Modifiable
Read/write
Prototype (C/C++)
HRESULT OEMFile(VARIANT_BOOL* pRetVal);
HRESULT OEMFile(VARIANT_BOOL pRetVal);
Remarks
If the UnicodeFile property is TRUE, the OEMFile property is ignored.
For Read File, the file is translated through the client OEM code page to Unicode if the OEMFile property is TRUE. If the destination column is not Unicode, the data is translated again from Unicode to ANSI.
For Write File, the source column data has already been translated to Unicode, if necessary. It is then translated through the client OEM code page if the OEMFile property is TRUE.
The property also can be referenced through the TransformServerProperties collection with the following code:
Set transprops = transform.TransformServerProperties
transprops("OEMFile") [= boolean]