From: Leif Svalgaard <leif@leif.org>
> From: <Bobby.Hicks@ccc-michigan.com>
> > How did you dump the PCO yesterday in order to get the Job/user/number? 

> make a program 'X':
> DCL DD PCO BASPCO;
> DCL DD DATA CHAR(4096) DEF(PCO) POS(1);
> DCL DD SHOW CHAR(4096);
> CPYBLA SHOW, DATA;
> BRK "1";
> RTX *;
> 
> ---
> 
> CRTMIPGM X
> STRDBG X

if you try to show DATA directly:


> ADDBKP STMT(1) PGMVAR((DATA ())) OUTFMT(*HEX) LEN(4096)
> CALL X
> 

you get a Domain violation. This is a bit strange. Why can't the debugger
show DATA when user-state program X can copy DATA?




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2022 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.