On 2017-12-22, at 10:23:34, Willy Jensen wrote:
> ...
> But for returning a value the version with a length at front must be used like
> inrtdsn dc y(44),cl44'INRTDSN'
>
Mmmm... I see:
z/OS Using REXX and z/OS UNIX System
Services
Version 2 Release 3
Conventional MVS parameter list
... The length is set to the length of the data returned excluding the
terminating null.
If a keyword value is not returned, a null string is returned.
Guideline: Because a null-terminated string is returned, in order to ensure
that the
data is returned, the parameter area must be large enough for the expected
returned data plus the null character.
So should it be 45 instead of 44?
-- gil