Previous Topic Next topic Print topic


COBCH1661 Must specify an initial value

The PERFORM USING statement must specify an initial value for the USING operand.

In the following example, the operand d1 must be given an initial value by the PERFORM statement. Append = "initial-value" to the PERFORM USING statement.

class-id myClass.
method-id myMethod.
 perform using d1 as type java.lang.AutoCloseable  *> add = "<init_value>" to this line
     continue
 end-perform
end method.
end class.
Previous Topic Next topic Print topic