We are currently testing a VB program that calls a stored procedure on the AS/400. The stored procedure expects to receive one parameter of VARYING type. I've coded an *ENTRY PLIST on my program and defined the incoming parameter as 35 VARYING. On the VB (Client) side the parameter is defined as VARCHAR (35). If the VB program populates this parameter with anything less than 35 characters, the stored procedure DOES NOT return any records (record sets). Currently, the VB program is having to append "blanks" to the end of the parameter to make it work. Can someone tell me What are we doing wrong? TIA

Reply With Quote