More about SAP's strategy for PowerBuilder
Question with Automated Builds using OrcaScript & PB 12.0.1
Hi:
Not sure how to ask the question, so I'm just throwing it out there. I am trying to automate our builds for testing from the development environment using OrcaScript, unfortunately we do not add our targets to SCC. Is there any way to do a Get Latest Version on individual libraries and just get those objects that were modified? If so, could you provide me with some examples?
If that is not possible, what are the CONS to adding the target to SCC?
Any assistance you can provide is greatly appreciated.
Thank you.
Janie
Datawindow & MySQL
Hello
I work with PowerBuilder 11.50 and Mysql 5.6.11
Can I do Datawindow with Store Procedure ?
When I selected my Store Procedure I got this message ... The database does not currently support retrieval of procedure text.
Could you help me please?
FILTER vastly outperforming DELETE
I’m far from an experienced programmer and I feel remiss that I can’t objectively contribute to the discussions posted on the forum. But recently I modified the application I develop and it dramatically speed up the process of ‘removing’ redundant rows from a datastore by using a filter rather than a delete, discard, or move rows to the delete buffer. This process is not in any PB text or reference book I’ve encountered. So I thought I’d explain it with the hope that someone else may benefit as I did. Moreover, experienced programmers may be able to value-add to my comments.
By way of background, the application reads in data from a text or spreadsheet file. Each row of data includes entities such as names and addresses, telephone numbers, times and dates etc. The application parses and validate the data and orders it in sequential rows in a datawindow.
However, many of the rows carry replicated, or near-replicated, data. Once the replicated data is consolidated into one row, the residual redundant rows, often up to 60% of the total rows, have to be ‘discarded’.
I found that copying the total rows to be processed to a datastore was quicker than using the datawindow and, in regard to removing the redundant rows, using ‘rowscopy’ to the DELETE! buffer was much quicker than DeleteRow.
Processing time was acceptable when the source files were only several thousand rows. But occasionally there’d be files with 70,000 rows or more. The hidden overheads of the ostensibly simple ‘rows copy to delete’ process, albeit one row at a time, resulted in an unacceptable three- to four-hours processing time.
I was aware the Filter process worked quickly when filtering large datastores. With this in mind, I ‘flagged’ each redundant row by putting an arbitrary number in an invisible column that, to this point, colour-highlighted replicated row-sets for the user’s information in the datawindow: ie, a value of zero did not highlight, one highlighted green, two blue, three yellow etc.
As a row was made ‘redundant’ in the ‘crunching’ loop, instead of copying the row to the Delete buffer, I set the value of 500 in this colour-highlight column. Once all the rows had processed through the merging loop, I set a filter to retain rows that did not equal this 500 value, and filtered the datastore. The process then copied the datastore PRIMARY buffet to the datawindow for presentation.
What had previously taken over three hours went through in, literally, seconds.
SAP announcement new beta version of PowerBuilder.
Excellent news for all PowerBuilder developer. Please click
on the following link for new beta version..
Forcing Initial Directory for GetFileOpenName( )
Is there a way to change the initial directory before it opens? I am using PB 12,1 with DB2
KB
add combobox to toolbar
Can I add a combobox or other control to a frame toolbar (toolbar of frame menu)?
PBService Anyone?
PB 12.5.1
I have an application that runs as a service using PBService. I have recently found an issue where if my application fires a HALT CLOSE during the start_pending execution from the broker object my application does not close. If I use ExitProcess then it will close but that is not what I want because the service could start up again. Before I get further into the details I am wondering if anyone out there has used PBService and possible timing issues I might be having with it.
Thanks again,
Chris Craft
Powerbuilder vs Java
Hi All
I am new in powerbuilder, I was working in Java
I want know Powerbuilder vs Java
Thanks
Alberto
Using Tableblob
I'm trying to figure out if the new tableblob feature in the classic PB 12.5 datawindow meets my needs. Basically, I have two tables:
TABLE A (ID, FNAME, LNAME)
TABLE B (ID, PHOTO (image type))
I need to join table A with B on ID and show ID, FNAME, LNAME, and PHOTO (as an image) in a tabular dw (multiple records).
I've played around with tableblob and the documentation is... sparse. Can it do what I need it to do?
PB 12.5 Classic with web service proxy error
Hi,
I'm fairly new to Powerbuilder and am trying to modify a Powerbuilder 12.5 Classic application to use a new web service on site. In my case, I read a number of articles and muddled through creating a web service proxy using the .net extensions with PB 12.5 Classic. I installed the .Net 4.0 frame work, the SDK and the .Net prereqs for PB12.5 from the disk. I do have this working on my desktop machine (both within the IDE and from deployed executable) but when I tried to deploy it to other machines for testing, I suddenly get an error "The ordinal 3873 could not be located in the dynamic link library LIBEAY32.dll". I believe that I have deployed all the required files from the SAP deployment list for a web service proxy on the server and made sure the application and sybase\shared folders are in the path.
SAP feels that I have a dll conflict with libeay32.dll or ssleay32.dll but I have proven with Windows function calls that the library is NOT in memory when I go to set up the proxy object. I am even loading the specific libeay32.dll version that I want (dated July 2011) using LoadLibraryEx (another Windows function) and getting a successful handle id. SAP has had me run process monitor and they see a call to another version of libeay32.dll that is owned by IBM DB2. We use this for our authentication and DB2 is a data source for my application. For some reason, they didn't see the same call on my desktop's process monitor even though, I have the same DB2 connect software installed and also use it for data when I run it locally. I suspect this error is bogus. I've had this working locally for several months and just can't seem to figure out what's wrong with my deployment. Any ideas? If I were going to set up a new machine with just this application on it, what should I have installed on it (Windows Server 2008 R2 OS)?
SoapConnection conn // Define SoapConnection
edmsexpedmsdocumentexporter proxy_obj // Declare proxy
ulong modhandle, modhandle2
long modhandle0
gs_edms_message = ''
modhandle0 = GetModuleHandleA("libeay32.dll")
Messagebox ("existing dll handle = ", string(modhandle0))
FreeLibrary(modhandle0)
modhandle = LoadLibraryA("C:\EIA\Beta\PB 12.5\Invoice Approval - EDMS\libeay32.dll")
IF modhandle > 0 THEN
Messagebox("Return Code"," libeay32 Load Successful -> handle - " + String (modhandle))
ELSE
MessageBox("Result","Unable to load module")
END IF
// added 11/6/13 to see if loading ssleay32.dll explicitly will clear our error
modhandle2 = LoadLibraryA("C:\EIA\Beta\PB 12.5\Invoice Approval - EDMS\ssleay32.dll")
IF modhandle2 > 0 THEN
Messagebox("Return Code"," ssleay32 Load Successful -> handle - " + String (modhandle2))
ELSE
MessageBox("Result","Unable to load module")
END IF
conn = create SoapConnection //Instantiated connection
//lLog = conn.SetSoapLogFile ("C:\mySoapLog.log")
// Set trace file to record soap interchange data,
// if string is "", disables the feature
//**************error occurs on the following line
rVal = Conn.CreateInstance(proxy_obj, "edmsexpedmsdocumentexporter")
Thanks, Mark
SLOW PB REPORT ON WIN2012 SERVER
Hello. I recently moved one of my PB App's (Pb 11.2) to a Windows 2012 server and have serious performance trouble with my "Invoice-report". In "RetrieveEnd" i use do until to loop throug the data to set "Invoice Number". With four Invoices this takes one second on my Win7 PC. On the WIn2012 server it takes 16 seconds. Anyone experenced somthing like this and have a fix for this?
Sten-Inge Polland
PowerBuilder 12.5 & Application Server
Hi All,
I have a PB 12.5 application (client-server) which I've recently converted to Web using Appeon & it seems to be running fine. Right now its running locally on IIS 7. Since now I have a web enabled application I have to deploy it on a Enterprise Application Server. What I intend to do, is make this application available on the web, so that anyone can access it from anywhere using the internet.
So can someone please tell me broadly how to go about it (in a dumbed down version, if possible ) -
Which Application Server should I choose, Weblogic, jBoss etc
How to setup & configure the Application Server (domain, security) etc
What all I need to do in PowerBuilder before deploying the application
What all file/files will be deployed on the application server
I'm asking all this because I never setup & configured an App Server before. Also I've gone thru the installation guide for Weblogic, etc on Appeon website but couldn't understand much from it.
Any help is much appreciated.
Thank You.
Windows CE 6.0 and PocketBuilder Menus
Hi,
one of our customers upgraded one of his devices and it came with Windows CE 6.0 (ARM) instead of the CE 5.0 (ARM) installed before.
Good news: The Pocketbuilder software still works fine.
Bad News: none of the menus in the application open. Only the Top Menu Item is accessible not anything it contains...
Is there any way to fix this?
I have EBF 2.5.2 1273 installed and I think there is nothing newer.
It also happens when I just create a new Project with the wizard. I cannot access the "about" menu item on the device.
The Device is a Datalogic Skorpio X3
Purpose of this Group
Just curious. Is the purpose of this discussion group to support the Beta users. For example, is this where we are to post questions and bug reports?
Randy
Error saveas PDF PB12.5.NET
Hi,
I have create a Webservices with PB12.5.NET.
In my webservices, I have a graph datawindow, that I want to saveas as pdf to send an email.
When I save graph datawindow to PDF I have an error (-1). However, if I save other type datawindow, I can save it.
The problem is graph datawindow and saveas pdf.
Anybody can help me, please?
Regards,
pb accessibility files allow access, but cause a problem
Hi. We have a customer who runs our pb 12.5 app from Citrix.
They recently applied, what the customer identified as "Hotfix2" to the Citrix 6.5 servers which run our app.
After Hotfix2 was applied, users were unable to login to our app and would see the message, "Error loading library. Please check whether the Powerbuilder Accessibility Library can be located in the path."
When we placed pbacc125.dll in the path, the error message disappeared and users were able to login, but later, the app would freeze at different places.
Our customer's Citrix Admin then rolled back Hotfix2 and all was well.
Some questions...
- are there switches in Citrix config which might govern the need for pb accessibility files?
- why might our app be hanging with hotfix2 and pbacc125 in-place?
- what might be our best next step?
Any thoughts/suggestions appreciated.
Thanks,
Doug
PB15 Beta Installation Issues
The AutoRun.exe program need to fix the links on some of the buttons.
Install .NET Prereqs does not work.
View PB Installation Notes does not work:
Installing InfoMaker 15 gives an error but you can continue the installation and the program does run. I have a number of previous version installed.
There is a 2nd zip file to down load from the Beta which includes some documentation the most important one being a PDF file discussion the new features and how they work. You need to review this document because the Help file appears to be from PB12.5.
Now we begin the testing process and will get back later with the results.
Randy
PB 12 (and PB 15) retrieval arguments error
Hi all
The queryarguments in theDatawindowproducesincePB12a mistakewhen enteringmore likeoneargument.
WithPB15isnot yetresolved.If I changethe arguments in EditSource I cansave it.But still, it generates an error.What can I do.
See attach files
SAPshouldfix itfinally.
André Rust
PB 12.5 webservice decimal symbol
When retrieving data from a webservice a value of 100.00 is converted to 10000. This is because our decimal symbol is a , instead of a . (dot).
When we change the settings in the registry everything works fine. We prefer not to do this.
It is possible to change something in the .cs file to set the decimal for the webservice to . instead of using the regional settings?
We could then recompile the .cs file. I mean the .cs file the PB 12.5 generates when creating the objects for the webservice.
Thanks in advance,
Eric