From: Bernd Oppolzer
Sent: Saturday, 16 February 2013 8:45 PM
> I don't know much about GENERIC, but to your original problem:
> I would suggest writing a new procedure with a new name, which supports the
> additional CHAR parameter, copying all the code from the old one.
> And then you replace the old procedure by a new one which simply calls
> the new procedure and specifies a default value for the new CHAR parameter.
P. has a family of three procedures, with one, two, and three arguments,
The existing procedure supports one argument. Two new ones are to be written,
supporting two and three arguments, respectively.
Am 15.02.2013 14:17, schrieb P.H.:
>> Did you try "DEFINE STRUCTURE" and use the type name in the GENERIC
> No. But I happy with
> dcl SetDSError GENERIC (
> SetDSError0 when ( * ),
> SetDSError1 when ( *, char ),
> SetDSError2 when ( *, char, char )
> The compiler complains as expected when argument and parameter
> types/structures do not match.