On Tue, 11 Feb 2014 10:06:10 +1100, Hank Oerlemans wrote:
>Never been a good idea to recycle usage - or extend it.
>
>If you VDEFINE ZSCROLLN, for whatever reason, as a 4-byte character field
>and then good old ISPF extends it to 8-bytes then bad things happen.
>
Does ISPF at least report an error?
>Better to give you ZSCROLNL at 8-bytes and all the ZSCROLLN users stay
>happy-ish.
>
I use Rexx. Would I be immune to such "bad things"?
And, in some of my Rexx code, I have such as:
...
'(ZLAST) = LINENUM .ZLAST'
do ILine = 1 to ZLAST
'(L) = LINE' ILine
...
o How does this operate in languages in which "bad things happen" when
the ISREDIT API returns variable length strings?
o Is LINENUM, like ZSCROLLN, a 4-byte field?
-- if so, does it, also need to have an alternative defined?
-- if it has historically been longer, why wasn't ZSCROLLN declared ab ovo
as of compatible length and type?
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN