Solved

Transferring  data from unix box to Sql server in windows

Posted on 2014-02-18
4
532 Views
Last Modified: 2014-02-28
I have a cobol application in solaris unix server.   how to transfer data from cobol application to Sql server in windows .
0
Comment
Question by:venkataramanaiahsr
  • 2
4 Comments
 
LVL 35

Expert Comment

by:David Todd
ID: 39869567
Hi,

Do you have a cobol odbc driver that is appropriate to install on the SQL box and then use SSIS to connect to cobol? Probably not.

What formats can cobol export data in? csv/tab/etc.

I suggest that the best you'll get is to export to text and then use SSIS to import text to SQL, possibly some staging tables, and then use T-SQL scripts to clean data and merge into main tables.

Is this a one=off, or a regularly repeated process (daily/weekly/monthly)?

Regards
  David
0
 

Author Comment

by:venkataramanaiahsr
ID: 39869714
It is a legacy cobol application which is storing data in files.

I need to bring this data on a regular basis. currently  the data is getting exported to text file from cobol file and then transferred to windows folder and then read by sql server.

Is there any other easy method. You said SSIS. Can SSIS directly read the file in solaris unix box or it has to be transferred to windows folder and then read
0
 
LVL 38

Expert Comment

by:Jim P.
ID: 39870276
You should be able to create a share on the solaris box that is readable by windows and/or SQL. So then it would be a matter of picking the file up from there and processing it.
0
 
LVL 35

Accepted Solution

by:
David Todd earned 500 total points
ID: 39871192
Hi,

You can use SSIS to automate some of your current process, and then schedule this so it appears automatic, rather than what I'm guessing is a manual process at present.

HTH
  David
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now