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.
As an Amazon Associate we earn from qualifying purchases.