Changing data definitions for mapped method parameters
You can change certain data definitions for mapped methods by using the COBOL Data Type Editor.
About this task
The data type definitions generated during COBOL code generation are aligned with the COBOL type settings in the COBOL configuration. You can view the default COBOL types from on the Default COBOL Types Settings tab on the COBOL Properties page. To view them, right-click the rule project and then click Properties > COBOL Management > Default COBOL Types Settings. You can change the settings from here, which resets the values at project level.
You can also change certain definition
values in the COBOL mapped method data table. You can change some COBOL
PIC and COBOL Usage values, depending
on the Java™ type. For example,
if you define the mapped method public String method1 (int
arg1, double arg2), you can change the COBOL field length
for argument int arg1.
Procedure
To change COBOL type definitions:
Results
The new value displays in the Mapped Method table.