Top
NetCOBOL V11.0 NetCOBOL Studio User's Guide
FUJITSU Software

A.1.34 RCS compile option

This option specifies whether to use ASCII (RCS(ACP) or RCS(ASCII)) or Shift-JIS [RCS (SJIS)] or Unicode (RCS(UTF16) or RCS(UCS2)) as the code set during execution.

Item

Description

Runtime code set

Specifies whether to use ASCII or Unicode during execution. The default value is ASCII.

ASCII

Uses ASCII as the code set during execution.

SJIS

Uses Shift-JIS as the code set during execution.

UTF-16

Uses Unicode as the code set during execution.

UCS2

Uses Unicode as the code set during execution.

Endian in Unicode environment

Specifies which endianness is used when runtime code set is Unicode. The default value is LE.

LE

Unicode Little Endian is specified for the runtime code set.

BE

Unicode Big Endian is specified for the runtime code set.

Point

UTF16 and UCS2 are equivalent, but UTF16 is recommended.

Note

  • For V11 and later specifying the ENCODE compile option is recommended.

  • When compile option RCS is specified, it is assumed that the ENCODE compile option is specified in the following way.

    • When RCS(SJIS) is specified, it is as assumed that ENCODE(SJIS,SJIS) is specified.

    • When RCS(UTF16) or RCS(UCS2) is specified, it is as assumed that ENCODE(UTF8,UTF16) is specified.

  • Under the following conditions, the compiler option RCS (UTF16) is automatically added. Specify the compiler option ENCODE as required.

    • The encoding of the COBOL source file is UTF-8.

    • And, the compiler option RCS or the compiler option ENCODE is not specified.

  • Specify the compile option RCS in the "Other compiler options" text box.