1. Chen Mey Lee
  2. PowerBuilder
  3. Monday, 8 March 2021 02:21 AM UTC

Hi,

I used PowerBuilder 2021 (beta)  CacheName to connect different database dynamically during runtime.

I modify below DBParm ,

From:

 SQLCA.dbparm = "Release='12.5',staticbind=0,Charset='roman8'"

To

 SQLCA.dbparm = "Release='12.5',staticbind=0,Charset='roman8'"  + ",CacheName='" + trim(db_name) + "'"

 

 

But getting below error because my Stored Procedure is return varchar(1000). It worked fine before added the cachename.

B

 

CREATE PROCEDURE g_qaInitialize
   @comp_nr char(3)
  ,@plan_nr char(2)
  ,@ssn_nr char(9)
  ,@quest_key char(10)
  ,@called_by char(1)
  ,@description varchar(255) = NULL OUTPUT
  ,@jump_back char(1) = NULL OUTPUT
  ,@flow_ind char(1) = NULL OUTPUT
  ,@win_option char(1) = NULL OUTPUT
  ,@cancel_option char(1) = NULL OUTPUT
  ,@screen_width char(1) = NULL OUTPUT
  ,@cb_save_text varchar(10) = NULL OUTPUT
  ,@ErrorMessage varchar(1000) = NULL OUTPUT

 

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Monday, 8 March 2021 02:45 AM UTC
  2. PowerBuilder
  3. # 1

Hi Chen May;

   Please open a support ticket for this issue.

Regards ... Chris

Comment
  1. Chen Mey Lee
  2. Monday, 8 March 2021 03:07 AM UTC
Bug 6231 , thanks
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.