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



Dies ist eine mehrteilige Nachricht im MIME-Format.
--
The error occurs before any statement executed. It occurs in the *INIT method.
If i change the parameter size downto 2000 it works fine...

 FORMATIERTER RPG/400-SPEICHERAUSZUG
 Programmstatusbereich:
 Programmname . . . . . . . . . . . . . :   NUG695L/IOPTRG
 Programmstatus . . . . . . . . . . . . :   09999
               RPG9999 (C G S D F). Nachricht  ausgegeben.
 Vorheriger Status  . . . . . . . . . . :   00000
 Fehlerhafte Anweisung  . . . . . . . . :   9400
 RPG-Routine  . . . . . . . . . . . . . :   *INIT
 Parameteranzahl  . . . . . . . . . . . :   002
 Nachrichtenart . . . . . . . . . . . . :   MCH0601
               Speicher-Offset X'40404040' oder Tera-Speicher-Offset
X'4040404040404040' liegt außerhalb der aktuellen Grenze für
 MI-Anweisungsnummer  . . . . . . . . . :   015F
 Zusätzliche Nachrichteninformationen . :
 Nachrichtendaten . . . . . . . . . . . :   Speicher-Offset X'00001900' oder
Tera-Speicher-Offset X'0000000000000000' liegt
 Letzte benutzte Datei  . . . . . . . . :
 Letzter Dateistatus  . . . . . . . . . :
 Letzte Dateioperation  . . . . . . . . :
 Letzte Dateiroutine  . . . . . . . . . :

Sorry for the german dump. But we have german as main language.

Thanks Uwe


Scott Mildenberger schrieb:

> I think we need to see the part of the code where the error occurs.
>
> Scott Mildenberger
>
> > -----Original Message-----
> > From: Uwe Heldt [mailto:uweheldt@gmx.de]
> > Sent: Monday, November 05, 2001 6:54 AM
> > To: RPG Liste
> > Subject: Maximum Parameter length differs between batch an interactive
> > job
> >
> >
> > Hi all,
> >
> > i'am running an RPG III Trigger program on V4R5M0 in two
> > ways. If i run
> > in interactive mode everything works fine. But in batch mode i get an
> > MCH0601 error (memory offset position error) The length of the defined
> > input parameter INDS1 is 3000. Is it too long for the batch mode. Why
> > does it works in interactive mode ???
> > In V5R1M0 both batch and interactive work fine...
> >
> > Here a sample code
> >
> > 0031.00      IINDS1       DS                           3000
> > 0032.00      I* Name der physischen Datei
> > 0033.00      I                                        1  10 FNAME
> > 0034.00      I* Bibliothek der physischen Datei
> > 0035.00      I                                       11  20 LNAME
> > 0036.00      I* Teildateiname
> > 0037.00      I                                       21  30 MNAME
> > 0038.00      I* Auslöserereignis
> > 0039.00      I                                       31  31 TEVEN
> > 0040.00      I* Auslöserzeit
> > 0041.00      I                                       32  32 TTIME
> > 0042.00      I* COMMIT-Sperrstufe
> > 0043.00      I                                       33  33 CMTLCK
> > 0044.00      I* Reserviert
> > 0045.00      I                                       34  36 FILL1
> >
> > .
> > .
> > .
> >
> > 0093.00      C           *ENTRY    PLIST
> > 0094.00      C           INDS1     PARM           INDS1
> > 0095.00      C           INDS2     PARM           INDS2
> > 0096.00      C*
> >
> > Thanks Uwe
> >
> > _______________________________________________
> > This is the RPG programming on the AS400 / iSeries (RPG400-L)
> > mailing list
> > To post a message email: RPG400-L@midrange.com
> > To subscribe, unsubscribe, or change list options,
> > visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l
> > or email: RPG400-L-request@midrange.com
> > Before posting, please take a moment to review the archives
> > at http://archive.midrange.com/rpg400-l.
> >
> _______________________________________________
> This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
> To post a message email: RPG400-L@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l
> or email: RPG400-L-request@midrange.com
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/rpg400-l.
--
Content-Description: Visitenkarte für Uwe Heldt

[ uweheldt.vcf of type text/x-vcard deleted ]
--



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.