It appears that you are calling both GetInput and ZhbGetInput in that order. 

Because standard input can be read only once, which is being done by GetInput, ZhbGetInput fails with the CPF3C17 message when it attempts to read standard input.

Only one of the input subprocedures should be used, preferably ZhbGetInput. 

See the discussion in this group starting with message number 4770.

Also be sure to read "Getting and parsing the browser's input" in the CGIDEV2 readme file at http://www.easy400.net/cgidev2h/readme.htm#funcBrowserInput

For an example of using GetInput and CvtDb, see sample program TEMPLATE1 in member CGIDEV2/QRPGLESRC. 

For an example of using ZhbGetInput and its related parsing subprocedures, see members TEMPLATE3 through TEMPLATE5.

When using GetInput,, the input string does not start with an ampersand. It starts with the first character of input.


Mel Rothman, CGIDEV2 Author
Mel Rothman, Inc.



har75001 wrote:
I traceed this and in XXXCGIPARS proceedure during the call to
qzhbcgiparse  it returns the CPF3C17.

Is this error a problem?  Am I looking at the trace too much? I also
noticed the IET does not have an & in front of it. Is that normal?


GetInput: ASCII input =
IET=12FEA55E6DC2F7E01B0B35E2C74190098939D9D4&IES=CC89DA0D39BE4807B049&IEA=2F6D7A1E84BA4CF1E5E6F8
   ORDDDD&IECGN=GNGNGNGNGNG&Lsubmit=Send                            
                                                  
GetInput: EBCDIC input =
IET=12FEA55E6DC2F7E01B0B35E2C74190098939D9D4&IES=CC89DA0D39BE4807B049&IEA=2F6D7A1E84BA4CF1E5E6F
   WORDDDD&IECGN=GNGNGNGNGNG&Lsubmit=Send                           
                                                  
CvtDb: DS info -- CGIEXTERDS/CGIDEV2:                              
                                                  
CvtDb: DS data ="" DBRespCd            3- QUSEC
message ID: none.                                     
WrtJobDbg: 007222/QTMHHTTP/BANKWEB                                 
                                                  
ZhbGetInput: Request method = POST                                 
                                                  
ContLen: Content_length = 203                                      
                                                  
ZhbGetInput: Saved query string:                                   
                                                  
DATA1                                                              
                                                  
   DATA2                                                            
                                                  
ZhbGetInput: Call to QzhbCgiParse API failed with message CPF3C17.
Number of variables set to 0.                      



YAHOO! GROUPS LINKS




Reply via email to