isNativeOutput()
The textReport.isNativeOutput() function returns a BOOLEAN value that indicates whether the report is currently set to be output in UNICODE (value of NO) or in a native character set (default value of YES).
Use the textReport.setNativeOutput() function to set this value.
Syntax
textReport.isNativeOutput()
returns (result BOOLEAN)
- textReport
- The name of a variable that is based on the TextReport external type.
- result
- One of the following values:
- YES
- The report is output in the appropriate native character set for the environment, either ASCII or EBCDIC.
- NO
- The report is output in the UNICODE character set.
Example
The following example ensures that the report uses the native character set:
myReport TextReport = new TextReport();
...
if( !(myReport.isNativeOutput()))
myReport.setNativeOutput(YES);
end