Hello,

I am new to CGIDEV2 and am working with another programmer who has 
worked with other tools before but is also new to CGIDEV2.  
There are some programs here that work most of the time, but 
sometimes fail with Pointer not set for location referenced.
I am evaluating the coding methods with regards to parameter passing.
The first method below is what is in use today, the second method is 
what I am proposing as an alternative. 
Can you advise me what method to use when?

(1) 

The html using his method looks like this:

<a href="/cgi-bin/ARRCCC01?/%ar$_totaltopay%/">

And the rpgle using his method looks like this:

c     *entry        plist
c                   parm                    p_totaltopay        


(2)

I looked at the examples in my book Stone on CGIDEV2 and changed the 
coding in development following what I saw there.
This program works when I test it, but it has not been in use in the 
live partition so I don't know that it is bullet proof.

The html using my method looks like this:

<a href="/cgi-bin/ARRCCC01?p_totaltopay=/%ar$_totaltopay%/">    


And the rpgle using my method looks like this:

      eval      STD_NbrVar =
                zhbgetinput(STD_SavQryStr:qusec) 
      eval      wk$_totaltopay = zhbgetvar('p_totaltopay')  



I have been receiving a daily digest from this group and find it very 
interesting.  Thanks in advance for your help.

Sue Mayo
San Francisco


      






 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Easy400Group/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to