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 - 1667 days ago
Last viewed on: 17 Aug 2017 (3097 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: 4 years 10 months 21 days 2 hours 29 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: 4 years 10 months 20 days 20 hours 30 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: 4 years 10 months 14 days 7 hours 48 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: 4 years 10 months 14 days 4 hours 23 minutes ago

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