On Tue, 2 Jul 2019 at 12:50, John McKown <[email protected]> wrote:
> Wouldn't it be nice if IBM were to extend the GENCB macro to include > BLK=DCB in addition to BLK=ACB, BLK=RPL, BLK=EXLST, and BLK=NIB? OTOH, does > anyone actually use GENCB? My impression is that GENCB and friends were effectively deprecated long ago. We have them in some of our legacy VTAM code, and there are all kinds of annoyances and things that they don't do correctly and completely. (For example, a GENCB BLK=RPL,ACB=(Rn),OPTCD=... fails to store the supplied ACB address in the created RPL field RPLDACB.) It's a nice idea but a poor implementation. To say nothing about the need to bracket GENCB with ACONTROL FLAG(NOPAGE0) POP ACONTROL to avoid the HLASM complaint about no base register (because GENCB references the CVT with a L 15,16). That they haven't made that trivial fix in these many years says plenty. Tony H.
