Data engine output
When I generate XML using the data engine (run via concurrent manager), each of my groups is preceeded by a group name "LIST_". For example: I have a G_MAIN group and the xml output has a LIST_G_MAIN element following by the G_MAIN group element.
Is there a way to stop this erroneous group element from being generated?
Here is the actual output for my simple test:
<RepairOrderTest>
<P_SERIAL_NUMBER>CDW1</P_SERIAL_NUMBER>
<LIST_G_MAIN>
<G_MAIN>
<LIST_G_ITEM>
<G_ITEM>
<ITEM_NUMBER>ITEM1</ITEM_NUMBER>
<ITEM_DESCRIPTION>TEST ITEM 1</ITEM_DESCRIPTION>
<SERIAL_NUMBER>CDW1</SERIAL_NUMBER>
<LIST_G_RO>
<G_RO>
<RO_NUMBER>RO1</RO_NUMBER>
<RO_DESCRIPTION>REPAIR ORDER 1</RO_DESCRIPTION>
</G_RO>
<G_RO>
<RO_NUMBER>RO2</RO_NUMBER>
<RO_DESCRIPTION>REPAIR ORDER 2</RO_DESCRIPTION>
</G_RO>
<G_RO>
<RO_NUMBER>RO3</RO_NUMBER>
<RO_DESCRIPTION>REPAIR ORDER 3</RO_DESCRIPTION>
</G_RO>
</LIST_G_RO>
</G_ITEM>
</LIST_G_ITEM>
</G_MAIN>
</LIST_G_MAIN>
</RepairOrderTest>
***Oops. Cross posted. Glad it is working.***
If you desire to share the fonts I can look at them. Just send me a PM with a link.
Did you change the internal naming/IDs when you created your varient? If not, try removing the version you began with. Paths all closed, etc?
Ian's application works fine but I don't use the light version--isn't there some limitation with it?
Mike
Similar Messages
-
XML Publisher data engine vs. switching output to XML in the Con.Program.
What is the difference between setting up templates using the data engine described in the 5.6 user's guide and creating a customer report and setting its output to XML?
Is it a matter of you being able to totally create your own XML and add atrributes to tags and such? Is this the only way to get data output from Oracle into an XML file? It's been a while, but i recall creating XML output on the fly with .Net pretty easily via an ASPX page.
Seems like alot of work to achieve this? Am I missing something?
If I wanted to have a JSP page where a user could use a form to query the database via IE, are these the API's i need to use for the returned data to come back as XML?
Thanks,
JeremyYou should try posting your query in XML Publisher forum, which is now BI Publisher.
-
XML Publisher report stuck at Calling XDO Data Engine...
Hi !
I am upgrading a custom report from 11i to R12 , the report works fine in 11i but when moved to R12 the report is stuck at "Calling XDO Data Engine..." and then it doesnot parse the Template.
Below are the logs from the request:
XDO Data Engine Version No: 5.6.3
Resp: 51234
Org ID : 109
Request ID: 29953138
All Parameters: p_kombi=:p_orderno=:p_batch_id=521007
Data Template Code: XX_TEST
Data Template Application Short Name: XX
Debug Flag: N
{p_kombi=, p_batch_id=521007, p_orderno=}
Calling XDO Data Engine...
Please suggest what can be the issue?
I have checked both Data template and RTF template too. They are fine.
Thanks in advanceHi Alex!
Thanks for your response..
Yes the concurrent job keeps on running with this entry in the log file.
I have tried this option also of just uploading XML data template and getting the XML output but it is also the same.
There is no change in the XML file in 11i and R12 instance. Is it that some extra setups has to be done in R12?
The general settings of temp table is there, I have checked that.
Thanks in advance -
Using the Data Engine Java API
I try to use the Data Engine Java API to generate an XML document from database data.
So as mentioned in the documentation Business Intelligence Publisher User's Guide Release 10.1.3.2 (page 4-26 to 4-27)
a) I created a java class (using Jdev Version 11.1.1.0.0)
package oracle.apps.XMLPublisher.client;
import com.sun.java.util.collections.Hashtable;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import oracle.apps.xdo.XDOException;
import oracle.apps.xdo.dataengine.DataProcessor;
public class XMLFileGenerator {
public XMLFileGenerator() {
public static void dataEngine() throws ClassNotFoundException, Exception {
XMLFileGenerator xMLFileGenerator = new XMLFileGenerator();
try {
//Initialization instantiate the DataProcessor class//
DataProcessor dataProcessor;
dataProcessor = new DataProcessor();
//Set Data Template to be executed
dataProcessor.setDataTemplate("PERFRBS.xml");
Hashtable parameters;
parameters = new Hashtable();
parameters.put("P_LEGAL_ENTITY_ID", "3259");
parameters.put("P_TRU_ID", "3262");
parameters.put("P_YEAR", "2009");
dataProcessor.setParameters(parameters);
// Now set the jdbc connection to the database that you
// wish to execute the template against.
// This sample assumes you have already created
// the connection object 'jdbcConnection'
Class.forName("oracle.jdbc.OracleDriver");
String url =
"jdbc:oracle:thin:@ap6005sdb.us.oracle.com:1526:hremeadv";
Connection jdbcConnection;
jdbcConnection= DriverManager.getConnection(url, "apps", "*****");
dataProcessor.setConnection(jdbcConnection);
System.out.println("Here1");
// Specify the output directory and file for the data file
dataProcessor.setOutput("BilanSocial.xml");
System.out.println("Here2");
dataProcessor.processData();
System.out.println("Here3");
} catch (SQLException e) {
System.out.println("SQLException " + e.getMessage());
} catch (XDOException e) {
System.out.println("XDOException" + e.getMessage());
public static void main(String[] argv) throws ClassNotFoundException,
Exception {
XMLFileGenerator xmlPublisher = new XMLFileGenerator();
XMLFileGenerator.dataEngine();
b) to generate my xml file based on the following data template
<?xml version="1.0" encoding="ISO-8859-1" ?>
<dataTemplate name="PERFRBS" defaultPackage="" version="1.0">
<parameters>
<parameter name="P_LEGAL_ENTITY_ID" dataType = "number"></parameter>
<parameter name="P_TRU_ID" dataType = "number"></parameter>
<parameter name="P_YEAR" dataType = "number"></parameter>
</parameters>
<lexicals>
</lexicals>
<dataQuery>
<sqlStatement name="Q_INDICATORS">
<![CDATA[ SELECT pai.action_information3 YEAR,
pai.action_information17 INDICATOR_VALUE
FROM pay_action_information pai
WHERE pai.action_information_category = 'HR_FR_BS'
AND pai.action_context_type = 'PA'
AND pai.action_information1 = :P_LEGAL_ENTITY_ID
AND pai.action_information2 = :P_TRU_ID
AND pai.action_information3 = :P_YEAR
]]>
</sqlStatement>
</dataQuery>
<dataStructure>
<group name="G_YEARS" dataType="varchar2" source="Q_INDICATORS">
<element name="YEAR" dataType="varchar2" value="YEAR"/>
<element name="INDICATOR_VALUE" dataType="number" value="INDICATOR_VALUE"/>
</group>
</dataStructure>
</dataTemplate>
---> But when I run it , it fails when calling the data processor with the following error
D:\Jdeveloper11g\jdk\bin\javaw.exe -client -classpath "D:\Jdeveloper11g\jdevhome\XMLPublisher\src\Client\classes;D:\BI publisher\XMLP562_WIN\XMLP562_WIN\manual\lib\versioninfo.jar;D:\BI publisher\XMLP562_WIN\XMLP562_WIN\manual\lib\xdocore.jar;D:\BI publisher\XMLP562_WIN\XMLP562_WIN\manual\lib\collections.jar;D:\BI publisher\XMLP562_WIN\XMLP562_WIN\manual\lib\xmlparserv2-904.jar;D:\BI publisher\XMLP562_WIN\XMLP562_WIN\manual\lib\i18nAPI_v3.jar;D:\Jdeveloper11g\jdbc\lib\ojdbc14dms.jar;D:\Jdeveloper11g\jlib\orai18n.jar;D:\Jdeveloper11g\diagnostics\lib\ojdl.jar;D:\Jdeveloper11g\jlib\dms.jar" -Dhttp.proxyHost=emeacache.uk.oracle.com -Dhttp.proxyPort=80 -Dhttp.nonProxyHosts= -Dhttps.proxyHost=emeacache.uk.oracle.com -Dhttps.proxyPort=80 -Dhttps.nonProxyHosts= oracle.apps.XMLPublisher.client.XMLFileGenerator
Here1
Here2
Exception in thread "main" java.lang.IllegalAccessError: tried to access class oracle.jdbc.driver.OracleStatement from class oracle.apps.xdo.dataengine.DBConnection
at oracle.apps.xdo.dataengine.DBConnection.setRowPrefetchSize(DBConnection.java:42)
at oracle.apps.xdo.dataengine.XMLPGEN.setRowPrefetchSize(XMLPGEN.java:1224)
at oracle.apps.xdo.dataengine.XMLPGEN.writeData(XMLPGEN.java:420)
at oracle.apps.xdo.dataengine.XMLPGEN.writeGroupStructure(XMLPGEN.java:281)
at oracle.apps.xdo.dataengine.XMLPGEN.processData(XMLPGEN.java:251)
at oracle.apps.xdo.dataengine.XMLPGEN.processXML(XMLPGEN.java:192)
at oracle.apps.xdo.dataengine.XMLPGEN.writeXML(XMLPGEN.java:222)
at oracle.apps.xdo.dataengine.DataProcessor.processData(DataProcessor.java:334)
at oracle.apps.XMLPublisher.client.XMLFileGenerator.dataEngine(XMLFileGenerator.java:50)
at oracle.apps.XMLPublisher.client.XMLFileGenerator.main(XMLFileGenerator.java:62)
Process exited with exit code 1.
Thanks by advance for your helpMake sure you have the Oracle JDBC library setup in project parties and it's setup to export. The api's are fine. Have you looked at the BIPublisherIDE I wrote. All this code is already written for you. There is a manual on the site as well
http://bipublisher.blogspot.com/2008/03/bi-publisher-bipublisheride.html
Ike Wiggins
http://bipublisher.blogspot.com -
After calling XDO data engine, error is coming but report is completing.
There is a strange situation i am facing with one XML report.XML data definition of this report has two trigger.
One before report trigger and other after report trigger.
While running(using concurrent program) the report is completed with following error:
(This is the part of report log file)
Calling XDO Data Engine...
[050609_051508614][][EXCEPTION] SQLException encounter while executing data trigger....
java.sql.SQLException: ORA-06502: PL/SQL: numeric or value error: character to number conversion error
ORA-06512: at line 4
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
After this error, before report trigger is getting called and it is completing successfully as per log file:
--(Part of report log file)
Calling Procedure JEITPSSR
Completed Call to Procedure JEITPSSR
End of Before Report
Post-processing of request 658631 completed at 06-MAY-2009 17:15:09.
The problem is that "after report" trigger is not getting called,because i have added one debug message which is not getting printed in the log file.
Snippet of XML data definition file:
<dataTrigger name="afterReportTrigger" source="XXXX_pkg.XX_AMOUNT_TO_PAY_UPDATE(:AMOUNT_TO_PAY)"></dataTrigger>
I am wondering how after getting error from XDO data engine ,process is continuing and why afterreport trigger is not executing.
Please guide me .
Thanks,
RahulYou pl/sql package is failing with
ORA-06502: PL/SQL: numeric or value error: character to number conversion error
it means, you are trying to convert a string to number, and it fails.
Test the package with the original data. -
Adobe Media Encoder Could not write XMP data in output file.
Hi there i have searched for this on the forums,
if there is a Thread on it please Link:)
This is my Encoding Log from Adobe Media ancoder,
(se Below).
im doing a projekt from Mts Files, in Premiere pro
i have Checked the box that no Xmp Data needs to be added, to the left from the Queue button in the export window.
Should i Delete all the Xmp in Bridge or somthing like that to Resolve this?
Regards
Jonas Dwight
Encoding Log:
- Source File: /Users/Blasuk/Library/Caches/TemporaryItems/Mogel_oe_2014_nyeste.prproj
- Output File: /Users/Blasuk/Desktop/Video_Projekts/Fremkaldte/Moegeloe2014-hq.mp4
- Preset Used: Custom
- Video: 1920x1080 (1,0), 25 fps, Upper, 01:18:52:10
- Audio: AAC, 320 kbps, 48 kHz, 5.1
- Bitrate: VBR, 2 pass, Target 15.00 Mbps, Max 41.30 Mbps
- Encoding Time: 11:05:14
01/05/2015 07:35:01 PM : File Encoded with warning
File importer detected an inconsistency in the file structure of Moegeloe2014-hq.mp4. Reading and writing this file's metadata (XMP) has been disabled.
Adobe Media Encoder
Could not write XMP data in output file.Any help please?! Thank you!
-
Media Encoder "Could not write XMP data in output file." issue
Greetings,
We have invested a great deal of money and time into a brand new editting system and we need some help with adobe media encoder. We are trying to export some of our projects and we keep getting the same error. Here is the entire log of errors:
Could not write XMP data in output file.
- Source File: C:\Users\Ramius\AppData\Local\Temp\Acura Spot 011410_CS4_1_6.prproj
- Output File: M:\acura_rooftop_43_draft_1.avi
- Preset Used: NTSC DV
- Video: 720x480, 29.97 [fps], Lower, Quality 100
- Audio: 48000 Hz, Stereo, 16 bit
- Bitrate:
- Encoding Time: 00:17:23
2/4/2010 1:42:28 PM : Encoding Failed
Error compiling movie.
Unknown error.
- Source File: C:\Users\Ramius\AppData\Local\Temp\Acura Spot 011410_CS4_1_7.prproj
- Output File: C:\Users\Ramius\Desktop\acura_rooftop_43draft_1.avi
- Preset Used: NTSC DV
- Video: 720x480, 29.97 [fps], Lower, Quality 100
- Audio: 48000 Hz, Stereo, 16 bit
- Bitrate:
- Encoding Time: 00:02:09
2/4/2010 1:54:21 PM : Encoding Failed
The Operation was interrupted by user
- Source File: C:\Users\Ramius\AppData\Local\Temp\Acura Spot 011410_CS4_1_9.prproj
- Output File: C:\Users\Ramius\Desktop\acura_rooftop_43draft_1.avi
- Preset Used: NTSC DV
- Video: 720x480, 29.97 [fps], Lower, Quality 100
- Audio: 48000 Hz, Stereo, 16 bit
- Bitrate:
- Encoding Time: 00:16:04
2/4/2010 2:19:49 PM : Encoding Failed
Error compiling movie.
Unknown error.
- Source File: C:\Users\Ramius\AppData\Local\Temp\Acura Spot 011410_CS4_1_10.prproj
- Output File: C:\Users\Ramius\Desktop\acura_rooftop_HD_draft_1.mp4
- Preset Used: HDTV 1080p 29.97 High Quality
- Video: NTSC, 1920x1080, 29.97 [fps], Progressive
- Audio: AAC, 160 [kbps], 48 kHz, Stereo
- Bitrate: VBR, 1 Pass, Target 32.00, Max 40.00 [Mbps]
- Encoding Time: 00:01:38
2/4/2010 2:30:31 PM : Encoding Failed
The Operation was interrupted by user
- Source File: C:\Users\Ramius\AppData\Local\Temp\Acura Spot 011410_CS4_1_11.prproj
- Output File: C:\Users\Ramius\Desktop\acura_HD.mp4
- Preset Used: HDTV 1080p 29.97 High Quality
- Video: NTSC, 1920x1080, 29.97 [fps], Progressive
- Audio: AAC, 160 [kbps], 48 kHz, Stereo
- Bitrate: VBR, 1 Pass, Target 32.00, Max 40.00 [Mbps]
- Encoding Time: 00:00:38
2/4/2010 3:19:31 PM : Encoding Failed
The Operation was interrupted by user
- Source File: C:\Users\Ramius\AppData\Local\Temp\Acura Spot 011410_CS4_1_12.prproj
- Output File: C:\Users\Ramius\Desktop\acura_HD.avi
- Preset Used: NTSC DV
- Video: 720x480, 29.97 [fps], Lower, Quality 100
- Audio: 48000 Hz, Stereo, 16 bit
- Bitrate:
- Encoding Time: 00:01:08
2/4/2010 3:31:37 PM : Encoding Failed
The Operation was interrupted by user
- Source File: C:\Users\Ramius\AppData\Local\Temp\Acura Spot 011410_CS4_1_17.prproj
- Output File: C:\Users\Ramius\Desktop\acura_HD.avi
- Preset Used: NTSC DV
- Video: 720x480, 29.97 [fps], Lower, Quality 100
- Audio: 48000 Hz, Stereo, 16 bit
- Bitrate:
- Encoding Time: 00:15:31
2/4/2010 4:21:06 PM : Encoding Failed
Error compiling movie.
Unknown error.
- Source File: C:\Users\Ramius\AppData\Local\Temp\Acura Spot 011410_CS4_1_19.prproj
- Output File: M:\GRAPHICS\cow_graphics\acura_HD.mp4
- Preset Used: HDTV 1080p 29.97 High Quality
- Video: NTSC, 1920x1080, 29.97 [fps], Progressive
- Audio: AAC, 160 [kbps], 48 kHz, Stereo
- Bitrate: VBR, 1 Pass, Target 32.00, Max 40.00 [Mbps]
- Encoding Time: 00:00:24
2/4/2010 5:16:54 PM : Encoding Failed
The Operation was interrupted by user
- Source File: C:\Users\Ramius\AppData\Local\Temp\ihigh_CS4_HD_16.prproj
- Output File: C:\Users\Ramius\Desktop\mxf.mpg
- Preset Used: 1440 x 1080i 29.97 High Quality
- Video: NTSC, 1440x1080, 29.97 drop frame [fps], Upper, Quality 4.0
- Audio: 384 [kbps], 48 kHz, 16 bit, Stereo, MPEG
- Bitrate: VBR, 1 Pass, Min 4.00, Target 15.00, Max 18.50 [Mbps]
- Encoding Time: 00:05:08
2/23/2010 12:12:40 PM : Encoding Failed
Error compiling movie.
Unknown error.
- Source File: C:\Users\Ramius\AppData\Local\Temp\ihigh_CS4_HD_18.prproj
- Output File: M:\AVI\ihigh_avi\GAR\Marines\marinespromo_2009.avi
- Preset Used: NTSC DV
- Video: 720x480, 29.97 [fps], Lower, Quality 100
- Audio: 48000 Hz, Stereo, 16 bit
- Bitrate:
- Encoding Time: 00:04:00
2/23/2010 12:26:54 PM : Encoding Failed
Error compiling movie.
Unknown error.
- Source File: C:\Users\Ramius\AppData\Local\Temp\ihigh_CS4_HD_19.prproj
- Output File: M:\AVI\ihigh_avi\GAR\Marines\marinespromo_2009.avi
- Preset Used: NTSC DV
- Video: 720x480, 29.97 [fps], Lower, Quality 100
- Audio: 48000 Hz, Stereo, 16 bit
- Bitrate:
- Encoding Time: 00:05:08
2/23/2010 12:51:01 PM : Encoding Failed
Error compiling movie.
Unknown error.
- Source File: C:\Users\Ramius\AppData\Local\Temp\ihigh_CS4_HD_23.prproj
- Output File: C:\Users\Ramius\Desktop\allhdtest2.mpg
- Preset Used: 1440 x 1080i 29.97 High Quality
- Video: NTSC, 1440x1080, 29.97 drop frame [fps], Upper, Quality 4.0
- Audio: 384 [kbps], 48 kHz, 16 bit, Stereo, MPEG
- Bitrate: VBR, 1 Pass, Min 4.00, Target 15.00, Max 18.50 [Mbps]
- Encoding Time: 00:04:20
2/23/2010 4:23:46 PM : Encoding Failed
Error compiling movie.
Unknown error.
- Source File: C:\Users\Ramius\AppData\Local\Temp\ihigh_CS4_HD_27.prproj
- Output File: C:\Users\Ramius\Desktop\Sequence 07.mp4
- Preset Used: HDTV 1080p 29.97 High Quality
- Video: NTSC, 1920x1080, 29.97 [fps], Progressive
- Audio: AAC, 160 [kbps], 48 kHz, Stereo
- Bitrate: VBR, 1 Pass, Target 32.00, Max 40.00 [Mbps]
- Encoding Time: 00:09:11
3/2/2010 3:21:19 PM : Encoding Failed
Error compiling movie.
Unknown error.
- Source File: C:\Users\Ramius\AppData\Local\Temp\ihigh_CS4_HD_28.prproj
- Output File: C:\Users\Ramius\Desktop\Sequence 07_1.mp4
- Preset Used: HDTV 1080p 29.97 High Quality
- Video: NTSC, 1920x1080, 29.97 [fps], Progressive
- Audio: AAC, 160 [kbps], 48 kHz, Stereo
- Bitrate: VBR, 1 Pass, Target 32.00, Max 40.00 [Mbps]
- Encoding Time: 00:09:00
3/2/2010 3:34:47 PM : Encoding Failed
Error compiling movie.
Unknown error.
- Source File: C:\Users\Ramius\AppData\Local\Temp\ihigh_CS4_HD_29.prproj
- Output File: C:\Users\Ramius\Desktop\Sequence 07_2.mp4
- Preset Used: HDTV 1080p 29.97 High Quality
- Video: NTSC, 1920x1080, 29.97 [fps], Progressive
- Audio: AAC, 160 [kbps], 48 kHz, Stereo
- Bitrate: VBR, 1 Pass, Target 32.00, Max 40.00 [Mbps]
- Encoding Time: 00:10:22
3/2/2010 4:41:03 PM : Encoding Failed
Error compiling movie.
Unknown error.
We absolutely need to fix this issue ASAP, we are in a major bind until we can resolve this issue. Thanks a bunch.We are using Windows 7
dual quadcore intel xeon processors 8gb ram
10000rpm internal drives. quadroefx 1800 video card
The drive is 4tb
We have tried exporting to many different locations with no luck
Its a very nice video editting system. We just need to figure out this exporter -
[Solved] CUPS: Unable to write print data: Input/output error
I'm filling this for the benefit of those poor googlers that can reach here.
Symptoms: After trying to print a "complex" image the printer made too much breaks, and failed.
The problem is, it then didn't came up. I mean, I restarted the printer, cupsd, the whole system, and nothing.
I was unable to print again, it showed "Unable to write print data: Input/output error" and refused to print anything.
I then saw that in /etc/cups I had printers.conf and printers.conf.O files, which differed (other than in StateTime), that printers.conf.O had
State Idle
but printers.conf had:
State Stopped
StateMessage Unable to write print data: Input/output error
Reason paused
Probably due to the ErrorPolicy being stop-printer.
So seeing I followed the following steps:
Stop cups
Replace printers.conf with printers.conf.O (I could also had manually edited it)
Start cups
It then went working flawlessly.
There was probably an option in the web interface combobox for doing that. The problem is that I didn't realise it was stopped, so didn't know how to make it work. Moreover, some posts in the web recommended reinstalling the printer (which would skip the problem by creating a new printer).I think that I had this same problem, and fixed it by reinstalling the printer. Thank you for your post.
-
Our organization uses an Oracle database hosted on a Unix platform and one of our data processing outputs is a “stuffer” document that has a barcode, and Unix jobs automatically send the document to a printer.
Is there a way, or does Adobe have a product or solution, to create a PDF version of the document including the barcode, before it’s sent to a printer?What format is the document that is printed? Or what technology is used to format the printer? There isn't a standard way of doing things in Unix.
-
Reg : Sending Binary data as output in GP
Hello ,
I developed one webdynpro Project it has interactive adobe form , in Guided procedures
created CO for Webdynpro Componet(GP interface) for this form and created GP inerface also.
But in this callable object the Requestor creates new pdf form.This PDF(means interactive form is taken as binary for pdfsource ) form has binary data.
*How to send this binary data as output in GP. *
Please help me out.
Thanks
Rishathanks
-
I need to get SSIS Data profiler output in Excel.
Hi,
I need to get SSIS Data profiler output in Excel. Tried importing XML generated by SSIS Profiler in Excel but data is getting lost. Can anybody please help on this.
Thanks,
ManojHi Manoj,
The Data Profiling task outputs the selected profiles into XML file. We can specify the result to any extensions of file, the generated file is valid for the built-in Profile Viewer but invalid for other file viewer applications. So when we specify the output
to Excel file, we can export the excel file and make analyzing without any problems through the Profile Viewer. But when we use Microsoft Excel open it, it says ‘The file format and extension of’’ don’t match’, then it needs us select one option to open the
XML file. So we cannot directly export Data Profiling task outputs to Excel file.
If we still want to export Data profiling task outputs to Excel, we can use the XML Source to extract data from the generated XML file, and then export it to Excel destination in a Data Flow Task.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
SSIS 2005 and SSIS 2012 Have Different Data Flow Output
Hi Guys,
I'm currently converting our SSIS 2005 packages to 2012 and I'm finding an odd difference on the Data Flow Output when it imports a txt file to a table.
We have a pipe delimited file ( contains a totals on the bottom row).
CATNO|Title|Total Stk Avail|Stk on Order|Rank|QOH|Allocated|Reserved|BackOrd|WIP|Cleared|Held
CATNUM000067|Fast and Furious|9804|0||9804|0|0|0|0|0|0
CATNUM000068|Frozen|0|0||0|0|0|0|0|0|0
CATNUM000029|Brave|0|0||0|0|0|0|0|0|0
CATNUM000029|Brave with Kinect|0|0||0|0|0|0|0|0|0
CATNUM000029|Big Hero|0|0||0|0|0|0|0|0|0
CATNUM000057|Transformers|27376|0||27376|0|0|0|0|0|0
CATNUM000013|James Bond|121|0||121|0|0|0|0|0|0
,Total Available Stock,524259
And these are the settings for the flat file connection
In SSIS 2005, the total rows are being omitted automatically by the data flow. Basically only 7 rows are inserted whereas in SSIS 2012. 8 rows were inserted including the totals.
if we think about it, SSIS 2012 is correct since we just feed what's ever in the file.
But on the conversion and testing perspective, it's now harder as there's discrepancies between those 2 version.
I just like to check if there's any other discrepancies in terms on results/output between SSIS 2005 and SSIS 2012
Many thanks.Hi Vinxster,
After testing the issue that Flat File Connection Manager cannot handle file with total row in my SQL Server 2005 environment, I can reproduce it.
Based on my research, the issue is caused by the Column Delimiter gets first preference and then Row delimiter. This is by design in SQL Server 2005, SQL Server 2008 or SQL Server 2008 R2.
Good news is that the issue is fixed in SQL Server Data Tools which comes with SQL Server 2012. In SQL Server 2012, by default, the Flat File Connection Manager always checks for a row delimiter in unquoted data, and starts a new row when a row delimiter
is found. This enables the connection manager to correctly parse files with rows that are missing column fields.
If you want to fix the issue in SQL Server 2005, there is a sample component posted to the CodePlex that might help you with this:
http://ssisdfs.codeplex.com/
References:
http://blogs.msdn.com/b/dataaccesstechnologies/archive/2013/03/13/flat-file-source-cannot-handle-file-with-uneven-number-of-columns-in-each-row.aspx
https://connect.microsoft.com/SQLServer/feedback/details/293193/ssis-import-of-flat-file-with-uneven-number-of-columns
Thanks,
Katherine Xiong
If you have any feedback on our support, please click
here.
Katherine Xiong
TechNet Community Support -
I found some old doc about accessing a Data Engine API to use a data template to create the xml. Does this API still exist? I'm running Stand alone 10.1.3.4. The current guide makes no mention of it. If it is no longer applicable, how can we access a data template from the command line to generate XML?
Hi,
have a look here: http://download.oracle.com/docs/cd/E12844_01/doc/bip.1013/e12693/toc.htm
There click on oracle.apps.xdo.dataengine
Regards
Rainer -
ALV List not populating data statistics output in ECC6.0
Hi,
I am working in an upgrade upgrade project from 4.6c to ECC6.0.
4.6c is non-unicode system. ECC6 is Unicode system.
I am facing one problem in ALV list output in the background job. In 4.6c the data statistics output is displayed as per the screen
Data statistics
Number of
Records passed
584
but this output is not displayed in ECC 6.0.
I given below the code which we are using in programe 4.6c and ECC6.0
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = 'ZNHNZLLVL0'
i_grid_title = l_title
is_layout = alv_layout
it_fieldcat = alv_fieldcat
i_save = 'A'
is_variant = stru_disvar
TABLES
t_outtab = list_table
EXCEPTIONS
program_error = 1
OTHERS = 2.
Give your input to solve this issue .
- Anandakumar.KHi Ganesh,
this problem is mainly printer problem issue, to resovle this isues you have to do small changes in the print setting.
Step1) Execute the report in background -> you will get a popup .....where you will give the output device for ex : LOCL
fruther in the same popup you can see Properties .......click that you can see COVERSHEETs > select coversheets and
then click SPECIFICATIONS buttons > select int he Fied name A) ALVSELECTIONS B) ALVSTATISTICS one bye bone
and then change the Field Default value to YES.... for both the options . Now finally click COPY Settings ...........
now you again shedule the report again in background ........you can see the result you are expecting.......
Cheers
Divya. -
Does anyone know how to generate fixed format text file? I have few fields in the select which are null and hence messes up the file format, as space does not take up same amount of character width than any alphabets.
Basically I want to generate fixed length data file which is scheduled through DBMS_JOBS. I am using UTL_FILE utility.
Every suggestion are welcome
Thanks in advance for help :)
email your response at [email protected]hello,
using spaces as filler is sufficient. a space takes up the same room (one character) as any other letter in the alphabet.
if you look at the output in any word-processing tool or editor, that uses fonts like times, helvetica, arial, etc. those fonts are rendering the space-character smaller. in fact they are rendering each letter different. if you want to see what your output looks like, choose a font like courier.
if you just generate the file and then process it further, you should be OK. don't let you be fooled by what you see in your editor.
regards,
philipp
Maybe you are looking for
-
How to activate the standard workflow :ws10000051
hello,experts here is my problem: I want to activate the standard workflow for document parking :ws10000051 . I have already activate the event type linkage in SWE2. And then , i maintian obwa , obwj , obwb, obwc, obwd.obwe,obwf.
-
Hi My iPad2 is stuck on iCloud Backup. When I click on OK, nothing happens. I tried to hard boot it by turning it of and still nothing happens. What can I do to fix this?
-
Hi, When i executed a query... In a storage location column we are plant and storage location code simultaneously... but we are selecting only storage location.. cannot we seperate bothe if yes how... please kindly help me... Thanks Sonu
-
Whenever I try to purchase a song on itunes it says "We could not complete your itunes store request. An unknown error occurred (-9807). There was an error in the itunes store. Please try again later.
-
Mail is stuck trying to index, help!
mail is trying to index itself and i cant stop it. I sent a 7mb file which has somehow made mail get its knickers all up in a bunch! the spinning progress cog on the right hand side of the window just keeps going because its trying to index and find