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



CRTSQLRPGI command does not show *LISTING as a debug view. *SOURCE is
the only option I see.

Are you using /copy or /include to fetch your copybooks?

-Eric DeLong

-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx]
On Behalf Of GKern@xxxxxxxxxxxxxxxx
Sent: Tuesday, July 28, 2009 1:14 PM
To: wdsci-l@xxxxxxxxxxxx
Subject: [WDSCI-L] RSE - SEP debugging of program with /copy

RSE Version 7.0.0 build id 20070202-0030 on V5R4 - both RSE and V5R4 are

reasonably current.

I've modified three RPGLE programs (two are SQL RPGLE) to extract some
common D specs and four 'shared' subroutines and put that code in a
copybook.

Compiling the SQLRPGLE defaults to debug view of *LISTING and for the
RPGLE I had to specify *LIST for the debugging view.

Then when debugging using an SEP, the debugger seems to flake out and
doesn't always return or execute the line I expect. It seems like it's
all
over the place after the first or second time the view switches to the
copy member and then back to the parent source member.

I've been through the preferences but am not sure if I'm missing
something
to correct this.

And yes I know the subroutines in the copybook should be in a service
program but that's a project for another day. Right now I just want to
alleviate having to maintain three programs if I can put the shared code

in one copybook and maintain it there, but testing it is difficult as
I'd
like to be able to step through the code to ensure it is indeed being
executed as expected.

Any ideas?

Thanks!

Regards, Jerry

Gerald Kern - MIS Project Leader
Lotus Notes/Domino Administrator
IBM Certified RPG IV Developer
The Toledo Clinic, Inc.
4235 Secor Road
Toledo, OH 43623-4299
Phone 419-479-5535
gkern@xxxxxxxxxxxxxxxx


This e-mail message, including any attachments, is for the sole use of
the
intended recipient(s) and may contain confidential and privileged
information. Any unauthorized use, disclosure or distribution is
prohibited. If you are not the intended recipient, please inform the
sender by reply e-mail and destroy this and all copies of this message.

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.