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 - 4104 days ago
Last viewed on: 17 Apr 2024 (5210 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: 11 years 6 months 23 days 21 hours 56 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: 11 years 6 months 23 days 15 hours 58 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: 11 years 6 months 17 days 3 hours 15 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: 11 years 6 months 16 days 23 hours 51 minutes ago

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