These parameters tell the HTTP server to start a MINimum of 1 job and a MAXimum of 1 job. This is done by adding a couple of keywords to the STRTCPSVR command as such: STRTCPSVR SERVER(*HTTP) HTTPSVR(MYSERVER '-minat 1 -maxat 1') If you have the option (for example, if you have a testing/development environment) you should be able to start the HTTP server so that only one job will be started that will be used to process the CGI Program requests. Method 1 - Start the HTTP Server with a Maximum of 1 Processing Job But sometimes finding that job can be tricky The only real difference in debugging a web application is using the Start Service Program (STRSRVPGM) command to identify the job that we want to start debugging on. But, what if we want to debug a web program running our on IBM i (AS/400)? These programs normally run under "Batch" jobs are are initiated from a web browser, not from us just calling the program from a command line. Debugging a normal interactive program is pretty straightforward.
0 Comments
Leave a Reply. |