Option code, Specification format, Meaning of the parameter – FUJITSU J Adapter Class Generator User Manual

Page 38: Specification contents, Option commandoptions, Option genonlyused

Advertising
background image

38 Chapter 4. Using the Generator Command

Option Code

Specification format

Option Code = { SJIS | UNICODE }

Specification contents
Specify a code system during execution time. Specify the same code system as that

of the COBOL program that uses the Java class.
When omitted, it is assumed that SJIS is specified.
Meaning of the parameter
• SJIS

Specify it when the code system during execution time is native code.

• UNICODE

Specify it when the code system during execution time is Unicode.

Option CommandOptions

Specification format

Option CommandOptions =

command-options

Specification contents
Specify options of the java2cob command directly. But the -i option cannot be

specified.
When a parameter of the same type as the

command-options

is specified as an

optional file, the specified value of the

command-options

overrides the option file.

Option GenOnlyUsed

Specification format

Option GenOnlyUsed = { YES | NO }

Specification contents
Specify whether or not specify a constructor/method/field generated as an adapter

class. When a constructor/method/field is specified, size of the adapter class can be

reduced. (Refer to "Specify the constructor/method/field")
When omitted, it is assumed that NO is specified.
The specification value of the "Option GenOnlyUsed" parameter affects all of the

"Class

class-name/interface-name

" inside the optional file.

The "Option GenOnlyUsed" parameter is exclusive with the "Option ReduceClass"

parameter.
Meaning of the parameter
• YES

Specifies the constructor/method/field.

• NO

Does not specify constructor/method/field.

Advertising