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



List

I got at least two responses like the one below on Monday when I first
posted my 'Debug problems' question. I've tried the below solution time
and again and always get the same results - right after I press F12 in
the second part of step 5 (which is 'When command entry display is
shown, press F12) the system tells me "Job being serviced has ended".

Has anyone run into this problem? I searched Midrange.Com archives with
no luck and am currently on page 7 of my Google search with no luck
either.

I tried to issue the DSPMODSRC command before releasing the job, but get
an error that tells me that I cannot do this command while the job is on
hold.

Thanks for the help,

John Furniss
Applications Programmer
Allied Machine & Engineering, Corp
Phone: 330-343-4283, ext. 8371
email: jfurniss@xxxxxxxxxxxxxxxxx
-----Original Message-----
From: mapics-l-bounces@xxxxxxxxxxxx
[mailto:mapics-l-bounces@xxxxxxxxxxxx] On Behalf Of
Kevin.Gerard@xxxxxxxxxxxxx
Sent: Monday, March 23, 2009 12:29 PM
To: MAPICS ERP System Discussion
Cc: MAPICS ERP System Discussion
Subject: Re: [MAPICS-L] Debug problems

Hey John.

Yes, use DSPMODSRC. You can follow these instructions


SBMJOB ... HOLD(*YES)

2. STRSRVJOB JOB(jobnbr/user/jobnam)

3. STRDBG

When source is displayed, press F12

4. RLSJOB JOB(jobnbr/user/jobnam)

When Start Serviced Job display appears, press F10

5. When command entry display is shown, DSPMODSRC

When source is displayed, set a breakpoint, then press
F12

When command entry display is shown, press F12

6. When Start Serviced Job display reappears, press Enter

Program will stop at breakpoint, and can be debugged

interactively

7. After serviced job ends

ENDDBG

ENDSRVJOB



It's not too bad. Note if you use Web Sphere Development Studies for
client, which has a bit of learning curve but not terrible, you can
at the
program/object level put a debug point, and it's pretty slick for
debugging User Exits/Broker Code. You're on the right track tho.
You
have to use the STRSRVJOB still, and then use that DSPMODSRC to put
the
break point in after the job is started.

I can forward you some of my own notes I keep handy which help with
debugging stuff with Integrator.

Kevin



-------------------------------------------
Kevin Gerard, Senior Technical Consultant
TriMin Systems, Inc. - Infor Channel Partner
kevin.gerard@xxxxxxxxxxxxx
Direct 309-932-3103
Mobile 309-883-1689
www.triminmfg.com

"We are committed to helping manufacturing companies improve their
Visibility, Productivity, Growth and Profitability"
-----mapics-l-bounces@xxxxxxxxxxxx wrote: -----

To: "MAPICS ERP System Discussion" <mapics-l@xxxxxxxxxxxx>
From: "John Furniss" <JFurniss@xxxxxxxxxxxxxxxxx>
Sent by: mapics-l-bounces@xxxxxxxxxxxx
Date: 03/23/2009 11:05AM
Subject: [MAPICS-L] Debug problems

Everyone,

I'm needing to get debug to work in both a Mapics User
Exit
and simply a program that runs just a little 'behind the scenes'.
By
using STRSRVJOB and STRDBG I am able to get a program to stop at my
breakpoints IF I am trying to stop a program that is getting called
directly from the browser, such as clicking on a radio button to
run a
job. But, when I try to stop a program that is called from an
Integrator
subscription or a user exit, it will not stop at my breakpoints.

In the archives, I found where someone suggested using
DSPMODSRC to set breakpoints but that doesn't work either. I'm
getting
seriously frustrated with this. Can anyone tell me how to get my
debugger to stop when using a subscription and/or user exit.

Any help is much appreciated (as always)

John Furniss

Applications Programmer

Allied Machine & Engineering, Corp

Phone: 330-343-4283, ext. 8371

email: jfurniss@xxxxxxxxxxxxxxxxx

_______________________________________________
This is the MAPICS ERP System Discussion (MAPICS-L) mailing list
To post a message email: MAPICS-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/mapics-l
or email: MAPICS-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/mapics-l.
_______________________________________________
This is the MAPICS ERP System Discussion (MAPICS-L) mailing list
To post a message email: MAPICS-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/mapics-l
or email: MAPICS-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/mapics-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.