Hi Troy,
 
You are absolutely correct. I removed the # from the HTML input variable and all is well. 
 
Thanks.
Ignatius.

troypaulson <[EMAIL PROTECTED]> wrote:
I think your problem is with having the # sign in the link.  # signs have special meaning in
HTTP, try removing the # sign, then reading the variable in again.  Remember to remove
the # sign from the zhbgetvar also.

--- In [email protected], Ignatius Kalapurakkel <[EMAIL PROTECTED]> wrote:
>
> Hi,
>   
>   I am having problem displaying a page from an anchor  <a href .....  link from a
previous page.  There are two links on the previous page both calling a CGI program. One
works fine.  The other don't. I checked the CGIDEBUG file and I see a message saying
"ZhbGetInput: Call to QzhbCgiParse API failed with message CPF3C17. Number of variables
set to 0.  
>   
>   Any body know what CPF3C17 means.  The problem I have is that a variable that is
supposed to pass to the CGI pgm is not getting there.
>   
>   Any help is appreciated. 
>   
>   Thanks.
>   Ignatius.
>   
>   Here are the snippets of the code:
>   
>   Html of the page contains:
>   
>   
>   <DIV style="position:absolute;left:710px;top:280px;width:83px;height:32px;
>            z-index:47" align="left">
>    <FONT style="FONT-SIZE:8pt" face="Arial">                              
>      <a href=""                                 
>                 target="_blank">GetAddr</a></FONT>                        
>    </DIV>                                                                 
>                                                                            
>   <DIV style="position:absolute;left:673px;top:327px;width:87px;height:15px;
>              z-index:79" align="left">
>    <FONT style="FONT-SIZE:9pt" face="Arial">                              
>      <a href=""                   
>                 target="_blank">Print Request</a></FONT>                  
>    </DIV>
>   
>   
>   
>   c     $input        begsr                                           
>    c/copy cgidev2usr/qrpglesrc,prolog3                                 
>    c                   eval      nbrVars =                             
>    c                             zhbgetinput(savedquerystring:qusec)   
>    c                   eval      control = zhbgetvar('RGA#')           
>    c     control  chain     pfretjoe                              
>    c                   if        %found(pfretjoe)                      
>                 ……………….
>                ……………….
>   
>   Variable control is not getting the value from RGA#  but on the URL I see the value of
RGA# correct.
>   
>
>            
> ---------------------------------
> Relax. Yahoo! Mail virus scanning helps detect nasty viruses!
>






SPONSORED LINKS
How to format a computer hard drive Cobol programmer Iseries 400
How to format a computer


Yahoo! Mail
Use Photomail to share photos without annoying attachments.

SPONSORED LINKS
How to format a computer hard drive Cobol programmer Iseries 400
How to format a computer


YAHOO! GROUPS LINKS




Reply via email to