解決方法:
コードを修正して必要なパラメーターを追加します。
例:
以下の例で、正しいコードと誤ったコードの両方を示します。
$set sourceformat(variable) class-id ParamBug. method-id Main static. procedure division using by value args as string occurs any. invoke AssertFormat( *> Ok, all required parameters specified 22, *> parameter a param sf = type CType::Default, param p = "Optional object", param b = 3) invoke AssertFormat( *> Error, required parameter b not passed 22, param c = type CType::Default, param p = "Optional object") goback. end method. method-id AssertFormat private static. procedure division using by value a as binary-long *> Required parameter b as binary-long *> Required parameter c as type CType = type CType::Default *> Optional p as object = null *> Optional sf as type CType = type CType::Default. *> Optional end method. end class. enum-id CType. 78 #Default. end enum.