|
Rob, Out of curiosity, is it possible to set a SEP via green screen or is it WDSC only? I agree that they are a HUGE improvement in debugging capability. -mark
Service Entry Points, or SEP's, are a Godsend! No more holding a job, STRSRVJOB, etc. Really helpful when debugging these things, and things like ftp exit point programs. The ftp exit points often start a new job for each new session. No longer is it a big hassle. Repeat, SEP's are a Godsend! Rob Berendt -- Group Dekko Services, LLC Dept 01.073 PO Box 2000 Dock 108 6928N 400E Kendallville, IN 46755 http://www.dekko.com Vernon Hamberg <vhamberg@xxxxxxxxxxx> Sent by: rpg400-l-bounces@xxxxxxxxxxxx 10/23/2006 08:29 AM Please respond to RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx> To RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx> cc Subject Re: <<< Help debugging an RPG-CGI Program >>> Exactly. And in recent releases it is possible to use something called a SEP so that you don't need to know the job, just the program. I've not used it yet, as I develop on V5R1, where it is not available. The CGI job or jobs run as one of the jobs in subsystem QHTTPSVR and have the job name equal to the name of the http server instance. And on the STRDBG, add the OPMSRC(*YES) parameter if your program is not ILE but created with OPTION(*SRCDBG) or OPTION(*LSTDBG). Good luck Vern At 07:13 AM 10/23/2006, you wrote:"Peter - do I assume correctly that you know how to use debug with your CGI program?" I am not an expert Vernon but I used to debug this specific program inthepast (like 3-4 yrs ago) by starting a service program for that job: (like STRSRVJOB JOB(JobNumber/JobUser/JobName) ) and by starting debug mode for the program and setting my breakpoints: (like STRDBGPGM(Library/Program/)UPDPROD(*YES)), for example. Is something like that what you are referring to? I think that all Ineedto get in to the program and see, step-by-step, what is going on. Peter Vidal PALL Corporation / SR Programmer Analyst, IT Development Group 10540 Ridge Rd., Ste 203, New Port Richey, FL 34654-5111 http://www.pall.com
As an Amazon Associate we earn from qualifying purchases.
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.