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="/cgidev2usrp/cusret3le.pgm"                                  
>                 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="/cgidev2usrp/cusret5le.pgm?RGA#=/%RGA#%/"                    
>                 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!
>






 
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