REXX instance dies at SysPutEA if the attribute value exceeds 64k

REXX instance dies at SysPutEA if the attribute value exceeds 64k

Post by Marcel Mle » Wed, 11 Jan 2006 21:15:05


Hi,

the following line of code will immideately kill the REXX program
(including e.g. REXXTRY). It will not produce any output.

SAY "Result:" SysPutEA('test.txt','testea',LEFT("",100000))

Ok, it is an error to set an EA with more than 64kB. However, you have
no chance to catch this, unless you wrap every call to SysPutEA with an
if clause. I would have expected a REXX error.

Testet with OREXX (eCS 1.05).


This probably won't get fixed, but sometimes it is good to know!


Marcel
 
 
 

REXX instance dies at SysPutEA if the attribute value exceeds 64k

Post by Herwig Bau » Thu, 12 Jan 2006 01:30:50

Marcel Mler schrieb:
Same here with Classic REXX (Warp 4 FP#17).

popuplog.os2 says:

01-10-2006 17:28:02 SYS3175 PID 00ba TID 0001 Slot 00fa
D:\OS2\CMD.EXE
c0000005
1d2672dc
P1=00000002 P2=002a0000 P3=XXXXXXXX P4=XXXXXXXX
EAX=00290004 EBX=0021fc44 ECX=00000079 EDX=000101d0
ESI=0027ffec EDI=0029ffff
DS=0053 DSACC=f0f3 DSLIM=ffffffff
ES=0053 ESACC=f0f3 ESLIM=ffffffff
FS=150b FSACC=00f3 FSLIM=00000030
GS=0000 GSACC=**** GSLIM=********
CS:EIP=005b:1d2672dc CSACC=f0df CSLIM=ffffffff
SS:ESP=006b:0021fb90 SSACC=f0f3 SSLIM=ffffffff
EBP=0021fbbc FLG=00012216

REXXUTIL.DLL 0001:000072dc

Herwig

 
 
 

REXX instance dies at SysPutEA if the attribute value exceeds 64k

Post by Scott G » Sat, 14 Jan 2006 00:05:12


Yes, In a perfect world, it would.

Yes, exactly. I'm glad you took the time to let people know!
Unfortunately, I have to agree that it is very unlikely to get put in to
an "official fix."

-scott
 
 
 

REXX instance dies at SysPutEA if the attribute value exceeds 64k

Post by Hendrik Sc » Thu, 09 Feb 2006 06:05:49

Marcel Mler schrieb:

IBM is not going to fix this , since they see no real business impact.

Hendrik