Cross platform communication with DataStage

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
satish_valavala
Participant
Posts: 123
Joined: Wed May 18, 2005 7:41 am
Location: USA

Cross platform communication with DataStage

Post by satish_valavala »

Hi All,
How can I access a flat file which is in mainframe environment. DataStage Server is on Windows.
Regards
VS
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

By simply ftp'ing the file onto your datastage server and then connecting to it :lol:
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
satish_valavala
Participant
Posts: 123
Joined: Wed May 18, 2005 7:41 am
Location: USA

Post by satish_valavala »

Is it the one and only solution?
Regards
VS
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

Knowing nothing about your mainframe environment, there are some options:

1. Have the mainframe FTP push the file to a server.
2. Have a process FTP pull the file to a server.
3. If you have DB2 mainframe setup, put the file into a mainframe table and use DB2 connect with a DB2/UDB server act as the gateway to the mainframe, then use ODBC or OCI to "talk" to the file using SQL.
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

Well you tell me. Mainframe is remote and absolutely transparent to the datastage server. Either you have to find a way to make mainframe server visible to datastage or get the file you need from mainframe by using one of the many file transfer methods.
I think thats the only way (as per my knowledge). No let me rephrase that, thats the way I have dealt with files present on remote servers. Never bothered any other way.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
satish_valavala
Participant
Posts: 123
Joined: Wed May 18, 2005 7:41 am
Location: USA

Post by satish_valavala »

Thanks to All
Regards
VS
Post Reply