Specifies the Java class/interface search path. When specifying two or more folders, separate them with a semicolon ";".
When this option is specified, environment variable CLASSPATH is ignored.
This option must be specified right after the java2cob command.
Unicode native character cannot be specified for the class path.
Specifies the code used for execution. Specify the same code as the COBOL program that uses Java classes. The default is native code.
-cs: native code is used for the execution-time code.
-cu: Unicode and UTF-16 as system endian is used for the execution-time code. In this system, it has the same meaning as -cul.
-cul: Unicode and UTF-16 as litter endian is used for the execution-time code.
-cub: Unicode and UTF-16 as big endian is used for the execution-time code.
Specifies the folder to which an adapter class source is output. The default is the current folder.
Specify the constructor name generated as an adapter class, for the last class-name/interface-name specified before this option. If the constructor name is omitted, all of the constructors within the corresponding class/interface are generated. When specifying two or more constructors, they must be delimited by comma (,) or a blank.
When two or more constructors of the same name exist, only the constructor that matches the parameter type is generated by specifying the parameter-type. If a parameter type is omitted, all of the constructors of the same name are generated. When specifying a parameter type, enclose the parameter type with parenthesis ((and)), and enclose the entire option with double quotation (") to specify a parameter. A parameter type can be specified with the data type name or with the class name that is modified by the package name. When specifying an internal class name as the parameter type, specify dollar ($) instead of using period (.) for the internal class.
Specify the field name generated as an adapter class, for the last class-name/interface-name specified before this option. If the field name is omitted, all of the fields within the corresponding class/interface are generated. When specifying more than one field, they must be delimited by comma (,) or a blank.
Specify the method name generated as an adapter class, for the last class-name/interface-name specified before this option. If the method name is omitted, all of the methods within the corresponding class/interface are generated. When specifying more than one method, they must be delimited by comma (,) or a blank.
When more than one method of the same name exist, only the method that matches the parameter type is generated by specifying the parameter-type. If a parameter type is omitted, all of the methods of the same name are generated. When specifying a parameter type, enclose the parameter type with parenthesis (( )), and enclose the entire option with double quotation (") to specify a parameter. A parameter type can be specified by data type name or by the class name that is qualified by the package name. When specifying an internal class name as the parameter type, specify dollar ($) instead of period (.) for the internal class name.
Specifies that a method name cross-reference list file (listing adapter class methods corresponding to Java class methods) be output. The method name cross-reference list file is output with name "adapter-class-source-file-name.txt" for each Java class.
Specified to reduce the number of adapter classes generated. When this parameter is specified, the object reference types of all parameters excluding RETURNING become java-lang-Object. Instead, the parameter names are generated so that they include original type information (see "3.1.5.2 Specifying the -om Option or the "Option ReduceClass" Parameter"). The class browser can identify almost every method. If the class browser cannot identify methods such as because parameter names are too long, the method name cross-reference list file can be used for identification.
This option is exclusive with the -r option, -gc option, -gm option and -gf option.
Specifies that any existing adapter class with the same name be overwritten. If this parameter is omitted, no adapter class is overwritten.
Specify this option when specifying a constructor/method/field generated as an adapter class, for the class-name/interface-name specified right after this option. By doing so, the size of an adapter class can be reduced.
Refer to the -gc option for the procedure of specifying the constructor, to the -gm option for the procedure of specifying the method and to the -gf option for the procedure of specifying the field, respectively.
Specify the class-name/interface-name right after this option.
When specifying constructor/method/field for more than one class-names/interface-name, specify the -r option for each class-name/interface-name.
If there is no single -gc option or -gm option or -gf option that corresponds to this option, the adapter class without constructor/method/field is generated.
This option has exclusive relation with the -om option.
When this option is used, be sure to create all of the adapters using the java2cob command only once. If the adapter classes are generated by using the java2cob command two or more times, a correct adapter class may not be generated.
Creation of an adapter class by specifying the constructor/method/field without specifying a constructor/method/field is not permitted.
Specify this option when creating the adapter class in which the java.lang.String type is mapped into alphanumeric item (PIC X). (see "3.2.1.9 Mapping java.lang.String into PIC X")
n specifies the parameter size (PIC X(n)) of the property method that corresponds to the String type field. When omitted, it is assumed that 256 is specified.
Specify this option when creating an adapter class in which the end of the character string needs to be set. (see "3.2.1.11 End Control of Character String")
Specifies the Java class name or interface name, for which an adapter class is to be generated, by qualifying it with a package name. When specifying an internal class name, replace the period "." of the internal class name with a dollar sign "$". More than one class name or interface name can be specified.