FTP File Issue from Unix Server to Main Frames Server

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
Hope
Participant
Posts: 97
Joined: Sun May 13, 2007 2:51 pm
Contact:

FTP File Issue from Unix Server to Main Frames Server

Post by Hope »

Hi,

I have to migrate a file from Unix server to Main frame Server.
Job1
Sequential File Stage -----------------FTP Stage.
Job1 Copies file from Shared location to the local FTP Server.
When I open this file on the local FTP server.The data appears row by row.

Job2
FTP Stage-------------FTP Stage
Job2 moves file from Local FTP Server to the Main Frame Server.
When this file is opened on Main farme it appears as single line.Data is getting wrapped in to single line.

I tried changing the Transfer protocal to ASCII but didn't work.
I tried changing the format options in the sequential file to Unix new lines
and didnt work.
Please suggest how the data can appear in multiple lines.

Thanks
Hope
FranklinE
Premium Member
Premium Member
Posts: 739
Joined: Tue Nov 25, 2008 2:19 pm
Location: Malvern, PA

Post by FranklinE »

You can find some information you may need at the Mainframe files FAQ (viewtopic.php?t=143596).

You have not provided enough information to help you with your specific questions.

Is your mainframe character set EBCDIC (normal) or ASCII?

Is your operating system Unix or something else (MVS or z/OS, etc.)?

Typically, mainframe data is stored without any formatting and will appear in raw form as a "single line". A catalog keeps track of the line (record) length. So long as your catalog is set correctly, you will just transfer your data as a continuous binary stream.

Check the setting of your FTP put to mainframe stage against the FAQ.
Franklin Evans
"Shared pain is lessened, shared joy increased. Thus do we refute entropy." -- Spider Robinson

Using mainframe data FAQ: viewtopic.php?t=143596 Using CFF FAQ: viewtopic.php?t=157872
Post Reply