Michael Gibbons wrote:
     
>Can anyone tell me how to pass a parameter to a cgi rpg ile program. I have a 
>clickable link that says http://mis.marywood.edu/cgibin/a11527.pgm?00172 how 
>do i receive the 00172 in my program?
     
     
     If you are using a Net.Data macro, the parameter can be passed as an 
     environment variable.  ILE programs can retrieve the variable with an 
     API call.  QtmhGetEnv is an API that exists in QTCP/QTMHCGI, at least 
     at V3R2 and V3R7.
     
     If you need to put an environment variable, there is a PTF for V3R2 
     and V3R7, to provide that API.
     
     There is a lot of good info at 
     http://www.software.ibm.com/data/net.data/
     
     
     -- Carol
     
  +=======================================================================+ 
  |    Carol Collins   Sr. Network Administrator                          | 
  |                    WASTREN  /  Holmes and Narver Services, Inc.       | 
  |                    2597 B-3/4 Road                                    | 
  |                    Grand Junction, CO  81503                          | 
  |                    U.S. Dept of Energy  Grand Junction Office         | 
  |    Internet:       Carol.Collins@doegjpo.com                          | 
  |    Phone   :       (970) 248-6524                                     | 
  +=======================================================================+
  
     
      
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "MIDRANGE-L@midrange.com".
| To unsubscribe from this list send email to MAJORDOMO@midrange.com
|    and specify 'unsubscribe MIDRANGE-L' in the body of your message.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


This thread ...


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

This mailing list archive is Copyright 1997-2019 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 here. If you have questions about this, please contact [javascript protected email address].