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


  • Subject: Re: debug options
  • From: "Michael Franchino" <frick@xxxxxxxxxxxxx>
  • Date: Wed, 22 Sep 1999 14:24:46 -0400
  • Organization: Custom Systems Corporation

I use STRDBG for both ILE and OPM programs. To use it for OPM, you must
compile your program with *SRCDBG. Also, when issuing the STRDBG command,
you must specify to use OPM support.

Even though it doesn't have all the features of STRISDB, it makes debugging
programs
in batch or programs that are imbeded deep within a application easy to
debug.

For example, since I am a MAPICS consultant, I may create user exit programs
that
are call by other MAPICS programs. MAPICS likes to pass a standard DS
between
all programs, making it nearly impossible to replicate without creating
another program to
pass that parm. With STRDBG, I just set my breakpoints on the source, return
to the menu
and select the options that I need to check. Once my program is called, the
source pops
right up.

If you are debugging in batch, follow these simple steps.

1. Place JOBQ on hold
2. STRSRVJOB on the submitted job
3. STRDBG on the program to debug
3a. The source will appear and a message will be issued saying that your
serviced job is not running.
      Press F12.. Don't set any breakpoints here, it won't take effect until
the job is running.
4. RLSJOBQ
5. Press F10 to begin command entry
6. DSPMODSRC
7. Set your breakpoints
8. Debug. Debug. Debug.

Michael Franchino
Custom Systems Corp.
Newton, NJ 07860
----- Original Message -----
From: Roger Boucher <RBoucher@stanpac.com>
To: <MIDRANGE-L@midrange.com>
Sent: Wednesday, September 22, 1999 12:48 PM
Subject: RE: debug options


> I am not yet using RPGIV but I was just wondering if you can "STEP"
through
> a program using STRDBG like you can with STRISDB?  I haven't used STRDBG
> since I found out about STRISDB... but when I go to RPGIV will I be taking
a
> "step" backwards?
>
>
> -----Original Message-----
> From: Reger, Bill [mailto:breger@levitz.com]
> Sent: Wednesday, September 22, 1999 7:15 AM
> To: 'MIDRANGE-L@midrange.com'
> Subject: RE: debug options
>
>
> STRDBG is the command and it works pretty nicely.
>
> William K. Reger
> Senior Project Manager
> Levitz Furniture Corporation
> Phone:  (561) 994-5114
> E-mail:  breger@levitz.com <mailto:breger@levitz.com>
>
>
> -----Original Message-----
> From: Sam Kanakanui [mailto:kanakanuis@mindspring.com]
> Sent: Wednesday, September 22, 1999 8:18 AM
> To: midrange-l@midrange.com
> Subject: debug options
>
> Hi,
>
> I have begun using RPG IV (not binding yet) and may need to debug a
program
> (not that I have a bug in my code).  I am familiar with STRISDB for RPG
III
> and know there is an ILE debugger but, how do I get to it? (command?)
> Furthermore, is there only 1 debugging utility available for RPG IV code
and
> what is the best source for information on it?
>
> TIA
> Sam Kanakanui
> Borg Systems Inc
>
> +---
> | This is the Midrange System Mailing List!
> | To submit a new message, send your mail to MIDRANGE-L@midrange.com.
> | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
> | To unsubscribe from this list send email to
MIDRANGE-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator:
> david@midrange.com
> +---
> +---
> | This is the Midrange System Mailing List!
> | To submit a new message, send your mail to MIDRANGE-L@midrange.com.
> | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
> | To unsubscribe from this list send email to
MIDRANGE-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator:
> david@midrange.com
> +---
> +---
> | This is the Midrange System Mailing List!
> | To submit a new message, send your mail to MIDRANGE-L@midrange.com.
> | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
> | To unsubscribe from this list send email to
MIDRANGE-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator:
david@midrange.com
> +---

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

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.