Debugging a CGI RPG Web Program

Discussions relating to writing software in ILE RPG (RPG IV). This includes both fixed and free format RPG.
Post Reply
Jacoba
Posts: 2
Joined: Wed Oct 04, 2023 3:35 pm

Debugging a CGI RPG Web Program

Post by Jacoba »

I have recently started my first job utilizing RPG, and I am doing it in a web development setting. I need help debugging CGI programs.

I have attempted to find information online, and there is some, but I do not feel even close to being able to actually debug these programs. I did find information that Scott has some experience with CGI programs, and that is what brings me here today. I am familiar with Scott as he has mentored a couple of my fellow classmates through the COMMON mentorship program. Would Scott, or anyone else be able to help me begin debugging this RPG CGI Web program?

Apologies if this is the wrong place to post this and thank you for your consideration.

Sincerely,

Jacob Anderson
Last edited by Jacoba on Thu Oct 12, 2023 6:24 pm, edited 2 times in total.
jonboy49
Posts: 206
Joined: Wed Jul 28, 2021 8:18 pm

Re: Debugging a CGI RPG Web Program

Post by jonboy49 »

Brad Stone has a brief piece on the topic here: https://www.fieldexit.com/forum/display?threadid=48

CNX have a nice on here: https://www.cnxcorp.com/blog/debug-back ... ing-strdbg

Jan did a piece for MC Press here: https://www.mcpressonline.com/programmi ... i-programs

The easiest way is using Service Entry Points (SEPs) which are described on the midrange wiki here: https://wiki.midrange.com/index.php/Service_Entry_Point

Many approaches - all of which work.
Jacoba
Posts: 2
Joined: Wed Oct 04, 2023 3:35 pm

Re: Debugging a CGI RPG Web Program

Post by Jacoba »

Thank you jonboy49, I am having some luck with the MCPress tutorial.
Post Reply