• Introducing Dark Mode! Switch by clicking on the lightbulb icon next to Search or by clicking on Default style at the bottom left of the page!

OS 400 Question

scott_parker

Reputable Poster
Greetings,
I have a batch job that is erroring out with the following message in the Job Log.

40 10/19/00 12:07:49 QRGXTIME QSYS 0001 QRGXTIME
Message . . . . : Pointer not set for location referenced.
Cause . . . . . : A pointer was used, either directly or as a basing
pointer, that has not been set to an address.
40 10/19/00 12:07:49 QMHUNMSG *N QRGXTIME QSYS
Message . . . . : Function check. MCH3601 unmonitored by QRGXTIME at
statement *N, instruction X'0001'.
Cause . . . . . : An escape exception message was sent to a program which
did not monitor for that message. The full name of the program to which the
unmonitored message was sent is QRGXTIME . At the time the message was sen
the program was stopped at higher level language statement number(s) *N. If
more than one statement number is shown, the program was a bound program.
Optimization does not allow a single statement number to be determined. If
*N is shown as a value, it means the actual value was not available.
Recovery . . . : See the low level messages previously listed to locate
the cause of the function check. Correct any errors, and then try the
request again.


These 2 error messages are just repeated OVER and OVER (killed the job and got a 59,000 page job log)

I know that the Program is at a statement of code that looks like the following

C TIME $TIME120 120

Nothing Wrong with this line of code.
I use the same line of code in another program and it works just fine.

We are on a 4 way AS/400 with OS of V4.R4

Any Ideas?
 

prumschlag

Active Member
Scott,

I have seen this before, but it has been a while. I believe that in our case we
recompiled the RPG program and it ran OK, but don't hold me to it.

Phil




scott parker <scott.parker@grote.com> on 10/19/2000 12:48:34 PM

Please respond to jdeworld@jdelist.com

To: jdeworldml@jdelist.com
cc: (bcc: Phil Rumschlag/PHD)
Subject: OS 400 Question ~~0:42



Greetings,
I have a batch job that is erroring out with the following message in the Job
Log.

40 10/19/00 12:07:49 QRGXTIME QSYS 0001 QRGXTIME
Message . . . . : Pointer not set for location referenced.
Cause . . . . . : A pointer was used, either directly or as a basing
pointer, that has not been set to an address.
40 10/19/00 12:07:49 QMHUNMSG *N QRGXTIME
QSYS
Message . . . . : Function check. MCH3601 unmonitored by QRGXTIME at
statement *N, instruction X'0001'.
Cause . . . . . : An escape exception message was sent to a program which
did not monitor for that message. The full name of the program to which the
unmonitored message was sent is QRGXTIME . At the time the message was sen
the program was stopped at higher level language statement number(s) *N. If
more than one statement number is shown, the program was a bound program.
Optimization does not allow a single statement number to be determined. If
*N is shown as a value, it means the actual value was not available.
Recovery . . . : See the low level messages previously listed to locate
the cause of the function check. Correct any errors, and then try the
request again.


These 2 error messages are just repeated OVER and OVER (killed the job and got a
59,000 page job log)

I know that the Program is at a statement of code that looks like the following

C TIME $TIME120 120

Nothing Wrong with this line of code.
I use the same line of code in another program and it works just fine.

We are on a 4 way AS/400 with OS of V4.R4

Any Ideas?


--------------------------
Visit the forum to view this thread at:
http://198.144.193.139/cgi-bin/wwwthreads/showflat.pl?Cat=0&Board=W&Number=42
*************************************************************
This is the JDEList World Mailing List.
Archives and information on how to SUBSCRIBE, and
UNSUBSCRIBE can be found at http://www.JDELIST.com
*************************************************************
 

richardjackson

Active Member
Someone else said to recompile. Try that first. BTW, is 12 and zero the
right size? If that doesn't fix it, You might try to put an error indicator
on the statement to suppress the problem while you get it fixed. Something
is broken in the compiler or the run time. Check with JDE to see if they
know of this problem and a solution. If they don't, contact IBM and open a
problem with them.

Richard Jackson
mailto:richardjackson@richardjackson.net
http://www.richardjacksonltd.com
Voice: 1 (303) 808-8058
Fax: 1 (303) 663-4325

-|
 

svdgi

Active Member
Using a bound call will eliminate this problem. First
create the bound object by CRTBNDRPG and then call
using CALLB and then compile the program

--- prumschlag <prumschlag@phdinc.com> wrote:
>
>
> Scott,
>
> I have seen this before, but it has been a while. I
> believe that in our case we
> recompiled the RPG program and it ran OK, but don't
> hold me to it.
>
> Phil
>
>
>
>
> scott parker <scott.parker@grote.com> on 10/19/2000
> 12:48:34 PM
>
> Please respond to jdeworld@jdelist.com
>
> To: jdeworldml@jdelist.com
> cc: (bcc: Phil Rumschlag/PHD)
> Subject: OS 400 Question ~~0:42
>
>
>
> Greetings,
> I have a batch job that is erroring out with the
> following message in the Job
> Log.
>
> 40 10/19/00 12:07:49 QRGXTIME QSYS
> 0001 QRGXTIME
> Message . . . . : Pointer not set for location
> referenced.
> Cause . . . . . : A pointer was used, either
> directly or as a basing
> pointer, that has not been set to an address.
> 40 10/19/00 12:07:49 QMHUNMSG
> *N QRGXTIME
> QSYS
> Message . . . . : Function check. MCH3601
> unmonitored by QRGXTIME at
> statement *N, instruction X'0001'.
> Cause . . . . . : An escape exception message was
> sent to a program which
> did not monitor for that message. The full name
> of the program to which the
> unmonitored message was sent is QRGXTIME . At
> the time the message was sen
> the program was stopped at higher level language
> statement number(s) *N. If
> more than one statement number is shown, the
> program was a bound program.
> Optimization does not allow a single statement
> number to be determined. If
> *N is shown as a value, it means the actual value
> was not available.
> Recovery . . . : See the low level messages
> previously listed to locate
> the cause of the function check. Correct any
> errors, and then try the
> request again.
>
>
> These 2 error messages are just repeated OVER and
> OVER (killed the job and got a
> 59,000 page job log)
>
> I know that the Program is at a statement of code
> that looks like the following
>
> C TIME $TIME120 120
>
> Nothing Wrong with this line of code.
> I use the same line of code in another program and
> it works just fine.
>
> We are on a 4 way AS/400 with OS of V4.R4
>
> Any Ideas?
>
>
> --------------------------
> Visit the forum to view this thread at:
>
http://198.144.193.139/cgi-bin/wwwthreads/showflat.pl?Cat=0&Board=W&Number=42
>
*************************************************************
> This is the JDEList World Mailing List.
> Archives and information on how to SUBSCRIBE, and
> UNSUBSCRIBE can be found at http://www.JDELIST.com
>
*************************************************************
>
>
>
>
>
>
>
>
>
>
> --------------------------
> Visit the forum to view this thread at:
>
http://198.144.193.139/cgi-bin/wwwthreads/showflat.pl?Cat=0&Board=W&Number=48
>
>
*************************************************************
> This is the JDEList World Mailing List.
> Archives and information on how to SUBSCRIBE, and
> UNSUBSCRIBE can be found at http://www.JDELIST.com
>
*************************************************************
>


__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf! It's FREE.
http://im.yahoo.com/
 
Top