Problem:
If the sub-program is called:
CALL "subprog" USING OMITTED OMITTED WS-VAR-3.
The following error occurrs:
Execution error : file 'subprog.int'
error code: 203, pc=225, call=1, seg=0
203 CALL parameter not supplied
How do I validate which parameter is omitted to avoid this error?
Resolution:
The 203 error is correct as you need to test for the presence of each parameter before attempting to modify it in the sub-program.
This is done with the following code:
if <variable-name> is not omitted
move ...
and so on.
