Reject Mode in Sequential File

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
vinodn
Charter Member
Charter Member
Posts: 93
Joined: Tue Dec 13, 2005 11:00 am

Reject Mode in Sequential File

Post by vinodn »

Hi,

I am having a file of length 800, if the record size is above 800 i need to abort the job and go the next file to process.

I would like to know is there any restrictions that a Sequential File will hold only less than 400, as because if the length is 400 it is working fine.
JoshGeorge
Participant
Posts: 612
Joined: Thu May 03, 2007 4:59 am
Location: Melbourne

Post by JoshGeorge »

Byte :?: Kilobyte :?: Megabyte :?:
Joshy George
<a href="http://www.linkedin.com/in/joshygeorge1" ><img src="http://www.linkedin.com/img/webpromo/bt ... _80x15.gif" width="80" height="15" border="0"></a>
Raghavendra
Participant
Posts: 147
Joined: Sat Apr 30, 2005 1:23 am
Location: Bangalore,India

Post by Raghavendra »

I believe the sequential file limit is at Operating system level. The limit will be set by your Unix admin.
Raghavendra
Dare to dream and care to achieve ...
JoshGeorge
Participant
Posts: 612
Joined: Thu May 03, 2007 4:59 am
Location: Melbourne

Re: Reject Mode in Sequential File

Post by JoshGeorge »

By default there is a record size limit in datastage. Pls. refer HERE

Check the file size in the sequence job just before calling your main job and if your expectation doesn't match don't call the processing job, loop back .
vinodn wrote: I am having a file of length 800, if the record size is above 800 i need to abort the job and go the next file to process.
.
Joshy George
<a href="http://www.linkedin.com/in/joshygeorge1" ><img src="http://www.linkedin.com/img/webpromo/bt ... _80x15.gif" width="80" height="15" border="0"></a>
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Use an Execute Command activity to test the size of head -1 filename
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