| 
 | 
Jon Paris wrote:
>
>  >>  Do you think it was retained for compatibility with RPG/400?
>
> I don't think it was retained.  In fact I know that it was deliberately
> _not_ supported.  We had to make a point of highlighting it as a difference
> in all the early training material.
>
> As I noted - it doesn't work on V5R2 so the fact that it works on V4R5 may
> be an aberration.
>
> Either way there is a fix needed somewhere.  To the compiler, the
> documentation, or both.  I'm going to wait and see what Barbara has to say.
>
Jon, it works on V5R2 for me.
     D ds              ds
     D  sub1                         10a   inz('sub1')
     D  sub1len        c                   10
     D  sub2                         10a   inz('sub2')
     C     sub1          dsply
     C     sub1len       dsply
     C     sub2          dsply
     C                   return
Looks like it's been supported but not documented since the beginning of
RPG IV.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.