Generate an XSL file from table data
Hi
How can I generate XSL file from data stored in Oracle table, please?
oracle 9.2.0.8 on AIX
thanks
Orna
Do you mean XML file?
Actually given an XSL file is just a version of an XML file the answer doesn't really matter.
One option would be to use XMLElement, XMLForest, XMLAgg, etc in a SQL statement.
Another option is to use the xmldom package to build a DOMDocument. (I think that is the package name in 9i)
Similar Messages
-
Create XML file from table data
Dear All,
with dataservice 4.0, I want to create an XML file from a table data.
Table have a single column but more record, for example:
0001000488;100;EUR;
0001000489;200;EUR;
0001000450;300;EUR;
My desired XML output:
<Data>
0001000488;100;GBP;
0001000489;200;EUR;
0001000450;300;EUR;
</Data>
I try with a sample query but the sistem write only the last record in XML file:
<Data>
0001000450;300;EUR;
</Data>
Can everyone help me?
Thank in advance.
SimoneHello
That is a very simple (also odd) XML document structure, and as such doesn't require use of the XML target. It can be easily acheived by writing a normal file with a header and footer, which is acheived using a row_generation and a query to generate the hard coded open and close tags.
Michael -
Creating a zipped file from table data
I am currently extracting data from a table and creating a flat file which is read later to create a compressed (zip) file.
Is there a way that I can create a zipped file in one step (i.e. directly from the table data)? I am trying to reduce the number of file i/o hits in my appication.
Thanks,
MineshIs there a way that I can create a zipped file in one step (i.e. directly from the table data)?Yes. Instead of doing something like:
FileOutputStream fout = new FileOutputStream("flatfile");
// write using foutdo this:
ZipOutputStream zout = new ZipOutputStream("flatfile.zip");
zout.putNextEntry(new ZipEntry("flatfile"));
// write using zout -
Seeking simple example pl/sql to create text file from table data
hello,
I am hoping someone can provide very simple example of creating a file on my local harddrive using a pl/sql program. The basic steps are as follows:
First, I store some text in a varchar2 variable like this:
1. select sometext into otextvar from mytable where recordid = 1;
Second, I want this text to become a file in my data directory:
2. c:\data\sometext.txt
The second step is where I need help.
Any suggestions are greatly appreciated.Use this function
It will create for you a file in your /home/oracle directory with sysdate name and will insert all table names in it
CREATE OR REPLACE PROCEDURE my_proc AS
CURSOR cursor1 IS
SELECT table_name from all_tables;
CURSOR cursor2 IS
SELECT sysdate from dual;
rec1 cursor1%ROWTYPE;
rec2 cursor2%ROWTYPE;
created_file_name VARCHAR2(100);
file_name utl_file.file_type;
BEGIN
OPEN cursor2;
LOOP
FETCH cursor2 INTO rec2;
EXIT WHEN cursor2%NOTFOUND;
created_file_name:=rec2.sysdate;
file_name := utl_file.fopen('/home/oracle', created_file_name,'W');
OPEN cursor1;
LOOP
FETCH cursor1 INTO rec1;
EXIT WHEN cursor1%NOTFOUND;
utl_file.putf(file_name, '%s\n',rec1.TABLE_NAME);
END LOOP;
utl_file.fclose(file_name);
END LOOP;
END my_proc;
SQL>exec my_proc; -
Generating a PDF file from the date entered on line and serving it to user
All,
I need to create a page where the data will be entered by the user outside the company.
The requirement is to create a pdf file which dynamic images and a bar code and server ir once the user clicks a button.
In short, they do not want the user to go to the report manager or process monitor to see the image.
Any thought on how this can be accomplished ?Is there a special reason to create PDF file? I have generated dynamic images and HTML content including Barcode based on user data entry on the fly.If you need more information, please contact me at [email protected]
-
Generate xml output file from relational table
Hi All,
I'd like to generate an XML file from a relational table but would like to persist the XSD in Oracle does anyone have a working example?
Edited by: houchen on Jun 2, 2009 5:34 AMFrom the FAQ on the {forum:id=34} forum, {thread:id=416001}.
If you are wanting to register the schemas in Oracle, you will find info on that as well in the FAQ. -
Generate an HTML file from a Report in ABAP
Good morning,
How I could generate an HTML file from a report.
Any Ideas... I have found the function WWW_ITAB_TO_HTML, but someone has the standar code and how use this function?
Thanks a lot,
Hernán RestrepoHi,
I am facing a similar problem.I did try using the function module WWW_ITAB_TO_HTML in the reoprt program, as I'm trying to generate a url from a report, but i'm not able to get the expected results. The code is given below. Could someone please try and help me resolve this issue.Thanks in advance.
DATA: emp_name TYPE char80.
DATA: it_itabex TYPE zdb_ex_tty,
it_emp TYPE TABLE OF zis_emp,
it_org TYPE TABLE OF zis_org,
it_pos TYPE TABLE OF zis_pos,
it_pos_alloc TYPE TABLE OF zis_pos_alloc,
it_res TYPE TABLE OF zis_res,
it_res_alloc TYPE TABLE OF zis_res_alloc,
ls_itabex TYPE zdb_ex_s.
DATA: lv_filename TYPE string,
lv_path TYPE string,
lv_fullpath TYPE string,
lv_replace TYPE i.
DATA qstring LIKE it_itabex OCCURS 10.
DATA: url(200), url2(200), url3(200), fullurl(200).
FIELD-SYMBOLS: <fs_emp> LIKE LINE OF it_emp,
<fs_org> LIKE LINE OF it_org,
<fs_pos> LIKE LINE OF it_pos,
<fs_pos_alloc> LIKE LINE OF it_pos_alloc,
<fs_res> LIKE LINE OF it_res,
<fs_res_alloc> LIKE LINE OF it_res_alloc.
Report Program to export data from database to Excel.
Populate all the tables that have to be exported.
SELECT * FROM zis_org INTO TABLE it_org.
SELECT * FROM zis_pos INTO TABLE it_pos.
SELECT * FROM zis_pos_alloc INTO TABLE it_pos_alloc.
SELECT * FROM zis_emp INTO TABLE it_emp.
SELECT * FROM zis_res_alloc INTO TABLE it_res_alloc.
SELECT * FROM zis_res INTO TABLE it_res.
Append the Column Header
CLEAR ls_itabex.
ls_itabex-ipp_pos_id = 'IPP Pos ID'.
ls_itabex-emp_name = 'Name'.
ls_itabex-dt_of_join = 'JoinedOn'.
ls_itabex-emp_status = 'Status'.
ls_itabex-org_name = 'Org'.
ls_itabex-prj_name = 'Project'.
ls_itabex-mgr_name = 'Line'.
ls_itabex-designation = 'Designation'.
ls_itabex-specialization = 'Specialization'.
APPEND ls_itabex TO it_itabex.
Append all the tables into one internal table
LOOP AT it_pos_alloc ASSIGNING <fs_pos_alloc>.
CLEAR ls_itabex.
ls_itabex-ipp_pos_id = <fs_pos_alloc>-ipp_pos_id.
READ TABLE it_emp ASSIGNING <fs_emp> WITH KEY emp_guid = <fs_pos_alloc>-emp_guid.
IF sy-subrc = 0.
CONCATENATE <fs_emp>-emp_fname <fs_emp>-emp_lname INTO ls_itabex-emp_name SEPARATED BY space.
ls_itabex-dt_of_join = <fs_emp>-dt_of_join.
ls_itabex-emp_status = <fs_emp>-emp_status.
ls_itabex-specialization = <fs_emp>-specialization.
ENDIF.
READ TABLE it_pos ASSIGNING <fs_pos> WITH KEY ipp_pos_id = <fs_pos_alloc>-ipp_pos_id.
IF sy-subrc = 0.
ls_itabex-designation = <fs_pos>-designation.
READ TABLE it_org ASSIGNING <fs_org> WITH KEY org_id = <fs_pos>-org_id.
IF sy-subrc = 0.
ls_itabex-org_name = <fs_org>-org_name.
ls_itabex-mgr_name = <fs_org>-mgr_name.
ENDIF.
ENDIF.
READ TABLE it_res ASSIGNING <fs_res> WITH KEY org_id = <fs_org>-org_id.
ls_itabex-org_name = <fs_org>-org_name.
APPEND ls_itabex TO it_itabex.
ENDLOOP.
url = 'http://testweb/scripts/wgate/zvw10a/!?~language=en'.
url2 = '&~OkCode(LGON)=LGON&login-login_user='.
url3 = '&vbcom-vbeln='.
CONCATENATE url url2 url3 INTO fullurl.
WRITE: /'Staffing Excel'.
CALL FUNCTION 'WWW_SET_URL'
EXPORTING
offset = 12
length = 10
func = fullurl
TABLES
query_string = qstring
EXCEPTIONS
invalid_table = 1
OTHERS = 2.
Thanks & Regards,
Preethi. -
Trying to generate csv flat files from GoldenGate
Hi,
I am new to GoldenGate and I am trying to evaluate GG, I am trying to use GoldenGate for Flat Files.
I was able to generate a trail file from a 1 row table, on the same DB but different installation ggs_src
and I placed this file on the target GG ggs_trg dirdat folder manually "cp /oracle/u04/ggs_src/dirdat/bb000000 /oracle/u04/ggs_trg/dirdat".
However when I start my FF extract I do not see any FF files under dirout (default output location)..
Here is what I did:
EXTRACT SRCONV
SOURCEDEFS ./dirdef/t1pg.def
CUSEREXIT ./flatfilewriter.so CUSEREXIT PASSTHRU includeupdatebefores, params "./ffwriter.properties"
TABLE T1.*;
ggsci> ADD EXTRACT srconv, EXTTRAILSOURCE ./dirdat/bb
ggsci> start srconv
and here is the SRCONV.rpt
Oracle GoldenGate Capture for Oracle
Version 11.2.1.0.3 14400833 OGGCORE_11.2.1.0.3_PLATFORMS_120823.1258_FBO
Linux, x64, 64bit (optimized), Oracle 11g on Aug 23 2012 20:32:12
Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.
Starting at 2013-10-02 00:25:53
Operating System Version:
Linux
Version #1 SMP Tue Aug 18 15:51:48 EDT 2009, Release 2.6.18-164.el5
Node: romania
Machine: x86_64
soft limit hard limit
Address Space Size : unlimited unlimited
Heap Size : unlimited unlimited
File Size : unlimited unlimited
CPU Time : unlimited unlimited
Process id: 29751
Description:
** Running with the following parameters **
2013-10-02 00:25:53 INFO OGG-03035 Operating system character set identified as UTF-8. Locale: en_US, LC_ALL:.
EXTRACT SRCONV
SOURCEDEFS ./dirdef/t1pg.def
CUSEREXIT ./flatfilewriter.so CUSEREXIT PASSTHRU includeupdatebefores, params "./ffwriter.properties"
2013-10-02 00:25:53 INFO OGG-04523 /oracle/u04/ggs_trg/extract running with user exit library ./flatfilewriter.so, compatiblity level (3) is not current, using compatiblity level (2).
2013-10-02 00:25:53 INFO OGG-04526 /oracle/u04/ggs_trg/extract running with user exit library ./flatfilewriter.so. Current session character set is operating system default character set.
TABLE T1.*;
2013-10-02 00:25:53 INFO OGG-01815 Virtual Memory Facilities for: COM
anon alloc: mmap(MAP_ANON) anon free: munmap
file alloc: mmap(MAP_SHARED) file free: munmap
target directories:
/oracle/u04/ggs_trg/dirtmp.
CACHEMGR virtual memory values (may have been adjusted)
CACHESIZE: 64G
CACHEPAGEOUTSIZE (normal): 8M
PROCESS VM AVAIL FROM OS (min): 128G
CACHESIZEMAX (strict force to disk): 96G
Started Oracle GoldenGate for Flat File
Version 3.0.1.5
** Run Time Messages **
Opened trail file ./dirdat/bb000000 at 2013-10-02 00:25:53
++++
I do NOT see any thing in the dirout file, NO FILES generated while I see that gg did see the trailfile ./dirdat/bb000000.
Any idea why?
Thanks in Advance
AlaaHi Mike
Thanks for your input..
We are in an early evaluation phase, where we want to move data from Oracle to a local ETL/Application system..
I downloaded the latest Oracle GG Adapter 11.2.1.x and re-did everything.
However, its the same result..
Any idea??
Thanks in Advance..
=============
FFTEST.rpt
Oracle GoldenGate Capture
Version 11.2.1.0.5 14722092 OGGCORE_11.2.1.0.5_PLATFORMS_130117.1330
Linux, x64, 64bit (optimized), Generic on Jan 17 2013 16:12:59
Copyright (C) 1995, 2013, Oracle and/or its affiliates. All rights reserved.
Starting at 2013-10-02 12:10:16
Operating System Version:
Linux
Version #1 SMP Tue Aug 18 15:51:48 EDT 2009, Release 2.6.18-164.el5
Node: romania
Machine: x86_64
soft limit hard limit
Address Space Size : unlimited unlimited
Heap Size : unlimited unlimited
File Size : unlimited unlimited
CPU Time : unlimited unlimited
Process id: 23927
Description:
** Running with the following parameters **
2013-10-02 12:10:16 INFO OGG-03035 Operating system character set identified as UTF-8. Locale: en_US, LC_ALL:.
extract fftest
CUSEREXIT flatfilewriter.so CUSEREXIT passthru includeupdatebefores, params "./AdapterExamples/filewriter/ffwriter.properties"
2013-10-02 12:10:16 INFO OGG-04524 /oracle/u04/ggs_trg/extract running with user exit library flatfilewriter.so, compatiblity level (3) is current.
2013-10-02 12:10:16 INFO OGG-04526 /oracle/u04/ggs_trg/extract running with user exit library flatfilewriter.so. Current session character set is operating system default character set.
SOURCEDEFS dirdef/t1pg.def
table T1.*;
2013-10-02 12:10:16 INFO OGG-01815 Virtual Memory Facilities for: COM
anon alloc: mmap(MAP_ANON) anon free: munmap
file alloc: mmap(MAP_SHARED) file free: munmap
target directories:
/oracle/u04/ggs_trg/dirtmp.
CACHEMGR virtual memory values (may have been adjusted)
CACHESIZE: 64G
CACHEPAGEOUTSIZE (normal): 8M
PROCESS VM AVAIL FROM OS (min): 128G
CACHESIZEMAX (strict force to disk): 96G
Started Oracle GoldenGate Adapter for Flat Files
11.2.1.0.0_ OGGADP_11.2.1.0.0_PLATFORMS_130429.0015
** Run Time Messages **
Opened trail file ./dirdat/T1000000 at 2013-10-02 12:10:16
+++++++
ffwriter_20131002.log
2013-10-02 12:10:16: FFUSEREXIT(flatfileuserexit.c:162) [INFO]:
Started Oracle GoldenGate Adapter for Flat Files
11.2.1.0.0_ OGGADP_11.2.1.0.0_PLATFORMS_130429.0015
2013-10-02 12:10:16: FFUSEREXIT(flatfileuserexit.c:192) [INFO]: Initializing the following writers: dsvwriter
2013-10-02 12:10:16: FFUSEREXIT(flatfileuserexit.c:211) [INFO]: Found 1 writers
2013-10-02 12:10:16: FFUSEREXIT(flatfileuserexit.c:216) [INFO]: Initializing writer: dsvwriter
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1701) [INFO]: Initializing File Writer: dsvwriter
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1719) [INFO]: NO TEMPLATE
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1743) [INFO]: Writer dsvwriter: Writer type is dsv
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1750) [INFO]: Writer dsvwriter: Data directory is ./dirout
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1770) [INFO]: Writer dsvwriter: Final data directory is ./dirout/
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1782) [INFO]: Writer dsvwriter: Rolled data file extension _data.dsv
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1793) [INFO]: Writer dsvwriter: Temp data file extension _data.dsv.temp
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1802) [INFO]: Writer dsvwriter: Data File BOM not used
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1814) [INFO]: Writer dsvwriter: Control file will be used
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1822) [INFO]: Writer dsvwriter: Control directory is ./dirout
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1842) [INFO]: Writer dsvwriter: Final Control directory is ./dirout/
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1853) [INFO]: Writer dsvwriter: Control file extension _data.control
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1860) [INFO]: Writer: dsvwriter Control Delimiter - , len 1
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1867) [INFO]: Writer: dsvwriter Control Eol -
len 1
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1898) [INFO]: Property dsvwriter.files.data.rollover.timetype is not specified, defaulting to System
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1931) [INFO]: Writer dsvwriter: Files will rollover after 10 seconds
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1953) [INFO]: Writer dsvwriter: Files will rollover after 10 seconds if no records
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1964) [INFO]: Writer dsvwriter: Before Images will not be captured
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1975) [INFO]: Writer dsvwriter: Column names will not be output
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1988) [INFO]: Writer dsvwriter: All column values will be output
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1999) [INFO]: Writer dsvwriter: Place holders for missing columns will be output
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2010) [INFO]: Writer dsvwriter: Column values will be output
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2021) [INFO]: Writer dsvwriter: Character data be captured as ascii
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2026) [INFO]: Property dsvwriter.files.onepertable is not specified, defaulting to true
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2033) [INFO]: Writer dsvwriter: Will output one file per table
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2038) [INFO]: Property dsvwriter.files.oneperopcode is not specified, defaulting to false
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2045) [INFO]: Writer dsvwriter: Will output all opcodes in one file
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2063) [INFO]: Property dsvwriter.groupcols is not specified, defaulting to false
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2069) [INFO]: Property dsvwriter.groupcols is set to false
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2074) [INFO]: Property dsvwriter.afterfirst is not specified, defaulting to false
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2080) [INFO]: Property dsvwriter.afterfirst is set to false
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1344) [INFO]: Num Meta Cols: 0
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1432) [INFO]: Writer dsvwriter: Meta Column 0 set to position
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1484) [INFO]: Writer dsvwriter: Meta Column position has a variable length value
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1495) [INFO]: Writer dsvwriter: If Meta Column position not found value is: [NO VALUE]
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1503) [INFO]: Writer: dsvwriter Fixed padchar for Meta Column position - len 1
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1515) [INFO]: Writer dsvwriter: Fixed justify for Meta Column position set to left
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1527) [INFO]: Writer dsvwriter: Omit for Meta Column position set on
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1344) [INFO]: Num Meta Cols: 1
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1432) [INFO]: Writer dsvwriter: Meta Column 1 set to txind
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1484) [INFO]: Writer dsvwriter: Meta Column txind has a fixed length value of 1
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1495) [INFO]: Writer dsvwriter: If Meta Column txind not found value is: [NO VALUE]
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1503) [INFO]: Writer: dsvwriter Fixed padchar for Meta Column txind - len 1
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1515) [INFO]: Writer dsvwriter: Fixed justify for Meta Column txind set to left
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1527) [INFO]: Writer dsvwriter: Omit for Meta Column txind set on
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1344) [INFO]: Num Meta Cols: 2
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1432) [INFO]: Writer dsvwriter: Meta Column 2 set to opcode
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1484) [INFO]: Writer dsvwriter: Meta Column opcode has a variable length value
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1495) [INFO]: Writer dsvwriter: If Meta Column opcode not found value is: [NO VALUE]
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1503) [INFO]: Writer: dsvwriter Fixed padchar for Meta Column opcode - len 1
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1515) [INFO]: Writer dsvwriter: Fixed justify for Meta Column opcode set to left
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1527) [INFO]: Writer dsvwriter: Omit for Meta Column opcode set on
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1344) [INFO]: Num Meta Cols: 3
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1432) [INFO]: Writer dsvwriter: Meta Column 3 set to timestamp
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1484) [INFO]: Writer dsvwriter: Meta Column timestamp has a variable length value
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1495) [INFO]: Writer dsvwriter: If Meta Column timestamp not found value is: [NO VALUE]
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1503) [INFO]: Writer: dsvwriter Fixed padchar for Meta Column timestamp - len 1
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1515) [INFO]: Writer dsvwriter: Fixed justify for Meta Column timestamp set to left
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1527) [INFO]: Writer dsvwriter: Omit for Meta Column timestamp set on
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1344) [INFO]: Num Meta Cols: 4
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1432) [INFO]: Writer dsvwriter: Meta Column 4 set to schema
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1484) [INFO]: Writer dsvwriter: Meta Column schema has a variable length value
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1495) [INFO]: Writer dsvwriter: If Meta Column schema not found value is: [NO VALUE]
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1503) [INFO]: Writer: dsvwriter Fixed padchar for Meta Column schema - len 1
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1515) [INFO]: Writer dsvwriter: Fixed justify for Meta Column schema set to left
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1527) [INFO]: Writer dsvwriter: Omit for Meta Column schema set on
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1344) [INFO]: Num Meta Cols: 5
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1432) [INFO]: Writer dsvwriter: Meta Column 5 set to table
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1484) [INFO]: Writer dsvwriter: Meta Column table has a variable length value
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1495) [INFO]: Writer dsvwriter: If Meta Column table not found value is: [NO VALUE]
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1503) [INFO]: Writer: dsvwriter Fixed padchar for Meta Column table - len 1
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1515) [INFO]: Writer dsvwriter: Fixed justify for Meta Column table set to left
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1527) [INFO]: Writer dsvwriter: Omit for Meta Column table set on
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2098) [INFO]: Writer: dsvwriter Insert Indicator - I len 1
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2105) [INFO]: Writer: dsvwriter Update Indicator - U len 1
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2112) [INFO]: Writer: dsvwriter PK Update Indicator - K len 1
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2119) [INFO]: Writer: dsvwriter Delete Indicator - D len 1
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2126) [INFO]: Writer: dsvwriter TX Begin Indicator - B len 1
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2133) [INFO]: Writer: dsvwriter TX Middle Indicator - M len 1
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2140) [INFO]: Writer: dsvwriter TX End Indicator - E len 1
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2147) [INFO]: Writer: dsvwriter TX Whole Indicator - 3 len 1
2013-10-02 12:10:16: CSVFILEWRITER(csvfilewriter.c:47) [INFO]: Initializing CSV Writer: dsvwriter
2013-10-02 12:10:16: CSVFILEWRITER(csvfilewriter.c:56) [INFO]: CSV Writer: dsvwriter Null Indicator - <NULL> len 6
2013-10-02 12:10:16: CSVFILEWRITER(csvfilewriter.c:63) [INFO]: CSV Writer: dsvwriter Field Delimiter - | len 1
2013-10-02 12:10:16: CSVFILEWRITER(csvfilewriter.c:70) [INFO]: CSV Writer: dsvwriter Line Delimiter -
len 1
2013-10-02 12:10:16: CSVFILEWRITER(csvfilewriter.c:77) [INFO]: CSV Writer: dsvwriter Quote Char - " len 1
2013-10-02 12:10:16: CSVFILEWRITER(csvfilewriter.c:113) [INFO]: CSV Writer: dsvwriter Escaped Quote Char - "" len 2
2013-10-02 12:10:16: CSVFILEWRITER(csvfilewriter.c:118) [INFO]: Property dsvwriter.dsv.onecolperline is not specified, defaulting to false
2013-10-02 12:10:16: CSVFILEWRITER(csvfilewriter.c:125) [INFO]: Writer dsvwriter: Will output all columns on one line
2013-10-02 12:10:16: CSVFILEWRITER(csvfilewriter.c:129) [INFO]: Property dsvwriter.dsv.quotealways is not specified, defaulting to false
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2176) [INFO]: Property dsvwriter.statistics.toreportfile is not specified, defaulting to false
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2185) [INFO]: Property dsvwriter.statistics.period is not specified, defaulting to onrollover
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2205) [INFO]: Property dsvwriter.statistics.time is not specified, defaulting to 60 secs
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2215) [INFO]: Property dsvwriter.statistics.overall is not specified, defaulting to false
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2223) [INFO]: Property dsvwriter.statistics.tosummaryfile is not specified, defaulting to false
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2230) [INFO]: Writer dsvwriter: Summary will not be output to stats file
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2295) [INFO]: Property dsvwriter.files.rolloveronshutdown is not specified, defaulting to false
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2300) [INFO]: Rollover on shutdown is: 0
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2304) [INFO]: Property dsvwriter.metacols.position.format is not specified, defaulting to hex
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2324) [INFO]: Using hex Position Format
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2339) [INFO]: Property dsvwriter.files.formatstring set to pump_%s_%t_%d_%05n
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2345) [INFO]: Property dsvwriter.writebuffer.size is not specified, defaulting to 8k
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2357) [INFO]: Property dsvwriter.files.rollover.multiple is not specified, defaulting to FALSE
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2369) [INFO]: Property dsvwriter.files.data.rollover.multiple is not specified, defaulting to FALSE
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2398) [INFO]: Owners file not found
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2410) [INFO]: Property dsvwriter.files.useownerfiles is not specified, defaulting to false
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2416) [INFO]: Writer dsvwriter: Owner files will not be created
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2428) [INFO]: Property dsvwriter.files.includeprocessname is not specified, defaulting to false
2013-10-02 12:10:16: FFUSEREXIT(flatfileuserexit.c:239) [INFO]: Property goldengate.userexit.buffertxs is not specified, defaulting to false
2013-10-02 12:10:16: FFUSEREXIT(flatfileuserexit.c:245) [INFO]: Transactions will not be buffered
2013-10-02 12:10:16: FFUSEREXIT(flatfileuserexit.c:249) [INFO]: Chars output as ascii
2013-10-02 12:10:16: FFUSEREXIT(flatfileuserexit.c:253) [INFO]: Property goldengate.userexit.buffertxs is not specified, defaulting to ops
2013-10-02 12:10:16: FFUSEREXIT(flatfileuserexit.c:266) [INFO]: Property goldengate.userexit.timestamp is not specified, defaulting to Local Time
2013-10-02 12:10:16: FFUSEREXIT(flatfileuserexit.c:291) [INFO]: Checkpoint file prefix set to: ffwriter_
2013-10-02 12:10:16: FFUSEREXIT(flatfileuserexit.c:295) [INFO]: Property goldengate.userexit.chkpt.ontxend is not specified, defaulting to false
2013-10-02 12:10:16: FFUSEREXIT(flatfileuserexit.c:307) [INFO]: Property goldengate.userexit.datetime.removecolon is not specified, defaulting to false
2013-10-02 12:10:16: FFUSEREXIT(flatfileuserexit.c:313) [INFO]: Datetime colons will not be removed
2013-10-02 12:10:16: FFUSEREXIT(flatfileuserexit.c:317) [INFO]: Property goldengate.userexit.datetime.maxlen is not specified, defaulting to unlimited
2013-10-02 12:10:16: FFUSEREXIT(flatfileuserexit.c:326) [INFO]: Property goldengate.userexit.convertnchartoutf8 is not specified, defaulting to false
2013-10-02 12:10:16: FFUSEREXIT(flatfileuserexit.c:332) [INFO]: NCHARs will not be converted to UTF8
2013-10-02 12:10:16: FFUSEREXIT(flatfileuserexit.c:348) [INFO]: Property goldengate.userexit.utf8mode is not specified, defaulting to false
2013-10-02 12:10:16: FFUSEREXIT(flatfileuserexit.c:360) [INFO]: Output mode is ops
2013-10-02 12:10:16: FFUSEREXIT(flatfileuserexit.c:375) [INFO]: Initialized User Exit
2013-10-02 12:10:20: FILEWRITER(filewriter.c:3159) [INFO]: Checking for checkpoint file
2013-10-02 12:10:20: FILEWRITER(filewriter.c:3203) [INFO]: Checkpoint file does not exist
2013-10-02 12:10:20: FILEWRITER(filewriter.c:2590) [INFO]: Handling any existing temp files
2013-10-02 12:10:20: FILEWRITER(filewriter.c:2591) [INFO]: Looking for temp files in ./dirout/ -
How to generate .SQL format file from oracle database?
How to generate .SQL format file from oracle database?
I have a database of Oracle 8.1.6,now want to generate script file (including table structure,index,etc.) from it,What should I do?
Thanks.Your question pertains to the Database Export/Import. This forum exclusively focusses on the export/import utilities that come along with "Oracle Portal" which is a web-based tool. Could you please post your question under the RDBMS export/import or migration forum.
-
How to export a data as an XML file from oracle data base?
could u pls tell me the step by step procedure for following questions...? how to export a data as an XML file from oracle data base? is it possible? plz tell me itz urgent requirement...
Thankz in advance
BalaSQL> SELECT * FROM v$version;
BANNER
Oracle DATABASE 11g Enterprise Edition Release 11.1.0.6.0 - Production
PL/SQL Release 11.1.0.6.0 - Production
CORE 11.1.0.6.0 Production
TNS FOR 32-bit Windows: Version 11.1.0.6.0 - Production
NLSRTL Version 11.1.0.6.0 - Production
5 rows selected.
SQL> CREATE OR REPLACE directory utldata AS 'C:\temp';
Directory created.
SQL> declare
2 doc DBMS_XMLDOM.DOMDocument;
3 xdata XMLTYPE;
4
5 CURSOR xmlcur IS
6 SELECT xmlelement("Employee",XMLAttributes('http://www.w3.org/2001/XMLSchema' AS "xmlns:xsi",
7 'http://www.oracle.com/Employee.xsd' AS "xsi:nonamespaceSchemaLocation")
8 ,xmlelement("EmployeeNumber",e.empno)
9 ,xmlelement("EmployeeName",e.ename)
10 ,xmlelement("Department",xmlelement("DepartmentName",d.dname)
11 ,xmlelement("Location",d.loc)
12 )
13 )
14 FROM emp e
15 , dept d
16 WHERE e.DEPTNO=d.DEPTNO;
17
18 begin
19 OPEN xmlcur;
20 FETCH xmlcur INTO xdata;
21 CLOSE xmlcur;
22 doc := DBMS_XMLDOM.NewDOMDocument(xdata);
23 DBMS_XMLDOM.WRITETOFILE(doc, 'UTLDATA/marco.xml');
24 end;
25 /
PL/SQL procedure successfully completed.
. -
Generating a Movie File from a List of (JPEG) Images
Hi All!
I was trying this example:
Generating a Movie File from a List of (JPEG) Images
http://java.sun.com/products/java-media/jmf/2.1.1/solutions/JpegImagesToMovie.java
I was using the following command line with the following output:
root - /home/robertmarkbram/java/jmf/classes
$java JpegImagesToMovie -w 320 -h 240 -f 1\
-o file:///home/robertmarkbram/CoolCampus/media/jpgOut.mov\
file:///BigBrain3/pics/breakfast.jpg\
file:///BigBrain3/pics/eating.jpg\
file:///BigBrain3/pics/howto.jpg\
file:///BigBrain3/pics/jupiterp_cassini_full.jpg\
file:///BigBrain3/pics/jupiterp_cassini.jpg\
file:///BigBrain3/pics/spocamok.jpg- create processor for the image datasource ...
Setting the track format to: JPEG
- create DataSink for: file:///home/robertmarkbram/CoolCampus/media/jpgOut.mov
start processing...
- reading image file: file:///BigBrain3/pics/breakfast.jpg
- reading image file: file:///BigBrain3/pics/eating.jpg
- reading image file: file:///BigBrain3/pics/howto.jpg
- reading image file: file:///BigBrain3/pics/jupiterp_cassini_full.jpg
- reading image file: file:///BigBrain3/pics/jupiterp_cassini.jpg
- reading image file: file:///BigBrain3/pics/spocamok.jpg
Done reading all images.
java.lang.NullPointerException
at com.sun.media.multiplexer.video.QuicktimeMux.writeVideoSampleDescription(QuicktimeMux.java:936)
at com.sun.media.multiplexer.video.QuicktimeMux.writeSTSD(QuicktimeMux.java:925)
at com.sun.media.multiplexer.video.QuicktimeMux.writeSTBL(QuicktimeMux.java:905)
at com.sun.media.multiplexer.video.QuicktimeMux.writeMINF(QuicktimeMux.java:806)
at com.sun.media.multiplexer.video.QuicktimeMux.writeMDIA(QuicktimeMux.java:727)
at com.sun.media.multiplexer.video.QuicktimeMux.writeTRAK(QuicktimeMux.java:644)
at com.sun.media.multiplexer.video.QuicktimeMux.writeMOOV(QuicktimeMux.java:582)
at com.sun.media.multiplexer.video.QuicktimeMux.writeFooter(QuicktimeMux.java:519)
at com.sun.media.multiplexer.BasicMux.close(BasicMux.java:142)
at com.sun.media.BasicMuxModule.doClose(BasicMuxModule.java:172)
at com.sun.media.PlaybackEngine.doClose(PlaybackEngine.java:872)
at com.sun.media.BasicController.close(BasicController.java:261)
at com.sun.media.BasicPlayer.doClose(BasicPlayer.java:229)
at com.sun.media.BasicController.close(BasicController.java:261)
at JpegImagesToMovie.controllerUpdate(JpegImagesToMovie.java:215)
at com.sun.media.BasicController.dispatchEvent(BasicController.java:1254)
at com.sun.media.SendEventQueue.processEvent(BasicController.java:1286)
at com.sun.media.util.ThreadedEventQueue.dispatchEvents(ThreadedEventQueue.java:65)
at com.sun.media.util.ThreadedEventQueue.run(ThreadedEventQueue.java:92)
Can anyone tell me what this error message means?
Thanks for any advice!
Rob
:)I think it does that for QuickTime if you don't define the lineStride value in the VideoFormat (lineStride = pixelStride * width).
-
Generate an XML file from a DOM tree
Hi,
I'm trying to generate an XML file from a DOM tree that I obtained from another XML file with the Xerces library. I used the following operation :
public static void writeXmlFile(Document doc, String filename) {
try {
Source source = new DOMSource(doc);
File file = new File(filename);
Result result = new StreamResult(file);
Transformer xformer = TransformerFactory.newInstance().newTransformer();
xformer.transform(source, result);
} catch (TransformerConfigurationException e) {
System.err.println(e);
System.exit(1);
} catch (TransformerException e) {
System.err.println(e);
System.exit(1);
But I have this Windows/Linux problem. When I execute this on Windows, everything is correct. But if I try on Linux (every distribution does the same thing), I obtain an XML file where everything is written on just ONE LINE : there is neither identation nor carriage return at the end of a line ... And that is pretty annoying 'cause I need to SEE what I generate ...
Thanks for your answer,
Blueberryfin.Actually I would think that no indents and no new-lines would be more correct, but maybe it's an option for parsers to do it either way if you don't specify it. If you want to specify it, look at this post from last month:
http://forum.java.sun.com/thread.jsp?forum=34&thread=383400 -
Create Menu items from table data?
Wondering if anyone knows of a way(if even possible) to create menu items on logon from table data where the menu data is stored?
You'd have to make the menu code generic as well - probably the bet bet would be to have each menu item calling a common procedure but passing in the menu item selected - you'll then have to cross reference that with the current function of that menu item and do the right thing.
-
How I could generate an XML file from a report in version 4.0B
Good morning,
How could I generate an XML file from a report? Please note that I am using version 4.0B
I don't have access to
Billy VitalHi,
In the Class CL_XML_DOCUMENT,
we have a method EXPORT_TO_FILE to download an XML file. -
Why can´t i change language inside PsCC from Danish to English? Instead of going into Program:Adobe. Locales: rename file from .tw10428.dat into tw10428.bat file??
Creative Cloud Help / Adjust the install language | Creative Cloud applications | CCM -
http://helpx.adobe.com/creative-cloud/kb/change-installed-language.html
Maybe you are looking for
-
Different coloured text in the same crawl
How can i have different coloured text in a crawl, whenever i use any of the text funciotons, if i change the colour it changes the coulour for all the text, can i not just simply highlight bits and make them different colours? cheers, Matt
-
Nokia E6 Searching for position / Waiting for GPS ...
I have a new nokia E6-00 with Symbian Anna (1 month old). I am very frustrated with the in-built GPS (Ovi Maps). It is working fine when it is connected to a Wi-Fi network, but when in OFFLINE mode it can not locate any satellites. It keeps displayin
-
I've lost all my contacts and calendars on my phone. How do I get it back again?
I've lost all my contacts and calendars on my iphone 4s. How do I get it back again?
-
i have problems to download my resent purchased music and videos on my Mac, they wont download because an error, it sais that i don´t have priviliges and conection erros is marked....
-
10.1.3r3 - JAZN Data Properties dialog bug
JDev team, The JAZN Data Properties dialog in 10.1.3r3 has a bug. Once you've defined your own realm, users and policies in a jazn-data.xml file, closing and returning to the dialog for the same file you cannot see the entries you previously made wit