Midrange News for the IBM i Community


Posted by: Viking
Information Systems
CA
Service Entry Point debugging with RPGIII?
has no ratings.
Published: 26 Sep 2012
Revised: 23 Jan 2013 - 3895 days ago
Last viewed on: 18 Sep 2023 (5012 views) 

Using IBM i? Need to create Excel, CSV, HTML, JSON, PDF, SPOOL reports? Learn more about the fastest and least expensive tool for the job: SQL iQuery.

Service Entry Point debugging with RPGIII? Published by: Viking on 26 Sep 2012 view comments(4)

It's been a long time since I've had to debug an RPGIII program.  I always use RDP service entry points to debug these days and I thought I would use it for this RPGIII program but it doesn't seem to want to... can service entry point debugging not be used with RPGIII programs?

Thanks.

Return to midrangenews.com home page.
Sort Ascend | Descend

COMMENTS

(Sign in to Post a Comment)
Posted by: DaleB
Premium member *
Reading, PA
Comment on: Service Entry Point debugging with RPGIII?
Posted: 10 years 11 months 27 days 14 hours 13 minutes ago

I think you'll need CRTRPGPGM OPTION(*SRCDBG or *LSTDBG). If that's not enough, there may also be an RDP equivalent to STRDBG's OPMSRC(*YES).

Posted by: Viking
Premium member *
CA
Comment on: Service Entry Point debugging with RPGIII?
Posted: 10 years 11 months 27 days 8 hours 15 minutes ago

In RDP, I get the message "Cannot set service entry point on non-ILE program MYPGM"... so that's out. /sigh

But yes, *LSTDBG will get me what I need for STRDBG at least.

I wonder if I wrapped it in an RPGILE program if it would work...

Anyway, thanks for the input.

Posted by: RalphAMiller
Premium member *
Franklin, TN
Comment on: Service Entry Point debugging with RPGIII?
Posted: 10 years 11 months 20 days 19 hours 32 minutes ago

When I'm faced with the dilemma you describe(I maintain II and III) I bite the bullet and CVTRPGSRC.

Posted by: Viking
Premium member *
CA
Comment on: Service Entry Point debugging with RPGIII?
Posted: 10 years 11 months 20 days 16 hours 8 minutes ago

I like nothing more than to replace RPGIII with RPGIV /free, but this is a vendor's program...