Spot on, Glenn. Trouble was that it did not handle stripping a string in "stringspace" (whatever that is) correctly. As far as I can make out only STRIP had this exposure because it is the only built-in known not to lengthen its first argument.

On 11/07/2014 07:50 PM, Glenn Knickerbocker wrote:
On 11/7/2014 10:57 AM, Michael Harding wrote:
'|Spec a: 17-* . set #0:=Strip(a,"T"," ") print #0 n',
...
Well that produced a surprise:
PIPINX410E ABEND 000000C5 at 01EF7024; PSW 03EC1000 81EF7024 00040005.

Wow.  Experimenting a little, I find I get this abend anytime the first
argument to STRIP() is longer than 18 characters:

   pipe literal | specs print strip(left('',19)) 1 | cons

¬R

Reply via email to