× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Thanks, It was simpler than I taugh



Denis Robitaille
Directeur Service technique TI
CASCADES INC.
412 Marie Victorin
Kingsey falls(Québec) Canada J0A 1B0
T : 819 363-6130
F : 819 363-6155
"Birgitta Hauser" <Hauser@xxxxxxxxxxxxxxx> 2012-08-10 01:05 >>>
If you are on green screen, execute a STRSRVJOB (Start Service Job) to
associate the appropriate HTTP job for debugging. Execute STRDBG after.
After having ended debugging, End debug (ENDDBG) and end the Service job
(ENDSRVJOB)

STRSRVJOB JOB(123456/QTMHHTTP/MYCGIJOB)
STRDBG PGM(MYCGILIB/MYCGIPGM)
... debugging
ENDDBG
ENDSRVJOB

Mit freundlichen Grüßen / Best regards

Birgitta Hauser

"Shoot for the moon, even if you miss, you'll land among the stars." (Les
Brown)
"If you think education is expensive, try ignorance." (Derek Bok)
"What is worse than training your staff and losing them? Not training them
and keeping them!"

-----Ursprüngliche Nachricht-----
Von: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] Im
Auftrag von Robert Rogerson
Gesendet: Thursday, 09.8 2012 22:33
An: RPG programming on the IBM i / System i
Betreff: Re: How do you debug CGIDEV2 programs

Bob, how do you add a SEP on the green screen?

Thanks,

Robert Rogerson
On 2012-08-09 4:22 PM, Bob P. Roche wrote:

With WDSC or RDI/RDP you can set a Service Entry Point. That's how I've
done it. You have to get the permissions right, but it works great. You can
also do that for your green screen debugging, that way you always use the
same debugging tool.




From:
"Denis Robitaille" [1]<denis_robitaille@xxxxxxxxxxxx>
To:
RPG400-L [2]<rpg400-l@xxxxxxxxxxxx>,
Date:
08/09/2012 03:17 PM
Subject:
How do you debug CGIDEV2 programs
Sent by:
[3]rpg400-l-bounces@xxxxxxxxxxxx



Hello all,

I am using CGIDEV2 to develop an RPG program that present web pages.

When I needed to debug interactive green screen program, I used STRDBG to
walk trought the code as it ran.

Does any one know of an easy way to do the same thing with a CGIDEV2
programs?

Thanks


Denis Robitaille
Directeur Service technique TI
CASCADES INC.
412 Marie Victorin
Kingsey falls(Québec) Canada J0A 1B0
T : 819 363-6130
F : 819 363-6155

References

Visible links
1. mailto:denis_robitaille@xxxxxxxxxxxx
2. mailto:rpg400-l@xxxxxxxxxxxx
3. mailto:rpg400-l-bounces@xxxxxxxxxxxx
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpg400-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.