Output of PL/SQL Procedure
Hi,
I have a procedure which is defined as below
CREATE OR REPLACE PROCEDURE PURGEDB
DAYS_IN IN NUMBER
) AS
CURR_DT_TIME varchar2(20);
BEGIN
select (sysdate - DAYS_IN) into CURR_DT_TIME from dual;
delete from a where STRT_DT_TME < CURR_DT_TIME;
delete from b where STRT_DT_TME < CURR_DT_TIME;
delete from c where STRT_DT_TME < CURR_DT_TIME;
delete from d where CRE_DT_TME < CURR_DT_TIME;
delete from e where CRE_DT_TME < CURR_DT_TIME;
commit;
END PURGEDB;
When i execute the above procedure i get the following ouput:
anonymous block completed
Instead of that is there any way i can get the number of rows deleted from each table.
Edited by: 944160 on Jan 28, 2013 12:24 AM
944160 wrote:
Hi,
I have a procedure which is defined as below
Instead of that is there any way i can get the number of rows deleted from each table.
Edited by: 944160 on Jan 28, 2013 12:24 AM
CREATE OR REPLACE PROCEDURE PURGEDB
DAYS_IN IN NUMBER
) AS
CURR_DT_TIME varchar2(20);
BEGIN
select (sysdate - DAYS_IN) into CURR_DT_TIME from dual;
delete from a where STRT_DT_TME < CURR_DT_TIME;
dbms_output.put_line('Deleted ' || sql%rowcount || ' from Table A.');
delete from b where STRT_DT_TME < CURR_DT_TIME;
dbms_output.put_line('Deleted ' || sql%rowcount || ' from Table B.');
delete from c where STRT_DT_TME < CURR_DT_TIME;
dbms_output.put_line('Deleted ' || sql%rowcount || ' from Table C.');
delete from d where CRE_DT_TME < CURR_DT_TIME;
dbms_output.put_line('Deleted ' || sql%rowcount || ' from Table D.');
delete from e where CRE_DT_TME < CURR_DT_TIME;
dbms_output.put_line('Deleted ' || sql%rowcount || ' from Table E.');
commit;
END PURGEDB;
Similar Messages
-
JDev generated webservices encodes XML output from PL/SQL procedure
I have a PL/SQL packaged procedure which takes some input parameters and produces one output parameter. The output parameter is of type CLOB and after the procedure has run, it contains a big piece of XML data.
Using JDeveloper 10.1.3.1, I've published this packaged procedure as a webservice. The generated webservice is fine and works, except for one tiny little issue: the XML that is taken from the output parameter is encoded.
Here is an example of the SOAP message that the webservice returns:
<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ns0="http://gbv0300u/GBV0300U.wsdl/types/"><env:Body><ns0:gbv0300uResponse
Element><ns0:result><ns0:obvglijstOut> & gt;type>GBV0001& gt ;/type& lt;
& gt;diensten& lt;
& gt;dienst>some value& gt;/dienst& lt;
& gt;/diensten& lt;
</ns0:obvglijstOut></ns0:result></ns0:gbv0300uResponseElement></env:Body></env:Envelope>
(I've manually added an extra space between the & and lt; or gt; to make sure a browser will not translate it into a < or >!)
The contents of the <ns0:obvglijstOut> element are filled with the output parameter from the PL/SQL package.
How can I change the generated webservice, so the output from the PL/SQL package is used as is instead of being encoded?Update: I've tested a bit more by adding some output statements to the java code that JDeveloper generated. I'm now 100% sure the PL/SQL code gives the XML data correctly to the webservice.
At this moment my guess is that somewhere in the WSDL definition there is something that enables the encoding of the data. But I'm not sure.
Any help is greatly appreciated. -
Output from pl/sql procedure
The output from my pl/sql block is not being captured in the spool file. This would help to debug.
Thanks in advance...You have to put "set serveroutput on" if you use package dbms_output or check you path for spool file
-
SQL*PLUS - remove output 'PL/SQL procedure successfully completed.'
Hi,
When I use SQL*PLUS to call a PLSQL procedure, it will always output text: 'PL/SQL procedure successfully completed.' when the PLSQL procedure completes.
I have a requirement to not display this message output. In SQL*PLUS how do you turn this off?how to disable procedure successfully completed message in SQL*Plus
-
How to download output from a PL/SQL Procedure
Hi all
I have set up a PL/SQL procedure that sets up the mime type etc.
to download the output but IE keeps telling me it can't get the
file. I think that it's something to do with the browser wanting
to just GET the file and getting extra stuff because the mime
header is being sent every time. Anyone managed to do this?
Code sample follows:
create or replace procedure x
is
begin
owa_util.mime_header('application/force-download',false,null);
htp.p('Content-Disposition: attachment;
filename="timeline.html"');
htp.p('Pragma: no-cache');
htp.p('Cache-Control: no-cache');
htp.p('Expires: Thu, 01 Jan 1970 12:00:00 GMT');
owa_util.http_header_close;
htp.p('<HTML>');
htp.p('<body>');
htp.p('Hello there man');
htp.p('</body>');
htp.p('</HTML>');
end;What version are you on?
Works fine for me on my 11g:
SQL> create or replace procedure testxml (clob_out out clob)
2 is
3 l_clob clob;
4 l_ctx dbms_xmlquery.ctxhandle;
5 begin
6 l_ctx := dbms_xmlquery.newcontext ('select * from dual');
7 l_clob := dbms_xmlquery.getxml (l_ctx);
8 clob_out := l_clob;
9 dbms_xmlquery.closecontext (l_ctx);
10 end testxml;
11 /
Procedure created.
SQL>
SQL> variable vout clob;
SQL>
SQL> exec testxml (:vout)
PL/SQL procedure successfully completed.
SQL>
SQL> print vout
VOUT
<?xml version = '1.0'?>
<ROWSET>
<ROW num="1">
<DUMMY>X</DUMMY>
</ROW>
</ROWSET>But definitely you can optimize your proc a bit: Try
create or replace procedure testxml (clob_out in out nocopy clob)
is
l_ctx dbms_xmlquery.ctxhandle;
begin
l_ctx := dbms_xmlquery.newcontext ('select * from dual');
clob_out := dbms_xmlquery.getxml (l_ctx);
dbms_xmlquery.closecontext (l_ctx);
end testxml;
/ -
How to call a PL/SQL procedure from Portal
Env.Info: Windows NT Server 4 (Service Pack 3) / Oracle 8i R3 EE / Oracle Portal 3.0 Production.
I created a new schema "BISAPPS" and created a user with the same name. Ran provsyns.sql script to grant Portal API access. Created a new package under this new schema and compiled it against the database. After that I registered the schema as a portal provider. There were no errors.
Now I logged into Portal using the account PORTAL30. Refreshed the portlet repository and the new portlets appeared. I added the new portlet to the page. It is displayed successfully.
New portlet allows the user to enter a bug-number and lets the user to either view or edit. If the user clicks on the button "Edit", it opens a new window and displays the contents from BugDB application. But if the user clicks on "Show", it should display the output generated by a PL/SQL procedure (Owned by the above New Schema - BISAPPS) in a separate window. But instead it is displaying the following error in the separate window:
bisapps_pkg.buginfo: PROCEDURE DOESN'T EXIST.
DAD name: PORTAL30
PROCEDURE : bisapps_pkg.buginfo
URL : http://host_name:80/pls/portal30/bisapps_pkg.buginfo
And list of environment variables ....
Can anyone help me? How can I call a PL/SQL procedure when the button is clicked? Thanks in advance.You must grant EXECUTE privilege on your procedure to the PORTAL30_PUBLIC user. If the error still persists, create a PUBLIC synonym for your procedure.
-
Basic Report Run from a PL/SQL Procedure
I am hosed trying to start a BI Publisher report from a PL/SQL procedure. Basically, I have a procedure with a local variable defined as an XMLType. I need to call an RTF source, pass the xmlfile in and tell the RTF Engine where to send the output.
The users guide implies that it involves calls to a Java program and I am totally ignorant of Java.
I have successfully linked the RTF source into the XML_Publisher application and previewed it against a known data set. hat works.
So, if I have a PL/SQL package with the local variable L_XML defined as XMLTYPE
and an output file L_OUTBUT defined as VARCHAR2(100), what do I use to call the RTF Processor and generate the report to the output file?
That is
declare
l_xml xmltype;
l_output varchar2(100);
begin
-- stuff to build the xml variable
-- insert the call to FTP Processor here Apparently, it should be
-- something like
package.procedure('linked_rtf file name', l_xml, l_output);
end;
If this calls a Java script, would also appreciate a sample copy of the script.
My need is desperate so any assistance will be greatly appreciated.
Many thanks
FrankI don't think you can. The parameters passed to a VB dll are formatted differently than a C dll, especially strings. I know a C program has to use special data structures when working with a VB dll, and this is basically what Oracle is doing.
It should be possible, however, to create a C dll that acts as a wrapper for the VB dll. I'm not sure this would save you anything, though. If you have to do that you may as well write the function in C. -
How to start a report on the reports server from a pl/sql procedure
I would like to start or queue a report on the reports server / cartridge from within a serverside pl/sql procedure along with passing report parameters.
Can I use the package utl_http and if yes, how?
nullHi,
Before this you have to prepare your internal table with tab delimeter structure with data.
data: wa_appl_title like line of appl_title.
concatenate fhdr '/file_details_'
sy-datum '_' sy-uzeit '.txt' into fhdr.
*MOD01 - start.
open dataset fhdr for output in text mode." ENCODING DEFAULT.
open dataset fhdr for output in text mode ENCODING DEFAULT.
*MOD01 - end.
if sy-subrc = 0.
clear wa_appl_title.
read table appl_title into wa_appl_title index 1.
if sy-subrc = 0.
transfer wa_appl_title to fhdr.
endif.
loop at appl_it.
transfer appl_it to fhdr.
endloop.
close dataset fhdr.
write: / text-t05.
else.
write: / text-t04.
endif.
After this you view in AL11 tranx.
let us know any thing else you need.
Thanks,
Deepak. -
Passing variable of size greater than 32767 from Pro*C to PL/SQL procedure
Hi,
I am trying to pass a variable os size greater than 32767 from Pro*C to an SQL procedure.I tried assigning the host variable directly to a CLOB in the SQL section but nothing happens.In the below code the size of l_var1 is 33000.PROC_DATA is a procedure that takes CLOB as input and gives the other three(Data,Err_Code,Err_Msg) as output.These variables are declared globally.
Process_Data(char* l_var1)
EXEC SQL EXECUTE
DECLARE
l_clob clob;
BEGIN
l_clob := :l_var1
PROC_DATA(l_clob,:Data,:Err_Code,:Err_Msg) ;
COMMIT;
END;
END-EXEC;
I also tried using DBMS_LOB.This was the code that i used.
Process_Data(char* l_var1)
EXEC SQL EXECUTE
DECLARE
l_clob clob;
BEGIN
DBMS_LOB.CREATETEMPORARY(l_clob,TRUE);
DBMS_LOB.OPEN(l_clob,dbms_lob.lob_readwrite);
DBMS_LOB.WRITE (l_clob, LENGTH (:l_var1), 1,:l_var1);
PROC_DATA(l_clob,:Data,:Err_Code,:Err_Msg) ;
COMMIT;
END;
END-EXEC;
Here since DBMS_LOB packages allow a maximum of 32767,the value of l_var1 is not being assigned to l_clob.
I am able to do the above process provided i split l_var1 into two variables and then append to l_clob using WRITEAPPEND.i.e l_var1 is 32000 in length and l_var2 contains the rest.
Process_Data(char* l_var1,char* l_var2)
EXEC SQL EXECUTE
DECLARE
l_clob clob;
BEGIN
dbms_lob.createtemporary(l_clob,TRUE);
dbms_lob.OPEN(l_clob,dbms_lob.lob_readwrite);
DBMS_LOB.WRITE (l_clob, LENGTH (:l_var1), 1,:l_var1);
DBMS_LOB.WRITEAPPEND (l_clob, LENGTH(:l_var2), :l_var2);
PROC_DATA(l_clob,:Data,:Err_Code,:Err_Msg) ;
COMMIT;
END;
END-EXEC;
But the above code requires dynamic memory allocation in Pro*C which i would like to avoid.Could you let me know if there is any other way to perform the above?Hi,
The Long Datatype has been deprecated use Clob or Blob. This will solve lot of problems inherent with the datatype.
Regards,
Ganesh R -
Passing value from ADF to BPEL, and to PL/SQL procedure
1. I have created BPEL which take 2 inputs and concatenate them.
2. have created a PL/SQL procedure for invoking this BPEL( working fine).
Now i need to create a simple ADF page which contain 2 text box, 2 for input and 1 for result(concatenate), this will take 2 inputs and send them into BPEL, this will invoke the BPEL process and perform the necessary concatenate function...
in addition to this, i am passing code into PL/SQL procedure ...
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body xmlns:ns1="http://xmlns.oracle.com/OrderImportDemo">
<ns1:InputRequest>
<ns1:FirstName>abcdef</ns1:FirstName>
<ns1:LastName>aaaaaa</ns1:LastName>
</ns1:InputRequest>
</soap:Body>
</soap:Envelope>';
this code will take vaule from BPEL and run properly.
can you please help me,thanks for help, but the problem is diff.
i don't have any schema, what i want i need to create a adf page that will contain 3 tent field, 2 for input and 1 for output. when i will enter 2 input field and click on ok button, this will invoke BPEL, BPEL will take these 2 inputs and do the concat on this and send back to adf with result. -
Get the report list in a PL/SQL procedure
Hi to all,
I need to get the list of the personal report of a specified user in a PL/SQL procedure, is this possible?
My procedure should delete not "standard" report of a specified portal user.
Then i must have the list of all user's reports and after do my delete logic.
Jhon DhonJhon -
It sounds to me that what you want to do is have a list that is generated based upon the identification of an individual. You can do this a number of ways, but I think you would want to write a straight query to accomplish this rather than a PL/SQL procedure. A query to accomplish what you're looking to do would look something like this:
SELECT
person_name,
person_id_number,
other info you need to see in the output
FROM
table_name (that contains the info you need to see)
WHERE
conditional clauses to obtain only data you wish to see
AND :p_person_id = table_name.person_id_number
The AND clause line will return the employee the user wishes to see based upon that person's ID number. This information is asked for in a parameter form before the report is run. The :p_person_id is referred to as a bind variable. You can read more about this on Metalink or OTN.
HTH,
Steve -
Creating page items from pl/sql procedure and using them on a page
I have a page containing 2 select lists (P21_DEPARTMENTS and P21_DATE). Originally I added them as items that were "select list with submits". The problem is that based on the clearance level of the currently logged on user I only wanted the P21_DEPARTMENTS to be a select list if the user was an administrator. If however the user is not an admin then I want the page to have a hidden form field called P21_DEPARTMENTS that stores the user's department and has a label item that has the department name.
There is also a report region that generates a table based on the department selected from the select list (if the user is an admin) or the value stored in the hidden form field if the user is not.
My problem is that I cannot have both those items on the same page and use the HTML built-in authentication to determine which item should be rendered because I need to use the same ID for both items so that the stored procedure in my report region doesn't break. HTML does not permit items to share the same ID.
I tried to circumvent the problem by creating a stored procedure that performs all of the item rendering in the procedure and uses "htp.p()" to output all of my HTML code. This solution would allow me to pass a parameter into the procedure informing me as to whether or not the user is an administrator. If the user is an administrator the procedure would use a conditional statement and render a select list. If not, the hidden form field and label option would be used instead.
I finally got the stored procedure working perfectly. Now I am encountering the most bizarre thing. Since the "select list with submit" was not working (I used the same code that gets generated when I created other items using htmlDB's GUI) I decided to use a JavaScript function instead that gets triggered by the onChange event. I send along the value that is currently selected in the select list and in the function I set:
location.href='http://www.myoraclesite.com/pls/htmldb/f?p=111:21:729740000000000000::NO::P21_DEPARTMENTS:1';
In theory this should work. The problem is that it doesn't. The page reloads and the P21_DEPARTMENTS select list is not pre-selected.
The only thing I can think of is that when htmlDB generates page items that you've created with it's own admin tool it assigns some internal guid or something as opposed to when someone tries to generate dynamic page items of their own from a pl/sql procedure it's like the application doesn't even know they exist.
Any help would be GREATLY appreciated.
My only other solution would be to create a totally separate page (one for admin and another for non-admin). I would really like to avoid this.
Thanks in advance.I would love to be able to generate my menus and
various other items in my htmlDB applications in much
the same way I can using ASP, PHP and Cold Fusion.
Users should have the ability to write server-side
code wherever they feel like it. The way htmlDB works
right now I spend more time trying to figure out how
to create simple effects and generate simple
interfaces when I need to be building a portal. Ami - it's important to understand that HTML DB is not like other languages. Thus, trying to force concepts which are common in other languages into HTML DB will often result in more work.
It's definitely worth the time to go over the HTML DB 2-day Developer, which can be found here: http://www.oracle.com/technology/products/database/htmldb/pdf/B14377_01.pdf
I can build a portal using Classic ASP, C#, PHP or Cold
Fusion in like 1/10 of the time that it takes me to
build one using htmlDB. I understand that this is not
meant for the hard-core programmer but no web
programming application in today's day and age should
prevent experts from getting under the hood.And I can build a Portal in HTML DB in 1/10 the time it will take me to do it in any other language. It's like anything else - proficiency comes with practice and work.
As for getting under the hood, there is plenty of places you can do that with HTML DB. Keep in mind that HTML DB itself is an HTML DB application, so the limits on what you can build with HTML DB are virtually limitless.
Sorry for the vent there. After spending the last 2
days trying to figure out how to implement such a
straightforward thing and now being informed that it
can't be done kind of bugged me.I understand your frustration, as I've been there before. My rule for beginners is that if you are writing more than a line or two of code in the first week, you're doing something wrong. Stop, take a break, and then use the ample resources (including searching this forum) to help solve your problem. There are plenty of resources available for you to learn about HTML DB on the HTML DB home page: http://otn.oracle.com/htmldb
Good luck,
- Scott - -
Producing text file from PL/SQL procedure (UTL_FILE)?
Hi,
I need to produce a text file from a PL/SQL procedure. My output should be a little over 38K records and my query has 70 fields. I'd like to separate the fields by pipe delimiters in the text file. I can either concatenate all 70 fields into one variable for each record or send all 70 fields over with a pipe, whichever is easier. It looks like I can't spool within PL/SQL but UTL_FILE might be an option from what I'm reading. Does anyone have any good, simple example(s) to produce a text file using this package in calling multiple fields from a LOOP? Our os is UNIX and db is Oracle 9i.
Also, I've read that UTL_FILE has a record output of 1,023 bytes. Is this for each record line or the whole file size? I belive the max # of characters for each line wouldn't exceed 500 characters. The 38K rows I have for the data set would be well over 1MB. If this is the case, is there a work around to produce a larger text file?
Any suggestions and/or examples would be greatly appreciated.
Thanks,
EricAssuming the goal is to create a text file on the database server, you can use UTL_FILE here. Each line can be 1023 characters, but you can have as many lines as you'd like.
Tom Kyte has an example here
http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:235814350980
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC -
XML Data from PL/SQL procedure -- special character issue (eBS)
Hi All,
I am developing a report, where the XML data is created by a PL/SQL procedure. I chose this approach over a data template, since there is a lot of processing involved in producing the actual data, and it cannot be done by select-statements alone. The report is run as a regular concurrent request.
So far so good. There is a problem though. Every time the data contains special characters (ä, ö, umlauts), the concurrent request is completed with a warning, the log confirms that "One or more post-processing actions failed.", also there is no output file. The XML structure is valid as such. The report runs smoothly and produces the output when the XML data does not contain special characters.
I am producing the XML lines by using the standard FND_FILE.PUT_LINE procedure: Fnd_File.put_line(Fnd_File.output, '<?xml version="1.0" encoding="UTF-8"?>'); This seems like a character encoding issue, but declaring the UTF-8 encoding in this way does not solve the problem.
Any ideas what can be done to fix this? I have been searching Metalink but cannot find an answer. Many thanks for your kind help.
Best Regards, MatildaHi Rajesh,
One idea I have, is that it might be possible to modify the PL/SQL code into a "before report" type trigger, attached to a data template. The code would process the data and write the lines into a temporary table, from which the data template could retrieve them in a simple select-query. However, it would be neat to be able to solve this without adding an extra layer of processing, since BI Publisher supposedly supports PL/SQL procedures as the data source.
The data in this case is all correct, special characters are an intrinsic feature of the Finnish language. :)
Best Regards, Matilda -
PL/SQL Procedure Calling Java Host Command Problem
This is my first post to this forum so I hope I have chosen the correct one for my problem. I have copied a java procedure to call Unix OS commands from within a PL/SQL procedure. This java works well for some OS commands (Eg ls -la) however it fails when I call others (eg env). Can anyone please give me some help or pointers?
The java is owned by sys and it looks like this
CREATE OR REPLACE AND COMPILE JAVA SOURCE NAMED "ExecCmd" AS
//ExecCmd.java
import java.io.*;
import java.util.*;
//import java.util.ArrayList;
public class ExecCmd {
static public String[] runCommand(String cmd)
throws IOException {
// set up list to capture command output lines
ArrayList list = new ArrayList();
// start command running
System.out.println("OS Command is: "+cmd);
Process proc = Runtime.getRuntime().exec(cmd);
// get command's output stream and
// put a buffered reader input stream on it
InputStream istr = proc.getInputStream();
BufferedReader br = new BufferedReader(new InputStreamReader(istr));
// read output lines from command
String str;
while ((str = br.readLine()) != null)
list.add(str);
// wait for command to terminate
try {
proc.waitFor();
catch (InterruptedException e) {
System.err.println("process was interrupted");
// check its exit value
if (proc.exitValue() != 0)
System.err.println("exit value was non-zero: "+proc.exitValue());
// close stream
br.close();
// return list of strings to caller
return (String[])list.toArray(new String[0]);
public static void main(String args[]) throws IOException {
try {
// run a command
String outlist[] = runCommand(args[0]);
for (int i = 0; i < outlist.length; i++)
System.out.println(outlist);
catch (IOException e) {
System.err.println(e);
The PL/SQL looks like so:
CREATE or REPLACE PROCEDURE RunExecCmd(Command IN STRING) AS
LANGUAGE JAVA NAME 'ExecCmd.main(java.lang.String[])';
I have granted the following permissions to a user who wishes to run the code:
drop public synonym RunExecCmd
create public synonym RunExecCmd for RunExecCmd
grant execute on RunExecCmd to FRED
grant javasyspriv to FRED;
Execute dbms_java.grant_permission('FRED','java.io.FilePermission','/bin/env','execute');
commit
Execute dbms_java.grant_permission('FRED','java.io.FilePermission','/opt/oracle/live/9.0.1/dbs/*','read, write, execute');
commit
The following test harness has been used:
Set Serverout On size 1000000;
call dbms_java.set_output(1000000);
execute RunExecCmd('/bin/ls -la');
execute RunExecCmd('/bin/env');
The output is as follows:
SQL> Set Serverout On size 1000000;
SQL> call dbms_java.set_output(1000000);
Call completed.
SQL> execute RunExecCmd('/bin/ls -la');
OS Command is: /bin/ls -la
total 16522
drwxrwxr-x 2 ora9sys dba 1024 Oct 18 09:46 .
drwxrwxr-x 53 ora9sys dba 1024 Aug 13 09:09 ..
-rw-r--r-- 1 ora9sys dba 40 Sep 3 11:35 afiedt.buf
-rw-r--r-- 1 ora9sys dba 51 Sep 3 09:52 bern1.sql
PL/SQL procedure successfully completed.
SQL> execute RunExecCmd('/bin/env');
OS Command is: /bin/env
exit value was non-zero: 127
PL/SQL procedure successfully completed.
Both commands do work when called from the OS command line.
Any help or assistance would be really appreciated.
Regards,
Bernard.Kamal,
Thanks for that. I have tried to use getErrorStream and it does give me more info. It appears that some of the commands cannot be found. I suspected that this was the case but I am not sure about how this can be as they all appear to reside in the same directory with the same permissions.
What is more confusing is output like so:
SQL> Set Serverout On size 1000000;
SQL> call dbms_java.set_output(1000000);
Call completed.
SQL> execute RunExecCmd('/usr/bin/id');
OS Command is: /usr/bin/id
exit value was non-zero: 1
id: invalid user name: ""
PL/SQL procedure successfully completed.
SQL> execute RunExecCmd('/usr/bin/which id');
OS Command is: /usr/bin/which id
/usr/bin/id
PL/SQL procedure successfully completed.
Regards,
Bernard
Maybe you are looking for
-
Regd Wagetype and basic pay from 0008 thru internal table in smartform..
Hi, I have a requirement where i have to display in my smartform the values for basic pay and different wagetypes from infotype 0008. In my smartform for 1 employee, only those values of wagetype and basic pay should print which are maintained in 000
-
ITunes backup for the inizialization of Macbook Pro.
I want to initialize (format) my Macbook Pro. After the initialization, can I download all my music in the cloud with iTunes Match? If is possible how can I do? If is not possible how can I do a backup of all my iTunes Library? Thank U
-
How to post open item balance in mass ( ECC6.0)?
Hi experts, In order to change alternative account in a principal account, I have to post a lot of open item to zero. After changing the alternative account, I have to reverse this open item and display the original open item. How to post open item b
-
How to export a PSD file with layers to Fireworks PNG file.
Hi I've been asked by someone I'm working for to supply the work I've done as a PNG file that can be edited. I was told that a layered PSD file can be converted to a layered fireworks PNG file. I've tried all sorts of things but either ended up with
-
Post Author: N11689 CA Forum: .NET We are using standalone Crystal Reports XI Release 2 with Service Pack 2 to write our reports. We have created a VB.NET 2005 application that our own software will run to execute the Crystal Reports we have develop