Home » Fusion Middleware & Colab Suite » Weblogic & Application Server » call sql through Application Server (oracle form developer 10g)
call sql through Application Server [message #522431] Fri, 09 September 2011 07:37 Go to next message
Messages: 16
Registered: September 2010
Location: KARACHI
Junior Member

given blew procedure successfully working on form 6i but is not working application server.kindly help me.

str varchar2(500);
pstr varchar2(30);
dat date;
mext varchar2(50);
name varchar2(12);
mfname varchar2(111);


pstr:= 'abc/admin@db';

message('RETAIL Spooling In Process!!');

mfname := 'AGENT_DATA'||'.txt';

:MSG := 'Making spool file C:\'||mfname;
str:='PLUS80W '||pstr||' @Q:\SQL\AGENT_DATA.sql '||mfname||' '||TO_CHAR(:REPDATEF,'DD/MM/YYYY')||' '||TO_CHAR(:REPDATET,'DD/MM/YYYY');

:MSG := 'Process Completed!...';
Re: call sql through Application Server [message #522436 is a reply to message #522431] Fri, 09 September 2011 08:13 Go to previous messageGo to next message
Messages: 4949
Registered: February 2005
Location: East Coast USA
Senior Member
That is because code runs on the application server and not on the client machine.

"Not working" is not an oracle error message.
Re: call sql through Application Server [message #522479 is a reply to message #522436] Sat, 10 September 2011 09:33 Go to previous message
Messages: 21683
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Maybe you should check CLIENT_HOST instead?
Previous Topic: SRW.RUN_REPORT_OBJECT 10gR2 from Forms
Next Topic: WLS 10.3.3 and FMW create virtual directory mapping
Goto Forum:

Current Time: Fri Jul 23 15:00:36 CDT 2021