Access Mainframe Flat Files

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
RAJARP
Participant
Posts: 147
Joined: Thu Dec 06, 2007 6:46 am
Location: Chennai

Access Mainframe Flat Files

Post by RAJARP »

Hi All,
My input data is present in Mainframe Flat files.So, I would like to know , is there a way to access Mainframe Flat Files in a Parallel Job .I chanced upon 'Complex Flat File Stage' in Designer.Is that the stage i should look into? If not, how do one normally access data from MainFrame Flat File?

Your Inputs and Suggestions would be highly appreciated.

Thanks in advance,
Raja R P
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Yes, that is precisely what the CFF stage is for.
-craig

"You can never have too many knives" -- Logan Nine Fingers
suse_dk
Participant
Posts: 93
Joined: Thu Aug 11, 2011 6:18 am
Location: Denmark

Post by suse_dk »

You can easily use the sequential file stage too...

Set the NLS (IBM01142 or check with the mainframe admin)
Set the format (fixed length, binary, Packed decimal)
_________________
- Susanne
lstsaur
Participant
Posts: 1139
Joined: Thu Oct 21, 2004 9:59 pm

Post by lstsaur »

Mainframe Admin? Who's that?
suse_dk
Participant
Posts: 93
Joined: Thu Aug 11, 2011 6:18 am
Location: Denmark

Post by suse_dk »

I know! Just didn't know what else to call it...
_________________
- Susanne
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

I have not used the CFF stage before but now may have an opportunity to. Suppose DataStage is on UNIX, must you first FTP the flat file off the mainframe or how do most people make that communication happen--does the stage fetch the file or assume it's local? Is there a way to map a UNIX file system to the mainframe, something like Samba for mapping Windows drives to UNIX? Thanks in advance. This may be the one new thing I learn today.
Choose a job you love, and you will never have to work a day in your life. - Confucius
Post Reply