Showing posts with label company. Show all posts
Showing posts with label company. Show all posts

Sunday, February 19, 2012

Cannot import file from Mainframe

Hello Everybody!
Im trying to migrate my SQL 2000 packages that′s currently working in the company production enviroment to SSIS packages. So, in the 2000 version i got the flat file from Mainframe and i had to do a trick to transform all the columns to match the same size as the example above:

1432 1138734217 1144256628<CRLF>
1432 1138734217<CRLF>
1433 1136657788 1122441177<CRLF>
1433 1125554545 1122441177<CRLF>
1433 1192925544 1122441177<CRLF>

So, when i import the file, first of all i have to transform the Text file to another texfile file fixing the size to 32..... but you can see that in the second row im receiving a CRLF and if i try to import without the trick, the preview of the ragged file show me the columns desorganized...

Someone knows how to import it without transform to another text file with fixed length?
Thanks
Cleber

Hi

Have you already tried with a Flat File Connection Manager using the Ragged Right format and the {CR}{LF} Header Row delimiter ?

I've quickly tried and it seems to be ok.

Cheers,

|||Sorry!

I tried this way but the mainframe did not send a header :(

Thanks for the help!

Sunday, February 12, 2012

Cannot Generate SSPI Context

Hi

My company uses a Windows 2000 server with MS SQL Server 2000.
We have many clients with administrative software that use the MS SQL
server, the problem is that we experimented randomly the error
"Cannot Generate SSPI Context" and the only way to work with DB is log
out the client.

I'm looking the MS Technical sheet but there's no resolving hints that
can help.

Anyone has a similar problem ?

Thanks.Have you checked this KB article?

http://support.microsoft.com/?id=811889

Simon