Switching from delimited to fixed width and had to retype 115 column names

Hi we run 2012 enterprise.  I just changed a delimited flat file over to fixed width and had to retype all 115 column names.  Is there a way to preserve at least some of what ssis already knows (eg col names) in the flat file connection when
this kind of changeover is occuring?  

Thx Mike.  I appreciate your help so dont take this the wrong way.  
Lets be honest.  This kind of behavior and some of the others I've posted recently when it comes to switching in and amongst flat file formats (fixed,unicode,unnecessary data type conversion etc etc) in ssis cannot possibly be by "design". 
You might think I'm arrogant but hear me out.  As a graduate from one of the better engineering schools in the US and having earned a BSCS from that school, my thinking is that even a first year college student would design this little part of
ssis in a more flexible fashion.  And the sad part is that legacy mainframe technologies from way way back baked this kind of flexibility into their products without add ins.  SSIS is purportedly .net technology and as such should follow the
most fundamental rules of OO which include flexibility and reusability. 
We should be more careful about the term "by design".  I believe this is actually a limitation which I'm sure would have been dealt with had there been more time, money and experience invested.  One of my other posts cites a recommendation (from
ssis) that displays along with one of these flat file errors and has something to do with dt_ntext.  But the recommendation actually doesnt work.  So are we going to say that a recommendation that doesnt work is also by design?  I dont think
so.  By design infers "for valid reasons".   And I dont believe there are any valid reasons for this/these behaviors.   If there are , pls share.

Similar Messages

  • Unable to switch from 16 to 24 bit, and no Dolby select

    Hello,? I have tried everything i could find to fix this but i'm at my witts end here. i just recently upgraded my computer from and A8V Delux motherboard so that i could go to PCI-e A8N-SLI Premium. Upon reformatting the Hard Dri've. i could not get the SPDIF to work correctly it'll let me switch from 48 to 96 KHz, and in the Bit Matching section it won't let me do anythign at all. i have links to the screen shots i took of the 2 windows in Audio Console, they are as follows.SPDIFhttp://img.photobucket.com/albums/v3...ight/SPDIF.jpgAnd? the Bit Matchinghttp://img.photobucket.com/albums/v3...itMatching.jpgI'm currently useing the Sound Blaster X-Fi Fatality Extreme Gamer Pro sound card. To show i have read up, i have switch? PCI slots and have even did a complete windows reapir and stil nothing. after searching here on the forum for the 3 days or so i haven't been able ot get them to work. any help? would be greatly welcomed.
    ?????????Thank You.

    ok i installed winamp which uses 24bit audio when enabled, had the CAC set up for entertainment mode. and still could not get 24bit audio. i used SiSoftware Sandra Pro, and did a hardware test on my audio card. which is the Sb Fatality extreme gamer pro. andseachign through all the audio settings it only shows my sound card using 6bit audio. while playign MP3's through winamp. i have no cracking or popping noises just unable ot have 24bit audio coming from the sound card. any idea's. i have tried everythign that has been posted in this thread before i even made my first post to fix the problem. is this a known issue or something. cause it's ticking me off to have paid $45 for a good sound card and not get my 24bit audio and no dolby audio in games. And yes Sandra will show me if i am using 24bit audio as it did before i upgraded my motherbaord, and on my last sound card which was an audigy LS.Here is a link to the pict shows that the max sample bits is only 6http://img.photobucket.com/albums/v3.../soundtest.jpgMessage Edited by WyckedKnight on 0-20-200704:53 PM

  • HT202667 I switched from att to charter internet and change e-mail address. I keep getting messages telling me my at&t iCloud account is not connected. How do I get rid of the at&t iCloud message?

    I switched from att to charter internet and change e-mail address. I keep getting messages telling me my at&t iCloud account is not connected. How do I get rid of the at&t iCloud message?

    Hi adamsfly,
    Thanks for using Apple Support Communities. Based on what you stated, it sounds like you changed your email address and iCloud is looking to sign in with the old Apple ID email. I would recommend that you read this article, it may be able to help the issue.
    What to do after you change your Apple ID email address or password - Apple Support
    Cheers,
    Mario

  • Traded in my iPhone for a different brand of phone. I had no idea that I had to sign out of iMessage before doing this. Now, my old phone is gone and my new phone cannot receive texts from people who have iphones and had me as a contact before. They try t

    Traded in my iPhone for a different brand of phone. I had no idea that I had to sign out of iMessage before doing this. Now, my old phone is gone and my new phone cannot receive texts from people who have iphones and had me as a contact before. They try to send an iMessage and I have no way to receive an iMessgae now. On some server somwhere my AppleID still tells people they should send me iMessages. What is the solution to this issue? Deleting my AppleID would work to solve this issue, but I cannot ever delete the ID? What can Apple do for this?

    If you did not erase your apps and data before getting rid of your old phone, try using Find My Phone and erasing everything remotely. See if this works.

  • Fix width and height of accordion

    Hi All
    I am building an application using jquery accordion on region 3 of page 0. In each subregion I have a treeview and when a node is choosen shows details about this node. My issue is how to fix width and height of accordion. I tried with jquery tabs instead of accordion and I put this on region header 'style=\"overflow-x:auto;display:block;max-width:340px;min-width:340px;overflow-y:auto;max-height:450px;min-height:450px;";" ', and closing tag at region footer and it worked.
    Any idea?
    Thanks a lot.
    Ricardo
    Theme: 13
    EPG
    Version: 4.0.2.00.06

    Hi Jitu
    Thank you for your replay but it didn't work as I need.
    I made the following test. I put on region attribute \style="width:350px;". When each subregion of accordion has only a treeview, it didn't work. When I created another subregion into accordion with a simple report, it worked fine.
    I don't know what is going on and also how to fix it.
    Any other idea?
    Ricardo

  • Switch from to the Photography Program and cancel the Acrobat subscription?

    How do I switch from to the Photography Program and cancel the Acrobat subscription? I currently have the Adobe Acrobat Pro subscription and want to add Photoshop but need to know how to change my program subscription to the Photography Program for personal use?

    Cancel what you have... which requires Adobe support to cancel a subscription
    -start here https://forums.adobe.com/thread/1703848
    -or by telephone http://helpx.adobe.com/x-productkb/global/phone-support-orders.html
    --and two links which may provide more details, if the above links don't help you
    -http://helpx.adobe.com/x-productkb/policy-pricing/return-cancel-or-change-order.html
    -http://helpx.adobe.com/x-productkb/policy-pricing/cancel-membership-subscription.html
    Then buy new - Cloud Plans https://creative.adobe.com/plans

  • I Have just returned from a 2 week vacation and had left my iMac plugged in, I noticed we suffered a power cut during our absence from home and now the iMac won't power up, help !

    I Have just returned from a 2 week vacation and had left my iMac plugged in, I noticed we suffered a power cut during our absence from home and now the iMac won't power up, help !

    What have you tried?
    A safe boot?
    A recovery boot?
    Allan

  • Switching from Entourage to ical, mail, and address book- duplications?

    I am tired of the slowness of Entourage and was thinking of switching to all of the native mac programs. Any suggestions or comments on whether this is a good idea or not?
    Also, will all of my information be duplicated. I have about 3 gigs of information and I don't want to needlessly store it if I don't need to. Can I get some advice on where to find and extract that information from the entourage program so I am not eating up disc space unnecessarily.
    Thank you.

    Three weeks ago I switched from Entourage and Palm Desktop to Apple mail, address book and ical. It was a tad painful because I ended up with a lot of duplicates as I had email and some contact info in Entourage and several thousand contacts in Palm Desktop.
    However after a couple of solid nights sorting out the duplicates all the contact info for each person is now in one place.
    Word of warning though when you are checking address book entries make sure you keep backing up the changes (File - Backup address book) because for some inexplicable reason a couple of times all the entries in address book vanished.
    Also the check for duplicates option in address book might be great for some but for me it created contacts that had their addresses and phone numbers duplicated several times.
    After initial teething problems (getting used to the different programs) I am now pretty happy with the changeover. I am ecstatic to not be seeing the constant Entourage error message of 'your database is damaged and needs to be rebuilt' which entourage kept throwing at me (even after repeated rebuilds).
    I have a Palm Treo and Address Book and iCal sync fine with that as well (after installing the conduit).
    You'll also find in mail that you can't do as much snazzy formatting as you could with Entourage (ie numbered lists and bullet points) but hopefully Apple will address that in later updates. In the meantime if I'm desperate for formatting I write the email in rtf and paste it across complete with bluet points.
    Sorry to drone on but wanted to give you some moral support.
    Oh by the way the entourage data is stored in Home folder - Documents - Microsoft User Data - Office 2004 Identities - main identity - database (almost need a compass and flashlight to find it). To be on the safe side burn it to a dvd just in case and then trash it and all it's little friends (rules, lists, signatures and the other main identity folders.
    Good luck

  • Out of memory error - from parsing a "fixed width file"

    This may be fairly simple for someone out there but I am trying to write a simple program that can go through a "fixed width" flat txt file and parse it to be comma dilmeted.
    I use a xml file with data dictionary specifications to do the work. I do this because there are over 430 fields that need to be parsed from a fixed width with close to 250,000 lines I can read the xml file fine to get the width dimensions but when I try to apply the parsing instructions, I get an out of memory error.
    I am hoping it is an error with code and not the large files. If it is the latter, does anyone out there know some techniques for getting at this data?
    Here is the code
       import java.io.*;
       import org.w3c.dom.Document;
       import org.w3c.dom.*;
       import javax.xml.parsers.DocumentBuilderFactory;
       import javax.xml.parsers.DocumentBuilder;
       import org.xml.sax.SAXException;
       import org.xml.sax.SAXParseException;
        public class FixedWidthConverter{
          String[] fieldNameArray;
          String[] fieldTypeArray;
          String[] fieldSizeArray;      
           public static void main(String args []){
             FixedWidthConverter fwc = new FixedWidthConverter();
             fwc.go();
             fwc.loadFixedWidthFile();
            //System.exit (0);
          }//end of main
           public void go(){
             try {
                DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
                DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
                Document doc = docBuilder.parse (new File("files/dic.xml"));
                // normalize text representation            doc.getDocumentElement ().normalize ();
                System.out.println ("Root element of the doc is " +
                     doc.getDocumentElement().getNodeName());
                NodeList listOfFields = doc.getElementsByTagName("FIELD");
                int totalFields = listOfFields.getLength();
                System.out.println("Total no of fields : " + totalFields);
                String[] fldNameArray = new String[totalFields];
                String[] fldTypeArray = new String[totalFields];
                String[] fldSizeArray = new String[totalFields];
                for(int s=0; s<listOfFields.getLength() ; s++){
                   Node firstFieldNode = listOfFields.item(s);
                   if(firstFieldNode.getNodeType() == Node.ELEMENT_NODE){
                      Element firstFieldElement = (Element)firstFieldNode;
                      NodeList firstFieldNMList = firstFieldElement.getElementsByTagName("FIELD_NM");
                      Element firstFieldNMElement = (Element)firstFieldNMList.item(0);
                      NodeList textFNList = firstFieldNMElement.getChildNodes();
                      //System.out.println("Field Name : " +
                               //((Node)textFNList.item(0)).getNodeValue().trim());
                      //loads values into an array
                      //fldNameArray[s] = ((Node)textFNList.item(0)).getNodeValue().trim();
                      NodeList typeList = firstFieldElement.getElementsByTagName("TYPE");
                      Element typeElement = (Element)typeList.item(0);
                      NodeList textTypList = typeElement.getChildNodes();
                      //System.out.println("Field Type : " +
                               //((Node)textTypList.item(0)).getNodeValue().trim());
                      //loads values into an array
                      //fldTypeArray[s] = ((Node)textTypList.item(0)).getNodeValue().trim(); 
                      NodeList sizeList = firstFieldElement.getElementsByTagName("SIZE");
                      Element sizeElement = (Element)sizeList.item(0);
                      NodeList textSizeList = sizeElement.getChildNodes();
                      //System.out.println("Field Size : " +
                               //((Node)textSizeList.item(0)).getNodeValue().trim());
                      //loads values into an array
                      fldSizeArray[s] = ((Node)textSizeList.item(0)).getNodeValue().trim();   
                   }//end of if clause
                }//end of for loop with s var
                //setFldNameArray(fldNameArray);
                //setFldTypeArray(fldTypeArray);
                setFldSizeArray(fldSizeArray);
                 catch (SAXParseException err) {
                   System.out.println ("** Parsing error" + ", line "
                      + err.getLineNumber () + ", uri " + err.getSystemId ());
                   System.out.println(" " + err.getMessage ());
                 catch (SAXException e) {
                   Exception x = e.getException ();
                   ((x == null) ? e : x).printStackTrace ();
                 catch (Throwable t) {
                   t.printStackTrace ();
          }//end go();
           public void setFldNameArray(String[] s){
             fieldNameArray = s;
          }//end setFldNameArray
           public void setFldTypeArray(String[] s){
             fieldTypeArray = s;
          }//end setFldTypeArray
           public void setFldSizeArray(String[] s){
             fieldSizeArray = s;
          }//end setFldSizeArray
           public String[] getFldNameArray(){
             return fieldNameArray;
          }//end setFldNameArray
           public String[] getFldTypeArray(){
             return fieldTypeArray;
          }//end setFldTypeArray
           public String[] getFldSizeArray(){
             return fieldSizeArray;
          }//end setFldSizeArray 
           public int getNumLines(){
             int countLines = 0;
             try {
                    //File must be in same director and be the name of the string below
                BufferedReader in = new BufferedReader(new FileReader("files/FLAT.txt"));
                String str;
                while ((str = in.readLine()) != null) {
                   countLines++;
                in.close();
                 catch (IOException e) {}    
             return countLines;
          }//end of getNumLines
           public void loadFixedWidthFile(){
             int c = getNumLines();
             int i = 0;
             String[] lineProcessed = new String[c];
             String chars;
             try {
                    //File must be in same director and be the name of the string below
                BufferedReader in = new BufferedReader(new FileReader("files/FLAT.txt"));
                String str;
                while ((str = in.readLine()) != null) {
                   //System.out.println(str.length());
                   lineProcessed[i] = parseThatLine(str);
                   i++;
                in.close();
                 catch (IOException e) {}     
                //write out the lineProcess[] array to another file
             writeThatFile(lineProcessed);
          }//end loadFixedWidthFile()
           public void writeThatFile(String[] s){
             try {
                BufferedWriter out = new BufferedWriter(new FileWriter("files/outfilename.txt"));
                for(int i = 0; i < s.length -1; i++){
                   out.write(s);
    }//end for loop
    out.close();
    catch (IOException e) {}
    }//end writeThatFile
    public String parseThatLine(String s){
    int start = 0;
    int end = 0;
    String parsedLine = "";
    int numChars = getFldSizeArray().length;
    //Print number of lines for testing
    //System.out.println(numChars);
    String[] oArray = getFldSizeArray();
    //String chars = oArray[0];
    //System.out.println(chars.length());
    //oArray
    for(int i = 0; i < numChars -1; i++ ){
    if(i == 0){
    start = 0;
    end = end + Integer.parseInt(oArray[i])-1;
    else
    start = end;
    end = end + Integer.parseInt(oArray[i]);
    parsedLine = parsedLine + s.substring(start, end) + "~";
    }//end for loop
    return parsedLine;
    }//End of parseThatLine
    I have tried to illeminate as many arrays as I can thinking that was chewing up the memory but to no avail.
    Any thoughts or ideas?
    Message was edited by:
    SaipanMan2005

    You should not keep a String array of all the lines of the file read.
    Instead for each line read, parse it, then write the parsed line in the other file:      public void loadFixedWidthFile() {
             BufferedReader in = null;
             BufferedWriter out = null;
             try {
                //File must be in same director and be the name of the string below
                in = new BufferedReader(new FileReader("files/FLAT.txt"));
                out = new BufferedWriter(new FileWriter("files/outfilename.txt"));
                String str;
                while ((str = in.readLine()) != null) {
                   //System.out.println(str.length());
                   str = parseThatLine(str);
                   //write out the parsed str to another file
                   out.write(str);
             catch (IOException e) {
                e.printStackTrace(); // At least print the exception - never swallow an exception
             finally { // Use a finally block to be sure of closing the files even when exception occurs
                try { in.close(); }
                catch (Exception e) {}
                try { out.close(); }
                catch (Exception e) {}
          }//end loadFixedWidthFile()Regards

  • HT4759 switched from 4s to a 5 and now only 'home' dates in my calendar is showing. i am missing my 'work' appt on both phones now! Any suggestions?

    I switched from a 4S to a 5, everything updated to the cloud and resync-ed to my computer nicely except for my calender.
    I have all of my data going back to 2010, however from march 2012 to now i only have the 'home' calender options showing up. All of my 'work' appointments are completely gone, and i can't find them anywhere. Is there a setting I should check out? or are they completely gone?

    - Try cleaning out/blowing out the headphone jack. Try inserting/removing the plug a dozen times or so.
    Try the following to rule out a software problem
    - Reset the iPod. Nothing will be lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup
    - Restore to factory settings/new iPod.
    - Make an appointment at the Genius Bar of an Apple store. Seems you have a bad headphone jack.
    Apple Retail Store - Genius Bar
    Apple will exchange your iPod for a refurbished one for this price. They do not fix yours.
    Apple - iPod Repair price                  
    A third-party place like the following will replace the jack for less. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens
    Replace the jack yourself
    iPod Touch Repair – iFixit

  • Layers-fixed width and/or embeding in a table

    I have been setting up a site and am trying to use one, the
    other or both techniques. For a specific design I wanted to use
    layers with a fixed width. I assign the width in the properties but
    when I enter text it does not wrap, instead the layer expands. Then
    I thought I could keep the layer from expanding by embeding it in a
    table cell. The layer does not seem to care that it is in a table
    cell. The layer expands regardless of anything I have done so far.
    Is there anybody that can help with this issue or am I out of
    luck?
    Thanks in advance.

    > I assign the width in the properties but when I enter
    text it does not
    > wrap
    Try adding a space to the text you enter.
    > Then I thought I could keep the layer from
    > expanding by embeding it in a table cell.
    Never put a layer directly into a table cell. You will get
    browser
    rendering differences when you do this.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "layers" <[email protected]> wrote in
    message
    news:e9o95u$gv8$[email protected]..
    >I have been setting up a site and am trying to use one,
    the other or both
    > techniques. For a specific design I wanted to use layers
    with a fixed
    > width.
    > I assign the width in the properties but when I enter
    text it does not
    > wrap,
    > instead the layer expands. Then I thought I could keep
    the layer from
    > expanding by embeding it in a table cell. The layer does
    not seem to care
    > that
    > it is in a table cell. The layer expands regardless of
    anything I have
    > done so
    > far.
    >
    > Is there anybody that can help with this issue or am I
    out of luck?
    >
    > Thanks in advance.
    >

  • I am switching from a pc to mac and want to know how I go about transferring files from one to the other.  There is a chance that I will have to hand my pc back before I receive my MacBook so I will need to transfer on to some sort of external hard drive.

    I am switching from an acer laptop to a MacBook Pro.  I may have to hand in my laptop before I receive my new MacBook. What is the best way to back up my files so that I can transfer them to my MacBook.  I cloud cannot be installed on my laptop because it uses a version of windows that is older and doesn't support it.  Hope someone can help.

    Connect a blank powered external drive to the PC.
    Right click on the Disk in the File manager and choose format: exFAT 
    (if it's a XP machine, first install exFAT from Microsoft and reboot)
    navigate to your user account folders on the PC and drag and drop copy (or copy and paste) to the external drive.
    (if a program has your files, then export them out first)
    Hook up the drive to the Mac, and transfer files to the desktop or to their same appropritate folders.
    Import photo's into iPhoto program, import music into iTunes etc and they will manage those files.
    You can continue to use the external exFAT drive between Mac's and PC's
    Do not format the drive NTFS or FAT, NTFS can't be written too by the Mac and FAT can't hold over 4GB sized files.
    If you format exFAT on the Mac, it likely won't work correctly on the  PC.
    "Migration" type programs are a utter waste of time and effort between PC's and Mac's for the fact that only certain files (and no programs or anything else) will work between them, also it's a hassle and takes too long. So don't even bother with it.

  • I am recently switched from a pc to laptop and in the move I can't find my "purchased" songs in my library any more.How do I get my purchased songs back into my lnew laptop Itunes library?

    I recently switched from a pc to a laptop and am in process of moving my Itunes library to my laptop.I cant find my "purchased"songs .How do I recover my purchased songs and get them into my new laptop library? There is a record of my purchase in the Itunes store.

    "Where do I find my hundreds of dollars of downloads I have done since 2005?"
    They will only be where you put them  If you are doing the very basics, then they will be on your computer and they will be in your backup copy of your computer.
    The itunes store is not global at all, never has been. You cannot redownload your content from another country.  You can only use the countrys itunes store for the country that you are physically located.

  • Switched from a PC to MAC and want CS5!

    I switched from a PC to a MAC and I want CS5 on my MAC NOT CS6, I have the serial number but don't know how to download it onto my computer! Please help!!

    Go here: http://prodesigntools.com/all-adobe-cs5-direct-download-links.html
    Please carefully read the download instructions or the links won't work.
    Gene

  • We switched from Rogers to Bell Fibe and our IPad and iPhone work but out Mac computer gets stuck when we try to get on internet through safari. What should we do to connect? The system says we are connected and a string connection?

    We just switched from Rogers to Bell Fibend now our computer cannot search the internet it starts and seems to get hung up. My iPhone and IPad are working ok?

    Did you enter the new numbers for DNS into the Router?
    Did your Mac pick them up and use them, or does it still have the old numbers?

Maybe you are looking for

  • Enter key runs program

    I'd like the enter key on the keyboard to start the program just like left clicking the TEST button (see attached jpeg). Currently I'm just moving the focus to the TEST button at the appropriate times (load program, after running a test, after select

  • Database Access via WLS Datasource

    I need to access a database resource by JNDI Datasource lookup and not by JDBC Direct Connection. This is needed because the underlying database is an Oracle RAC with several machines and my intention is to use WLS MultiDatasource Feature to round-ro

  • RunInstaller in command line mode

    Hi All Can I runInstaller in command line mode without using the GUI? I download linux_11gR2_examples.zip and upload it onto my Amazon AMI I would like to iinstall the examples but I am not able to set xdisplay so how I can get around this? -Thanks f

  • WRVS4400nv2 - SNET Static IP Configuration

    I plan to deploy a number of routers here in Connecticut. The SNET, now part of AT&T allocates 5 static IP's. Actually 8 but only 5 are vailalbe to the user. I can provide the topology and descrptiion. We've tried to make the 4400 work but to no avai

  • An unknown error occurred (-9812)

    help!! I updated the software on my itouch and now once it was restarted it will not work! When I click on te ipod icon on the toolbar in itunes this message appears, please help!