SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Legacy DTS - Migration Issue


Legacy DTS - Migration Issue

Author
Message
oraculum
oraculum
SSChasing Mays
SSChasing Mays (611 reputation)SSChasing Mays (611 reputation)SSChasing Mays (611 reputation)SSChasing Mays (611 reputation)SSChasing Mays (611 reputation)SSChasing Mays (611 reputation)SSChasing Mays (611 reputation)SSChasing Mays (611 reputation)

Group: General Forum Members
Points: 611 Visits: 501
Not sure if anyone has seen this issue before, but i have been migrating a lot of DTS packages from 2000 to 2005. The majority have gone across with no problems are running like a dream through scheduled jobs...

...however i have hit a bizzare problem with one that imports data into our mainframe. Its quite a simple DTS - with a straight forward transformation from a table to a text file destination.

The text file destination is setup as 'fixed width' with ANSI and default row delimiters. No field or text delimiters as they are greyed out when you select 'fixed width'. When i run the export step from within the legacy dts section the text file looks how it should, when i migrate it over to 2005 and then run it, the last column in the textfile (nvarchar(4)) has " " wrapped around it. for instance "DESK" or "FIELD" where it should be DESK or FIELD. Mainframe JCL programme doesn't accept this and rejects the dataset, would prefer to sort the DTS than the programme!

Has anyone come across this before? or is it just another bug i need to log...??

Oraculum
Yelena Varshal
Yelena Varshal
SSCrazy Eights
SSCrazy Eights (8.6K reputation)SSCrazy Eights (8.6K reputation)SSCrazy Eights (8.6K reputation)SSCrazy Eights (8.6K reputation)SSCrazy Eights (8.6K reputation)SSCrazy Eights (8.6K reputation)SSCrazy Eights (8.6K reputation)SSCrazy Eights (8.6K reputation)

Group: General Forum Members
Points: 8554 Visits: 600
Hi,

If you say, this is a simple job to output content of one table to a flat file, just re-create this package in 2005. Right-click on the database, select Tasks ->Export Data and follow the wizard. Specify your source server and authentication, specify the destination as a Flat File Destination, give it a name, specify ANSI code page, delimited format and on the same screen specify the text qualifier. When I tried it, it was a word none with the less sign before it and the more sign after it. After that specify the table or query, and complete other screens of the wizard.
Here is the output I got when I tried to output roleid and rolename from Roles table of ReportServer database:
{3CF68CDB-D16C-47F0-9463-DD45F0E328ED} Report Builder
The string Report Builder does not contain quotes around them.

The other strange thing happened when I posted this post initially and had the word none with these less and more signs around it mentioned twice. Guess what: everything between these None words disappeared from my post, it probably interpreted it as some html tag

Yelena


Regards,
Yelena Varshal

Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search