Solved

Transferring  data from unix box to Sql server in windows

Posted on 2014-02-18
4
538 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
sql 2008 how to table join 2 31
database level memory cache..? 8 37
SQL - Curser to do an insert based on a select 2 26
how to send mail in unix 2 21
Hi all, It is important and often overlooked to understand “Database properties”. Often we see questions about "log files" or "where is the database" and one of the easiest ways to get general information about your database is to use “Database p…
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.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…

730 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