?
Solved

Transferring  data from unix box to Sql server in windows

Posted on 2014-02-18
4
Medium Priority
?
551 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 2000 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

762 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