Debug PUIUPLEXIT Program

Use this board for starting discussions, asking questions, and giving advice on RPG programming for the IBM i platform (and predecessors.)
jkoger92
New User
Posts: 2
Joined: Tue Jun 21, 2016 3:26 pm
First Name: James
Last Name: Koger
Company Name: Jano Technologies Inc.
Contact:

Debug PUIUPLEXIT Program

Post by jkoger92 »

Has anyone ever debugged the PUIUPLEXIT Program? If so, can you elaborate on how?
User avatar
Glenn
Profound Logic Staff Member
Posts: 124
Joined: Mon Apr 14, 2014 4:08 pm
First Name: Glenn
Last Name: Hopwood
Company Name: Profound Logic Software
State / Province: Ohio
Country: United States
Contact:

Re: Debug PUIUPLEXIT Program

Post by Glenn »

James,

I have often debugged PUIUPLEXIT (and other exit programs). The simplest way is to use the Service Entry Point facility in RDi (..or RDp, depending on version). If the RDi tooling isn't available to you it's possible to use STRDBG in conjunction with the STRSRVJOB command.

Let me know which option you'd prefer, and I'll gather some more information for you.

Glenn
jkoger92
New User
Posts: 2
Joined: Tue Jun 21, 2016 3:26 pm
First Name: James
Last Name: Koger
Company Name: Jano Technologies Inc.
Contact:

Re: Debug PUIUPLEXIT Program

Post by jkoger92 »

I am currently using the green screen STRSRVJOB and STRDBG, but every time I try to actually debug the upload widget, it doesn't pull up and completes the action. Am I missing something by chance?

Edit: It might help to know that the PUIUPLEXIT program is in the instance
User avatar
Glenn
Profound Logic Staff Member
Posts: 124
Joined: Mon Apr 14, 2014 4:08 pm
First Name: Glenn
Last Name: Hopwood
Company Name: Profound Logic Software
State / Province: Ohio
Country: United States
Contact:

Re: Debug PUIUPLEXIT Program

Post by Glenn »

James,

I'm currently out of the office at a conference but I can point you to an article that might assist you in getting going.

The article below will show you how to do the same thing that the RDi Service Entry Point processing does. It works pretty well if you don't have access to RDi.

https://www.itjungle.com/2012/10/03/fhg100312-story01/

Let us know if that gets you going.

Glenn
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest