Power builder 6.5 and oracle 8.1.7
dear friends
I am using powerbuilder as front end and oracle as backend and extensively depend on Oracle stored procedures result set values for my datawindows.But i amd facing a problem .The problem being that i connect to ORACLE from Powerbuilder using SQLCA using and ini file .Now if i open the data window the window opens without any error and result are displayed> but i disconnect and again connect using SQLCA and try to open a datawindow attatched to the stored procedures returning the result set i throws me an error that WRONG noof argumnets in call to procedure_name.
If any one has a solution for this please help me
Thanking you all
MUNISH GUPTA
Filippo,
Probably the clntsh lib has been damaged in some copying action (FTP in ASCII
mode?).
The linker noticed at least that it does not have the Executable and Linking Format
(ELF) that it is supposed to have.
Winfried Scheulderman
Filippo Timpone <[email protected]> wrote:
Hello,
we need to call a Tuxedo Service from inside an Oracle (8.1.7) Pl/Sql
block.
We just have the C function that call the Tuxedo service but when we
try to perform the "Make -f" instruction the following error is fired:
make -f $ORACLE_HOME/rdbms/demo/demo_rdbms.mk extproc_callback SHARED_LIBNAME=client_plsql.so
OBJS=client_plsql.o
ld -b -L/appl/oracle8.1.7/product/8.1.7/lib -L/appl/oracle8.1.7/product/8.1.7/lib/
-L/appl/oracle8.1.7/product/8.1.7/rdbms/lib/ -o client_plsql.so client_plsql.o
/appl/oracle8.1.7/product/8.1.7/lib/nautab.o /appl/oracle8.1.7/product/8.1.7/lib/naeet.o
/appl/oracle8.1.7/product/8.1.7/lib/naeca
ld: Mismatched ABI (not an ELF file) for -lclntsh
Fatal error.
*** Error exit code 1
Stop.
How can we solve the problem?
Thanks in advance,
Filippo
Similar Messages
-
How can i migrate Power Builder 8.0 Function into oracle PL/SQL
Hi Oracle Experts...
How can i migrate Power Builder 8.0 Function into oracle PL/SQL.. I had migrate some of the coding from PB to PL/SQL. But i don't know how can i convert PB structure(here structure is a data type) into oracle PL/SQL.
Instead of structure what is the equivalent in oracle plsql
Below i pasted my POWER BUILDER FUNCTION:
Long ll_perd,ll_lnperd,ll_mon,ll_effmon,ll_instno,ll_odno
Decimal{5} ldl_actual,ldl_diff,ldl_inst
Datetime ldt_first,ldt_exp,ldt_oddt, ldt_lastprod
String ls_instmode,ls_inst
str_batch lstr_od //Structure to store odamt and oddate
Select pay_c_final,lon_d_expiry, lon_d_lastprod
Into :ls_inst,:ldt_exp, :ldt_lastprod
From loan_mast
Where branch_c_code = :gs_branch and
act_c_type = :as_actype and
act_c_no = :as_acno;
If Sqlca.Sqlcode = -1 Then
f_message('FT-0189',Sqlca.Sqlerrtext)
lstr_od.batchslno = -1
Return lstr_od
End If
If adt_prodt > ldt_exp Then
Select Ceil(months_between(:adt_prodt,:ldt_exp)) Into :lstr_od.batchslno From dual;
lstr_od.cheqdt = ldt_exp
lstr_od.batchslno = DaysAfter(Date(ldt_lastprod), Date(adt_prodt))
Else
If ls_inst = 'N' Then
If adt_prodt > ldt_exp Then
Select Ceil(months_between(:adt_prodt,:ldt_exp)) Into :lstr_od.batchslno From dual;
lstr_od.cheqdt = ldt_exp
Else
lstr_od.batchslno = 1
End If
ElseIf ls_inst = 'Y' Then
Select first_d_due,lon_c_instperd,lon_n_perd
Into :ldt_first,:ls_instmode,:ll_lnperd
From loan_mast
Where branch_c_code = :gs_branch and
act_c_type = :as_actype and
act_c_no = :as_acno;
If Sqlca.Sqlcode = -1 Then
f_message('FT-0189',Sqlca.Sqlerrtext)
lstr_od.batchslno = -1
Return lstr_od // Return Structure
End If
Select Ceil(months_between(:adt_prodt,:ldt_first)) Into :ll_mon from dual;
If ll_mon > 0 Then
Select Nvl(ln_n_balance,0),Nvl(ln_n_instlamt,0),Nvl(ln_n_instlno,0)
Into :ldl_actual,:ldl_inst,:ll_instno
From loan_inst_sch
Where act_c_type = :as_actype and
act_c_no = :as_acno and
ln_d_effdate = (Select Max(ln_d_effdate)
From loan_inst_sch
Where act_c_type = :as_actype and
act_c_no = :as_acno and
ln_d_effdate < :adt_prodt);
If Sqlca.Sqlcode = -1 Then
f_message('FT-0224', Sqlca.Sqlerrtext)
lstr_od.batchslno = -1
Return lstr_od
ElseIf Sqlca.Sqlcode = 100 Then
lstr_od.batchslno = 1
* Return lstr_od*
End If
If adl_bal > ldl_actual Then
If ldl_inst > 0 Then
lstr_od.batchslno = (adl_bal - ldl_actual) / ldl_inst
End If
Else
lstr_od.batchslno = 1
End If
If lstr_od.batchslno = 0 Then lstr_od.batchslno = 1
//For full OD
If ll_mon > ll_lnperd Then
lstr_od.batchslno = (ll_mon - ll_lnperd) + lstr_od.batchslno
End If
If ls_instmode = 'Q' Then
lstr_od.batchslno = lstr_od.batchslno * 3
ElseIf ls_instmode = 'H' Then
lstr_od.batchslno = lstr_od.batchslno * 6
ElseIf ls_instmode = 'Y' Then
lstr_od.batchslno = lstr_od.batchslno * 12
End If
Select :adt_prodt - :lstr_od.batchslno Into :lstr_od.cheqdt From dual;
If ls_instmode = 'M' Then
ll_odno = ll_instno - lstr_od.batchslno // To get OD Date
Select ln_d_effdate
Into :lstr_od.cheqdt
From loan_inst_sch
Where act_c_type = :as_actype and
act_c_no = :as_acno and
ln_n_instlno = :ll_odno;
If Sqlca.Sqlcode = -1 Then
f_message('FT-0224', + Sqlca.Sqlerrtext)
lstr_od.batchslno = -1
Return lstr_od
End If
End If
Else
lstr_od.batchslno = 1
End If
End If
End if
Return lstr_od
Thanks in adance
Arun M MWhat are you going to return the structure to? What I would normally use here if the code was going to be used by other PL/SQL would be a PL/SQL object type.
However, if PowerBuilder is still in the equation (you're moving the logic to PL/SQL but keeping PowerBuilder for the GUI ), then you'll have to return something else, because PowerBuilder doesn't understand PL/SQL object types. Perhaps passing a REF CURSOR as a OUT argument and populating it from the procedure. PowerBuilder could then retrieve the result of the procedure using a stored procedure based DataWindow. -
Help building an e-commerce site using DreamWeaver MX 2004 and Oracle 10G
I'm new to using Oracle 10G. After reviewing several rdms's I've picked Oracle 10G as my rdms. I'm trying to build an ecommerce site using DreamWeaver MX 2004 and Oracle 10G. The website will be selling hardware and software products. I have a choice in DreamWeaver to go for a .asp or .jsp setup. I have several questions, here goes:
1. Is there any book/tutorial/whitepaper out there that describes building an ecommerce site using Oracle 10G/9I/8I? Just some examples as how to make the datamodel regarding the shopping basket etc.
2. I prefer DreamWeaver as it let's me make nice looking css style based pages without throttling too much through the code. Are there Oracle tools which allow me to make an advanced nice looking ecommerce site?
I hope some of you can help me get started. Any effort is appreciated.
CheersI'm new to using Oracle 10G. After reviewing several rdms's I've picked Oracle 10G as my rdms. I'm trying to build an ecommerce site using DreamWeaver MX 2004 and Oracle 10G. The website will be selling hardware and software products. I have a choice in DreamWeaver to go for a .asp or .jsp setup. I have several questions, here goes:
1. Is there any book/tutorial/whitepaper out there that describes building an ecommerce site using Oracle 10G/9I/8I? Just some examples as how to make the datamodel regarding the shopping basket etc.
2. I prefer DreamWeaver as it let's me make nice looking css style based pages without throttling too much through the code. Are there Oracle tools which allow me to make an advanced nice looking ecommerce site?
I hope some of you can help me get started. Any effort is appreciated.
Cheers -
Oracle 9i with Power Builder 7.0.2
Hi everybody!!!
we are trying to pull out a report using the Stored Procedures in Oracle 9i thro' ODBC in Power Builder.
The Procedure has two arguments, Viz.
1. A Number Argument as "IN" Parameter &
2. a PACKEGED REF CURSOR as an "IN OUT" Parameter.
When we try to build a dw on this SP thro' ODBC, it refuses to build. The Database Driver Doesn't give any error message.
IF we build the procedure without the IN Number Parameter, IT does its job successfully by returning the result set.
We are having following Configuration:
1. OS: Win NT 4.0 SP 6.
2. Front End: Power Builder 7.0.2 Build 8031.
3. Back End: Oracle 9i build 9.2.0.1.0
4. ODBC: Oracle 9i build 9.02.00.00
5. ODBC File: SQORA32.DLL
We even tried by using the latest driver without any success.
Seeking any help reg.g this.
Thanks in Advance.
Amol.Forgive my ignorance, but what does dw in "build a dw on this" stand for? I'm only coming up with Data Warehouse, but I'm pretty sure that's not what you mean.
Can you clarify "refuses to build"? Do you get an error message from Power Builder?
For sanity, I'd try the same thing on a Windows 2000 machine. That would tend to be a more heavily tested environment (though NT 4 is supported).
Have you run an ODBC trace to determine if the driver is reporting errors that Power Builder isn't showing you?
My guess would be that this is a problem with Power Builder. I'd contact those folks to see whether they have any known issues/ workarounds.
Justin -
Oracle Workflow Builder and Oracle 9i
The Oracle 9i Client CD does not include the Workflow Builder and MAPI Mailer, however the Oracle 9i Server CD NT does under the Client Component option.
Customers on other platforms need access to the builder, so patch 2053572 has been released to remedy this situation.
Customers should not install any other version of the Oracle Workflow Builder into a 9i Oracle Home. Previous releases of the Workflow require and 8i Oracle Home.
See Metalink Note 161304.1 for more details.Got around the error by not running the installer (setup.exe) that came with the workflow code tree. I ran my Oracle Installer and pointed it at the appropriate place in the workflow code tree, and that worked. The Net8 Config Assistant setup process didn't complete, but I just copied my 9i tnsnames.ora file into the workflow network\admin directory and everything worked fine.
-
TFS 2013 Build for PL/SQL and Oracle Projects
Hi,
We use TFS Build with SQL Server Projects.
We also have PL/SQL projects .We are using MSSCCI to check in and check out files. Is there anyway we can use TFSbuild for these projects( [PL/SQL]/Oracle) too ?
Thank you.
SuHi Su,
Thanks for your post.
How do you manually build your PL/SQL/Oracle projects?
TFS Build invoke MSBuild command to build project/solution on build agent machine by default. If these projects can be built using MSBuild command line manually, then we can use TFS Build(default build process template) to build these projects.
If these projects need be built using another complier, and this compiler support run the command line to invoke it, so you can add the InvokeProcess activity(execute the command line) to invoke this compiler to build these projects in build process template,
then create build definition using this customized build process template.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Guys,
We have Power Builder 7.0.2 which runs against 7.3.4 dB. It works fine for the past several years. Now we are planning to move the database to 9.2. Will there be any problems from power builder? Your help is appreciated.
Regards
RameshForgive my ignorance, but what does dw in "build a dw on this" stand for? I'm only coming up with Data Warehouse, but I'm pretty sure that's not what you mean.
Can you clarify "refuses to build"? Do you get an error message from Power Builder?
For sanity, I'd try the same thing on a Windows 2000 machine. That would tend to be a more heavily tested environment (though NT 4 is supported).
Have you run an ODBC trace to determine if the driver is reporting errors that Power Builder isn't showing you?
My guess would be that this is a problem with Power Builder. I'd contact those folks to see whether they have any known issues/ workarounds.
Justin -
Connection String connect 10XE from Power Builder 7.0
Hai All
I want to know how can I make connection String to connect Oracle 10 XE from Power Builder 7.0. Is is possible to connect from PB 7.0 or I have to Migrate to PB10 ?
Thanks In Advance
Regards
ShwetaHi
Yes,you can integrate multiple sap systems with PI.
1) Create a automatic Technical system for 4.6C system(R/3) using RZ70 in 4.6c...then create a business system for this.
2) Create a automatic tecnical system in sld for SAP ECC 6.0(R/3) system using rz70 in ecc and create a business system for this.
3) Also create TS & BS if any non sap applications are involved.
use this Business systems as per the interface requirements for sender & receiver
Regards
Abhijit -
Using Coherence and Oracle Database as the CacheStore
We are working on implementing a solution using Coherence and Oracle Database as the CacheStore. We initially implemented the Cache as a distributed-scheme which in turn uses the backing-map-scheme. We are trying to introduce transaction management and I used a scheme-ref in a transactional-scheme to point to an already existing distributed-scheme. However when I bring up the server, my custom coherence-cache-config.xml file is not recognized and Coherence comes up with the default setting. Given below is the snippet of my configuration file.
1) I would like to understand why the below configuration doesn’t work and am I doing it the right way? If not, what is the correct way of doing it?
2) There are a multiple transaction management options given in the documentation. Which are the ones that will work with a distributed-scheme and read-write-backing-map-scheme?
3) If transactional-schemes cannot work with distributed-scheme, what is the best way to have a distributed cache with a oracle database as a cache store?
<caching-scheme-mapping>
<cache-mapping>
<cache-name>id<cache-name>
<scheme-name>example-transactional<scheme-name>
</cache-mapping>
</caching-scheme-mapping>
<caching-schemes>
<transactional-scheme>
<scheme-name>example-transactional</scheme-name>
<scheme-ref>distributedcustomcache</scheme-ref>
<thread-count>10</thread-count>
</transactional-scheme>
<distributed-scheme>
<scheme-name>distributedcustomcache</scheme-name>
<service-name>DistributedCache</service-name>
<backing-map-scheme>
<read-write-backing-map-scheme>
<internal-cache-scheme>
<local-scheme>
<!--scheme-ref>categories-eviction</scheme-ref-->
<scheme-name>inMemory</scheme-name>
</local-scheme>
</internal-cache-scheme>
<cachestore-scheme>
<class-scheme>
<class-name>spring-bean:coherenceCacheStore</class-name>
<init-params>
<init-param>
<param-name>setEntityName</param-name>
<param-value>{cache-name}</param-value>
</init-param>
</init-params>
</class-scheme>
</cachestore-scheme>
<!--refresh-ahead-factor>0.5</refresh-ahead-factor-->
</read-write-backing-map-scheme>
</backing-map-scheme>
<autostart>true</autostart>
</distributed-scheme>Hi,
If you look at the documentation for transactional-scheme here: http://docs.oracle.com/cd/E24290_01/coh.371/e22837/appendix_cacheconfig.htm#BHCIABHA
you will see that it says The transactional-scheme element defines a transactional cache, which is a specialized distributed cache. That means that a transactional-scheme is already a distributed-scheme.
You will see from the same documentation above that there is no way in a transactional-scheme to configure things like cache-stores or listeners or even the backing-map-scheme as these are not supported on a transactional-scheme - so you cannot use a cache store.
Personally I would not use transactional-scheme unless you have some really big reason to do so - the restrictions far outweigh any perceived advantage of having a transaction. There are better ways to build applications so they do not require transactions, that is what we have been doing for years with Coherence so far, and there is no real reason to change that.
JK -
Visual C++ 6.0 and Oracle
Hii..
I m using Visual c++ 6.0 and Oracle 10 g. I m very new to vc++. And i would lik to build some database applications.
I couldnt find any resource in the net.
can anyone help me ?? Send some sample codes and documents !!
sankar.sBTW this is not the right forum for C++ stuff, this one's meant for anything related to ODBC
I guess you meant building database applications using C++
For that you can use OCCI, following link can provide some info on OCCI with few samples
http://www.oracle.com/technology/tech/oci/occi/index.html
For detailed documentation on OCCI you can browse
http://download.oracle.com/docs/cd/B12037_01/appdev.101/b10778/toc.htm -
Differences between Oracle BAM and Oracle BI and Question BAM Data Objects
Hi,
I have two questions.
1. Can someone tell me differences between Oracle BAM and Oracle BI?
My understanding about Oracle BAM is, we use BAM to build Dashboards or Reports.
We can also build DashBoards or reports using Oracle BI.
I am not able to understand why Oracle has two tools for same purpose?
Which tool is more powerful and user friendly(Oracle BI or Oracle BAM)?
2. Every time we plan to develop Dashboard or report in BAM, we need to create BAM ADC Data Object to store Data (i.e first step is to get data from external database or application and second step is to store data in BAM ADC data object).
My understanding is we have an extra step(i.e creating Data Object) in Oracle BAM to develop a report or DashBoard
I am wrong pl correct me?
Regards,
Shanti Nagulapalli.Oracle 11g has many advanced features in PL/SQL over Oracle 9i.
refer here,
http://www.oracle.com/technetwork/database/features/manageability/9i-to-11g-real-world-customer-exper-133754.pdf
http://www.oracle.com/global/de/upgradecommunity/artikel/upgrade11gr2_workshop2.pdf
http://www.compuworks.com/events/view/233.pdf
http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getCourseDesc?dc=D52601GC10&p_org_id=15942&lang=US
Thanks -
SharePoint Online Power Bi. pbix files and SPO List refreshes?
I have a Power Bi License on SharePoint Online - suspect the free one. I have access to the Power Bi Admin center and gateway on SPO. I have Power Bi on my Windows 8 desktop.
On my client I've created a pbix report with an SOP List data source.. on my client it works and refreshes!
How can I present that report on an my SPO page to users? I've tried to upload to do library and dashboard page on an SPO Bi Site and it only wants to download the pbix file. Also will users need to have a Power Bi license to view the page/report?
Once up, will my report allow for data refresh to SPO List sources? Automatic refreshes? We've had issues with this before with Excel Services where SPO data will not allow refresh powerview connections for some reason on SPO.
Any option within Power Bi to build WYSIWYG (SSRS type) reports where we can arrange SPO Data into full page view by Item?Hi,
SharePoint Online don't restrict reloading and refreshing the data in real time.
Here are some detailed articles for your reference:
Keeping Your Reports Up to Date with Scheduled Data Refresh
Scheduled Data Refresh Update: New Data Sources
If you still have some question about Power BI for office 365, you can create post in
Power BI for office 365 forum.
Thanks
Best Regards
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Jerry Guo
TechNet Community Support -
How to call RFC from Power Builder
Hi,
I am using Power Builder Tools and I want to know how can i call RFC from Power Builder
Thanks for ur replyHi,
Although I have not worked with Powerbuilder, I am sure if you have a certain level of proficiency with it, you will be able to code your logic that will call your wrappers written in VB/C/.NET etc. Check out the wonderful weblog by Thomas Jung on integrating ActiveX controls with ABAP Control Framework at https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/995. [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
Do get back if you have further queries.
Regards
Message was edited by: Shehryar Khan -
Hi everyone,
Is it possible to use PHP and Oracle Workflow together? I means use PHP to generate user-interface and PHP-OCI8 API to call WFEngine PL/SQL code?All of the public documented Workflow Engine PL/SQL APIs and Java APIs enable customers to build their own screens based on workflow, such as building your own specialized worklist.
Hi everyone,
Is it possible to use PHP and Oracle Workflow together? I means use PHP to generate user-interface and PHP-OCI8 API to call WFEngine PL/SQL code? -
How to build reports using discoverer (oracle 10g on winxp professional)
hello:
I have an sql query which queries multiple tables.
I have to build the report using oracle discoverer plus...can anybody guide me what is the path to accomplish this.
the sql is following
SELECT COUNTRY.ID, COUNTRY.NAME, CARRIER.NAME, COUNT(CARRIER.NAME) SUBSCRIBERS FROM COUNTRY, CARRIER, USER_DEVICE, USER_ WHERE
USER_DEVICE.APPLICATION_ID = 1 AND
USER_DEVICE.CARRIER_ID = CARRIER.ID AND
CARRIER.COUNTRY_ID = COUNTRY.ID AND
USER_DEVICE.USER_ID = USER_.ID
GROUP BY
COUNTRY.ID, COUNTRY.NAME, CARRIER.NAME ORDER BY COUNTRY.NAME, CARRIER.NAME
when i try to validate this query in oracle business intelligence administrator by building a complex folder the validator gives error and cannot validate...
please tell me how can i accomplish to run the above query using oracel discovereryes it worked like that...thanks...
now i want to add user defined parameters to it...
as the folder is a complex folder all the colums i get(in discoverer plus) are those which i am mentioning in my query...but i have to get the parameter based on column from another table User_ and i can't show that column in my query as the query won't work if i include it...
I hope I was able to make u understand my problem...
please tell me how can i build paramters from the USER_table
Waqas
Maybe you are looking for
-
No Connection btw JCAPS 5.1.2 and SAP ECC 6.0 whle creatining SAP/Bapi OTD
Hello. We have the following problem trying to build SAP BAPI/RFC OTD. 1) JCAPS 5.1.2. SAP ECC 6.0. Jco version 2.1.7 (also tried 2.1.8, 2.0.12 with the same result). All steps were done according to SAP BAPI/ALE eWays user guides and readmes 2) SAP
-
How can I change the store (from Mexico to US)
Hi. I moved to the US and have not been able to change the store and be able to use itunes store. I have a remaining balance of 2 pesos in my Mexico account (not enough to buy anything so I can't spend them)...
-
Database needs to be bounced every three weeks
I am a consultant (OCP DBA) on-site with a client. The problem they are having is that after about 2-3 weeks of up time their Oracle 9.2.0.2.1 running on Server 2000 SP2, on more than adequate hardware, slows down to a creeping speed, when they bounc
-
Verizon mail deleted from server is not deleted from IPAD2 but works fine on Android
I have both an Android phone and an IPAD. This Android (RAZR) and my previous one (Droid2) worked fine. Mail deleted from the server is also deleted from the phone. Deleted from phone would delete from server. Worked great. On IPAD, when settin
-
Problem with .01 difference
Hi Guys, Good day everyone! I had a problem with my process with this .01 difference. My process was i multiply the value of Debit or Credit with * 43.84, the result of my total Debit and total credit was my example below. Ex: Total Debit = 3,550.56