Quantcast
Channel: SCN: Message List - PowerBuilder Developer Center
Viewing all 7329 articles
Browse latest View live

Re: DelimitIdentifier

$
0
0

Do you have the datawindows select statement designed in SQL or in the "SQL Painter" (PBSELECT () Syntax vs. "pure" SQL Syntax).

 

If it's the PBSELECT (..)  Syntax, I believe PowerBuilder only references the table.column as a kind of expression in the where clause and does not touch this expression during runtime.

 

Depending on the number of datawindows, the best and a pragmatic way is to change(touch) all your datawindow SQL Statements .

 

If it is a large application .. you can try do build some converter.

 

I wonder, if you also used inline SQL or SQL functions that are not supported by HANA or have a different Syntax? How will you handle this?

 

Arnd


Appeon 2015 bugs?

$
0
0

Hi All

 

Platform: Appeon 2015R1 Build 359

 

  • Appeon Workspace seems to maintain screen always on (the device does not go into sleep mode), with the consequent battery consumption. Works in Build 298. Tested in Android 5.0.2, 4.4.2 and 4.2.2
  • App does not run if I deploy an external file with the name "<appname>.js".

    Seems to be a conflict with the automatically generated file of the same name.

    For example, for a "test" app with a window "w_test" and an external file "test2.js" I get a correct app with the appinfo.xml file as:

    Captura.PNG

          But if the external file name is "test.js" the appinfo.xml generated is:

Captura2.PNG

 

Overwrite problem?

 

Regards

Re: PowerBuilder 12.5 Classic does not start in Windows 10

$
0
0

Just installed PowerBuilder 12.6 in Windows 10 with a touch screen, I get the behavior you describe; however, if you go to Task View you can see that PowerBuilder is in fact open. 

 

You can either use the touch screen by swiping from the left edge to the right to open Task View or using your keyboard you can use the Windows key + the tab key to open Task View. Select the PowerBuilder task and you can proceed.

 

Note: I am not able to see the task using the old Alt + Tab key combination, I must use the Windows + Tab key combination to open PowerBuilder.

Re: PowerBuilder 12.5 Classic does not start in Windows 10

$
0
0

Hi Joseph;

 

  I believe that you will need to turn off the Touch Screen Service before PB 12.6 IDE will appear.

 

Regards ... Chris

[Microsoft][ODBC SQL Server Driver]Optional feature not implemented

$
0
0

Hi All,

 

My program is working fine at local, but it hits the following error when I try to run at development server.

 

DataWindow Error

Select Error: SQLSTATE - S1C00

[Microsoft][ODBC SQL Server Driver]Optional feature not implemented

 

The program is actually to generate report which is a composite datawindow ( A datawindow with graph which is created from store procedure and another datawindow to show listing), sample as below is generated from my local.

 

Capture.PNG

 

The store procedure to pass data into the graph datawindow having parameters as below:

 

@ld_datefrom DATE,

@ld_dateto DATE,

@li_instcode NUMERIC (3)

 

 

The listing datawindow having the retrieval arguments as below:

RA.PNG

 

Understand that the given error is something with the date data type. I did change the argument ld_datefrom and ld_dateto to 'DateTime', but when I enter ld_datefrom = 2015-01-01 and ld_dateto = 2015-12-31, it will throws another error "Numeric Value out of range" at local, when I try to Run/Preview the listing datawindow. What should I do for this? Please advise.

outofrange.PNG

 

This is a bit urgent and kindly advise.

Thank you in advance.

 

BR,

Yow

Re: Powerbuilder 12.5 TLS Native Driver Sql Server

$
0
0

On the PB side the error is:

 

SQLSTATE = 08001

Microsoft SQL Server Native Client 10.0

TCP Provider: An existing connection was forcibly closed by the remote host.

 

From SSMS:


A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider: 0 - An existing connection was forcibly closed by the remote host.) (Microsoft SQL Server, Error: 10054)

Re: [Microsoft][ODBC SQL Server Driver]Optional feature not implemented

$
0
0

Hello Yow, Have you tried '2015-01-01 00:00:00' and '2015-12-31 23:59:59'?

Re: [Microsoft][ODBC SQL Server Driver]Optional feature not implemented

$
0
0

Turn on Database Trace and then open log file it creates in Notepad and find the exact SQL statement that generated the error.

 

Database Trace is activated by adding 'TRACE ' to the front of sqlca.DBMS. In your case set sqlca.DBMS to 'TRACE ODB'.

 

Then try running the SQL statement in the Database Painter and adjust it until you get it to work. Post your results here for further advice. There might be a connection parm that can help but we can't tell for sure without the exact SQL statement that generated the error.


How should be a structure to be returned by PB SOAP PB Web Service

$
0
0

Hi,

 

We are using PB 12.6 Classic.

 

The Corporation has a large web application with front end in Java Server Pages in JBOSS and NVO components deployed to EAS. Since EAS will be discontinued/out of maintenance this year, I have to find the best way to revamp the NVOs and deploy them as .NET web services into IIS.

 

The trouble is that the EAS target has a bunch of NVOs passing back and forth a structure with elements as arrays, not an array of structures, which causes a non compatible data type when compiled in the web target. The structure that causes the error is kind of:

 

Structure ERROR_EAS:

 

string     error_msg[]

string     error_code[]

etc, etc

 

I found an example in one of Bruce Armstrong articles that may work in my situation causing less changes in the NVOs code

 

Power Point file "webservices.pptx" and URL

 

https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=10&cad=rja&uact=8&ved=0ahUKEwjcu5Pb5ovLAhXBpR4KHSSNDF0QFgh…

 

However, there is no mention in the article about the definition of the structures "s_employee" and "s_employees" and the code is still giving a invalid data type compiler error. I tried several combinations between the structures but I still get a compiler error.

 

So my questions are:

 

1. Since a web service method cannot return an array of structures, how should be a structure definition to be returned by the method containing a result set, as in Bruce's Power Point file?

 

2. Pass a structure by reference to a method that has an argument as an array of structures compiles in the web target but gives an compiler error in the PB Client to consume the service: function with mismatch arguments

 

Another option could be to create .NET assemblies from the NVOs and consume them from the JSP front end, but at this point I did not try it yet.

 

Any help will be very appreciated.

 

Thank you,

Paulo

Re: How should be a structure to be returned by PB SOAP PB Web Service

Re: How to call Restfull webservice using Powerbuilder.Net

$
0
0

FYI:  The following binding types for JSON are not currently supported in PowerBuilder WCF client applications: NetPeerTcpBinding, MsmqIntegrationBinding, BasicHttpContextBinding, NetTcpContextBinding, and WSHttpContextBinding.

Re: How to call Restfull webservice using Powerbuilder.Net

$
0
0

PowerBuilder.Net Rest Client Proxy project will have the option to choose as JSON input/output from the restful web service.

 

Please verify that GET method has any Input to process the response.. You have receive the JSON output as  PBWebHttp.WebMessage and then process it as you want.

Re: Powerbuilder 12.6 datawindow text fields shows jibberish

$
0
0

I have found what is causing the characters to appear.  The value for the DW is pulled from the DB.  The field is blank in the DB and when I get the value out of Powerbuilder when the datawindow is contructed, it is NULL, which the GUI does not like.  I check to see if the value is NULL, and if so set it to an empty string and the crazy characters do not show up.  This worked without a problem in version 11.5, but showed up in 12.6.

Re: How should be a structure to be returned by PB SOAP PB Web Service

$
0
0

Hi Lars,

 

The discussion you mentioned here

 

WebService .net Engine XML structure returned as string or any?

 

has a Chris Pollack suggestion on how to define and relate structures to be returned by a web service.

 

Using his suggestion I could re factor the structure of one of the hundreds EAS NVOs, deployed it into IIS and consumed the method, receiving back a result set, as expected.

 

So it worked fine and unless something unexpected happens along the way, this is how I'll re factor the existing EAS NVOs in order to deploy them into IIS.

 

Thank you and Chris for the help!

 

Cheers,

Paulo

Powerbuilder 12.6 application does not run from the CITRIX application

$
0
0

Trying to run our Powerbuilder 12.6 application from the CITRIX application or locally on the dmaps-citrix system and getting an error:fit.exe - Application

     test.exe - Application Error

 

The application was unable to start correctly (0xc000007b). Click OK to close the application

 

dmaps-citrix is running Windows Server 2008 R2 Standard Service Pack 1 and XenApp 6 Fundamentals Edition from Citrix company. We have a customer that runs their application from the Citrix environment and has for many years.  Past versions of Powerbuilder have not caused any issues.

 

Our application is a 32-bit.

 

It runs everywhere else with the same DLL's, but when putting them all on Citrix, it fails.


Re: Powerbuilder 12.6 datawindow text fields shows jibberish

Re: Powerbuilder 12.6 application does not run from the CITRIX application

Re: Powerbuilder 12.6 datawindow text fields shows jibberish

$
0
0

I had a problem similar to this when I tried working with an early version of 12.6.  It was listed as a bug, fixed in a later release.  I haven't tried to go back and get the ebf to see if it works though, i gave up on 12.6.

 

HTH - Jeff

Re: Powerbuilder 12.6 datawindow text fields shows jibberish

Re: How should be a structure to be returned by PB SOAP PB Web Service

$
0
0

Hi Paulo;

 

1) Web Service structure generator.

 

2) I have a Web Service presentation I that gave at last year's PB Conference. If your interested, just drop me an email & I can send you a copy.

  (Cpollach.at.Travel-Net.dot.com. [edit accordingly])

 

Regards ... Chris

Viewing all 7329 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>