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



Hello David,
You can't use the interactive debugger STRISDB, as far as I
know...here's how I do it:
Compile the source code into a library that's above your AMALIB - make
sure you specify *srcdbg in source listing options (do this in your
MAPICS environment, make sure AMXLIB is last in your library list).

Type  strdbg on the command line; F4 to prompt:

  Type choices, press Enter.

 

 Program  . . . . . . . . . . . .   xxxxxxxx      Name, *NONE

   Library  . . . . . . . . . . .     *libl       Name, *LIBL, *CURLIB

                + for more values

 

 Default program  . . . . . . . .   *PGM          Name, *PGM, *NONE

 Maximum trace statements . . . .   200           Number

 Trace full . . . . . . . . . . .   *STOPTRC      *STOPTRC, *WRAP

 Update production files  . . . .   *YES          *NO, *YES

 OPM source level debug . . . . .   *YES          *NO, *YES

 Service program  . . . . . . . .   *NONE         Name, *NONE

   Library  . . . . . . . . . . .                 Name, *LIBL, *CURLIB

                + for more values


<enter> 

This will bring up the src -- page down until you get to the point you
want 

Take F12 

Take F10 

dspmodsrc 

set break point  F6, F12, F12   Look at the bottom to see your options

When finished, type enddbg <enter>

Hope this helps...

Thank you,
Olga Gunther
Programming Manager
Custom Building Products
(562) 598-8808 x 312
http://www.custombuildingproducts.com/
 

-----Original Message-----
From: mapics-l-bounces@xxxxxxxxxxxx
[mailto:mapics-l-bounces@xxxxxxxxxxxx] On Behalf Of Dave Lauderdale
Sent: Tuesday, September 19, 2006 1:16 PM
To: mapics-l@xxxxxxxxxxxx
Subject: [MAPICS-L] Debugging MAPICS Vintage code

Does anyone know how to use the interactive debugger on a MAPICS RPG
program?  I have tried STRISDB prior to calling the MAPICS routine and
modifying the CLP program calling the MAPICS RPG program to include the
STRISDB program.  The problem I am having is getting the LDA information
to come across correctly.

TIA,
David Lauderdale
_______________________________________________
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.