| how to clear the output data using utl_file? [message #639978] |
Tue, 21 July 2015 02:05  |
 |
mist598
Messages: 1195 Registered: February 2013 Location: Hyderabad
|
Senior Member |
|
|
Hi all,
how to clear the output data using utl_file?
v_handle := utl_file.fopen(v_dirname,v_file_name,'w');
for loop
......
......
end loop;
utl_file.fclose(v_handle);
I will out put values in the file, then how to clean these values?
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Re: how to clear the output data using utl_file? [message #640009 is a reply to message #640008] |
Tue, 21 July 2015 05:42   |
 |
mist598
Messages: 1195 Registered: February 2013 Location: Hyderabad
|
Senior Member |
|
|
Quote:How is this related to Oracle?
This is related to Oracle Apps Concurrent Program View Output File data, in this file report data is overwritten , i am calling packages and getting output files
Searched in the Google
$ cat /dev/null > t
How to use and where to use this $ cat /dev/null > t?
sql_error=`grep "^ERROR" $tfile`
cat ${tfile} >>$OUTFILE
cat ${tfile} >>$LOG
mv $OUT_DIR/XXC_DATA.dat $OUTFILE
[Updated on: Tue, 21 July 2015 05:43] Report message to a moderator
|
|
|
|
|
|
|
|