× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: Database Triggers
  • From: Steve Faist <sfaist@xxxxxxxxxxxxx>
  • Date: Thu, 12 Mar 1998 15:49:56 -0500

Well, I figured out the problem.  Our programmer had copied code out of an IBM
manual.  The DB2 for OS/400 Database Programming manual, in Chapter 17 specifies
in the example written in RPG to identify the *entry parm as the following:

0169.00      C           *ENTRY    PLIST
0170.00      C           PARM1     PARM           PARM1
0171.00      C           PARM2     PARM           PARM2

Parm1 is defined as a data structure.  It has a problem moving the field into
itself.  It works successfully without any entry in Factor 1 or a different 
field
Factor 1.  I wasn't aware that this would cause a problem.  I've seen people 
move
a field into itself before without it blowing up.

Thanks for the input

Steve Faist
World Book Consulting Group
sfaist@earthlink.net

Steve Faist wrote:

> I have a question relating to Database trigger programs.  We are at
> level 50 security on V4R1.
>
> At execution time of the trigger program, I'm getting an Object domain
> or hardware storage protection violation message.  (MCH6801).  The
> trigger program was just created and is in RPG/400.
>
> Any suggestions???
>
> Steve Faist
> World Book Consulting Group
> sfaist@earthlink.net
>
> +---
> | This is the Midrange System Mailing List!
> | To submit a new message, send your mail to MIDRANGE-L@midrange.com.
> | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator: david@midrange.com
> +---
> uucp



+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


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-2024 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.