× 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.




I'm trying to use the sample code from midrangecomputing.com
(http://www.midrangecomputing.com/anje/article.cfm?id=162&md=19992)
demonstrating how to write CGI programs in RPG.  I followed all the
instructions and everything seemed to work ok (I think), but when I fill
the web form with data and click submit to kick it off, it goes into a
timed wait and just hangs.

If I check the call stack for the job, it looks like this (set your mail
reader to a fixed width font):

 Job:   HTCGIBIN       User:   QNOTES         Number:   479120

 Thread:   000000DF

        Program
 Rqs    or
 Lvl    Procedure   Library     Statement        Instruction
        _CXX_PEP    QSYS        0000000139
        main        QSYS        0000000127
      < SpawnChild  QSYS        0000000372
      < d__FPviPPc  QSYS        0000000565
        _C_pep      QNOTES
        main        QNOTES      0000000073
        system      QSYS        0000000006
        QCMDEXC     QSYS                            011F
      < EP_IE003RG  CGILIB
        IE003RG     CGILIB      0000000151
        QtmhRdStin  CGILIB      0000000048
        read        QSYS        0000001399
      < iP5iovecT3  QSYS        0000000243

After a while it just times out and dies.

I'm not an RPG programmer and really don't what's going on here, so any
help would be appreciated and if you need more info, just let me know.

Thanks,
Mike E.




+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.