Split txt file

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
datasis
Participant
Posts: 10
Joined: Wed Aug 27, 2008 1:05 am

Split txt file

Post by datasis »

Size of file is huge,and sap will not pickup the huge file

size of file shoud not exceed more than 10 mb

How to do this using datastage and using Unix
varaprasad
Premium Member
Premium Member
Posts: 34
Joined: Fri May 16, 2008 6:24 am

Post by varaprasad »

One way is to create a small unix script where you have to check the file size and split it using Unix "split" command into multiple files.

The details in your posting are not clear enough to suggest more than this.
Kryt0n
Participant
Posts: 584
Joined: Wed Jun 22, 2005 7:28 pm

Post by Kryt0n »

In today's day and age, 10MB is not huge... even our smallest files are bigger than that... you sure it is SAP that is arguing? Is there a configuration option? Or did you mean 10GB?
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

Kryt0n,

That is an interview question and the interviewer has given 10Mb as example.

Datais,

Better try something yourself before posting it here.
Kryt0n
Participant
Posts: 584
Joined: Wed Jun 22, 2005 7:28 pm

Post by Kryt0n »

Well, that will be my answer in the interview... :D

Can we make an interview question board?? :)
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

I, for one, will avoid answering interview questions here. I have given my reasons for this decision in the past; you can search for them if you wish.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply