Starting The J Adapter Class Generator - Fujitsu J Adapter Class Generator User Manual

Fujitsu user's guide j adapter class generator
Table of Contents

Advertisement

32
Chapter 4. Using the Generator Command

Starting the J Adapter Class Generator

Command Syntax
When the constructor/method/field is not specified:
java2cob [-classpath
n
s[
]] [-t]
When the constructor/method/field is specified:
java2cob [-classpath
class-name/interface-name
t] –r
[,...]"]] [-gm ["
...
When the optional file is specified:
java2cob -i
Notes on Describing the Command
The clause that is enclosed by square brackets can be omitted.
Symbol of the curly brackets indicates selection of clause that is delimited by "|".
Dot (...) indicates repeated specification.
Italic type indicates variable character string.
Options
-classpath
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.
-c{s|u}
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 is used for the execution-time code.
output-folder
-d
Specifies the folder to which an adapter class source is output. The default is the
current folder.
constructor-name
-gc ["
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
class-path
] [-d
class-name/interface-name
class-path
] [-d
[-gc ["
method-name
[(
parameter-type
optional-file
class-path
parameter-type
[(
output-folder
] [-ov] [-om] [-oi] [-c{s|u}] [-
...
output-folder
] [-ov] [-oi] [-c{s|u}] [-s[
constructor-name
parameter-type
[(
)] [,...]"]] [-gf [
)] [,...]"]
n
]] [-
)]
field-name
[,...]]]

Advertisement

Table of Contents
loading

Table of Contents