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



Everyone,
Tom Steiger hit it on the head - the subscription runs through
AMUJOBQ. So, I passed one hurdle, but am stuck again. I did all the
processes that Kevin layed out (see below), but it always tells me 'Job
being serviced has ended'. Any suggestions? Here are the steps I did:

1) Put queue on hold
2) Entered customer order
3) Found job in queue, put it on hold and released the queue for other
users
4) Did a STRSRVJOB on that job in the queue
5) STRDBG then quickly F12'd out (no breakpoints)
6) Released the job
7) At Start Serviced Job screen, hit F10
8) At command entry display, did DSPMODSRC and set breakpoint, then F12
9) F12'd out of command entry display
10) Got message saying the serviced job had ended.

Am I doing something wrong?

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 Tom E Stieger
Sent: Monday, March 23, 2009 3:08 PM
To: mapics-l@xxxxxxxxxxxx
Subject: Re: [MAPICS-L] Debug problems

Do subsricptions run interactively or in batch? If it is in batch then
you wouldn't have the same job info as interactive. I believe host
prints and jobs are run through batch.


- Tom Stieger
Engineer
Califonria Fine Wire

-----Original Message-----
From: mapics-l-bounces@xxxxxxxxxxxx
[mailto:mapics-l-bounces@xxxxxxxxxxxx] On Behalf Of John Furniss
Sent: Monday, March 23, 2009 11:43 AM
To: MAPICS ERP System Discussion
Subject: Re: [MAPICS-L] Debug problems

Thanks Riley, but that is what I have been doing all along. The hard
thing to figure out is that sometimes it actually transfers control back
to my green screen session where I've started the service job and
debugger, but no source pops up for me to F10 through. I've compiled the
source with *COPY and *SOURCE in the Debug View, so I can't understand
it. I does work, however when I run a program directly from PowerLink.
What I mean is that I've put an icon on the task bar to change a certain
date if the user wants. If I enter a date in the field and click the
icon, (when debugging that particular program) the debugger stops at my
breakpoint. So, the debugger IS working, but just not when the program
is called from a subscription. So, if it is 'behind the scenes' at all,
no luck.

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 Riley Baptiste
Sent: Monday, March 23, 2009 2:34 PM
To: mapics-l@xxxxxxxxxxxx
Subject: Re: [MAPICS-L] Debug problems


Hi John,





1. While signed on to Powerlink do a wrkobjlck on your userprofile.

2. Look for the job that has QZRCSRVS and display it get the job
information.

3. Do a start service job command and key in the Powerlink job info.

4. Do a start debug and set your breakpoints.

5. Run your program from Powerlink and you should see your Integrator
user exit program in debug.













Date: Mon, 23 Mar 2009 13:55:14 -0400
From: JFurniss@xxxxxxxxxxxxxxxxx
To: mapics-l@xxxxxxxxxxxx
Subject: Re: [MAPICS-L] Debug problems

Thanks for all your replies, but the tips seem to be directed toward
debugging submitted jobs. This is getting run interactively. I am
simply
entering a customer order and we have a subscription on the CO Line
Items business object. It calls a program that prints what we call a
'special ticket' for items we deem as specials. It is a very simple
thing which is what frustrates me. We are on Rel. 7 of Mapics and have

been for quite some time.

Our NMS service is started, but the log tab doesn't show us any logs.

Has anyone run into problems getting a debug to stop on a subscription

or user exit?

One thing I noticed from Kevin Gerard's tips: It says that once the
submitted job is released, it should have the Start Service Job panel
displayed. Mine does not. In fact it rolls straight through as if no
debug or service job was ever started.

Voltz: Thanks for the reply, Smart Guy. Never changed, huh? ;-)

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 Josh Diggs
Sent: Monday, March 23, 2009 12:43 PM
To: 'MAPICS ERP System Discussion'
Subject: Re: [MAPICS-L] Debug problems

What release are you on? I'm on 7.7, and I have the log tab in Link
Manager. At one point I modified the logging options for this service
by putting a MyTraceOptions.xml in the /MAPICS/properties/my directory

(auxilliary server), but I don't think this should change the basic
logging properties. In other words, I think you should have that log
and the job detail in it. Maybe support can direct you to the
appropriate log file in the IFS.

Is the NMS service started? If so, it seems this may be a difference
in
XA versions.

Good luck.

Josh

-----Original Message-----
From: mapics-l-bounces@xxxxxxxxxxxx
[mailto:mapics-l-bounces@xxxxxxxxxxxx] On Behalf Of John Furniss
Sent: Monday, March 23, 2009 9:29 AM
To: MAPICS ERP System Discussion
Subject: Re: [MAPICS-L] Debug problems

Thanks, Josh, but I wasn't able to find a log tab in NMS. Some of the
other jobs have logs, but not NMS. Like I said, thanks, but it seems
to
be another dead end.

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 Josh Diggs
Sent: Monday, March 23, 2009 12:21 PM
To: 'MAPICS ERP System Discussion'
Subject: Re: [MAPICS-L] Debug problems

I think publish subscribe works off of the NMS job. If you open Link
Manager and expand the application server group, there should be a job

labeled NMS. If you highlight that and scroll through the log tab, it
should give you the job information. I would try the strsrvjob on the
job listed in this log and see what you get.

-----Original Message-----
From: mapics-l-bounces@xxxxxxxxxxxx
[mailto:mapics-l-bounces@xxxxxxxxxxxx] On Behalf Of John Furniss
Sent: Monday, March 23, 2009 9:05 AM
To: MAPICS ERP System Discussion
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.

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

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



_________________________________________________________________
Windows Live(tm) SkyDrive: Get 25 GB of free online storage.
http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_skydrive_032009
_______________________________________________
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.



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

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.