Re: setsppfp crashes with MCH6801

Simon Coulter <shc-Q/[email protected]>
Newsgroups gmane.comp.lang.as400.mi
Message-ID <[email protected]>
On 07/05/2006, at 3:34 AM, Thomas Raddatz wrote:

> I have a program that utilizes setsppfp() to get a pointer to the 
> associated space of a binding
> directory object. It runs fine on our development box as well as on 
> our production box. The program
> crashes with MCH6801 on our test box which is another LPAR of our 
> production box. The violation type
> is 1 = Object domain violation.
>
> Both LPARS (production and test) are at security level 30. As far as I 
> know the production LPAR is
> DBCS and the test LPAR is SBCS. Both LPARs are at PTF level TL05298.

I presume the LPARs are on the same version of OS/400?

The MCH6801 indicates the failing partition is NOT running at security 
level 30.

Are you positive the security level on the failing LPAR is 30? The 
QSECURITY system value may show 30 but it may have been changed. If it 
was originally at a higher level that will still be in effect unless 
the partition has been IPLed after it was changed. Perhaps you should 
arrange for the partition to be IPLed just to be sure.

Your technique will not work at higher security levels. You should find 
an alternative method. The DSPBNDDIR command supports *OUTFILE. You'd 
be better off using that.


Regards,
Simon Coulter.
--------------------------------------------------------------------
    FlyByNight Software         AS/400 Technical Specialists

    http://www.flybynight.com.au/
    Phone: +61 3 9419 0175   Mobile: +61 0411 091 400        /"\
    Fax:   +61 3 9419 0175                                   \ /
                                                              X
                  ASCII Ribbon campaign against HTML E-Mail  / \
--------------------------------------------------------------------


_______________________________________________
This is the MI Programming on the AS400 / iSeries (MI400) mailing list
To post a message email: MI400-Zwy7GipZuJhWk0Htik3J/[email protected]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/mi400
or email: MI400-request-Zwy7GipZuJhWk0Htik3J/[email protected]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/mi400.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.