Looks like V5R3 enhanced SETDPAT instruction to increase maximum length of
packed variable from 31 to 63.  That's great, thanks, but, when I try to
display a PKD(63,0) data pointer on V5R3 in OPM debugger, the OPM debugger
dumps with MCH0601, "Space offset **** is outside current limit for object
****"

DCL DTAPTR DATA AUTO;
DCL DD     ATTR AUTO CHAR(7);
DCL DD     BIG  AUTO CHAR(32) INIT(
 X"123456789012345678901234567890123456789012345678901234567890123F");
CPYBLA     ATTR, X"03003F00000000";
SETDPADR   DATA, BIG;
SETDPAT    DATA, ATTR;
BRK        "LOOK";
RTX        *;

and then

STRDBG ...
ADDBKP LOOK
CALL ...
DSPPGMVAR DATA

then MCH0601 occurs.   Work around?


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.