Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Is SSIS the "right" way to export to a EDI X12 flat-file?

$
0
0

Hi

Most of the documentation I've found deals with parsing an EDI file.   I need to *write* to an EDI file, not read it.

The flat-file end result should look like this (note the 3 headers and 3 footers ):

ISA^00^          ^00^          ^ZZ^SUPPLIER       ^ZZ^ABCCorpT    ^151125^1002^U^00602^000000002^0^P^>~
GS^PT^SUPPLIER^ABCCorpT^20151125^1002^2^X^006020~
ST^867^0002~
BPT^00^20151125100241^20151125^SS~
CUR^SE^CAD~
...
...
...
SE^18908^0002~
GE^1^2~
IEA^1^000000002~


The data is coming from SQL Server.  The columns are all different for each row, and there are loops (eg. N1, N2, N4 fields for address may all get repeated if shipping and address are different)

If SSIS is capable of producing this, can anyone refer me to a walkthrough or tutorial that shows how to serialize data into this format?

Sidenote:  I understand that it's possible in Biztalk, we 

Extract (Parse) the data from SQL Server as Xml  
Map (xslt transformation) to the EDI Schema
Serialize XML into EDI

Is Biztalk overkill, and/or is SSIS underkill?

Thanks for any guidance..

Cheers!



Thanks! Dan


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>