11.1.1.3 Description
This utility parses the COBOL copybook file and generates the corresponding Oracle Tuxedo VIEW32 definition files.
It supports the following options:
-
-i
- With
-i
option,cname
in VIEW32 definition files is not converted to lowcase; without-i
option,cname
is converted to lowercase. -
-n
- Specifies the source copybook is in "normal" format (i.e., copybook contains sequence number area (columns 1 through 6 is the sequence number area, followed by the indicator area)).
-
-e
- Specifies the source copybook is in "exceptional" format (i.e.,copybook does not contain a sequence number area (the first column is the indicator area)).
-
-o
- Specifies the output file name, followed parameter is the
output file name. If this parameter is not specified, the output
file name changes the suffix of the input file name to
.v
. For example,abc.cbl
is converted toabc.v
.
This utility supports the following annotation in the source copybook:
* @binary
: by default, copybook data types without the following qualifiers are converted to string: BINARY, COMP, COMP-1, COMP-2, COMP-3, COMP-4, COMP-5, PACKED-DECIMAL
. With the * @binary=true
annotation, the copybook data types without those qualifiers are converted to CARRAY
. * @binary=false
changes the conversion rule back to the default. When this annotation is defined on a group, all subordinates in the group are affected.
Parent topic: cpy2view32(1)