Page 1 of 1
Writing to sequential file
Posted: Tue Feb 20, 2007 8:28 am
by PeterPol
Hi all,
My simple job has the following stages:
SYBASEOC --> Transformer --> Sequential File
Since writing to the sequential file is irrelevant, I wondered if I can skip this target stage? Or can I use a dummy (non-existent) filename?
Peter
Posted: Tue Feb 20, 2007 8:35 am
by chulett
Yes, but it will just be created for you. If it is too much of a dummy it will cause the job to abort. It would help if you explained why it is 'irrelevant' in this case, I would think, so the suggestions can be more... targeted.
Posted: Tue Feb 20, 2007 8:47 am
by PeterPol
Hi,
Output is not relevant because the job only needs to set the userstatus in the transformer.
Peter
Posted: Tue Feb 20, 2007 8:54 am
by DSguru2B
You can write it to NULL. In unix it would be /dev/null. I think its windows equivalent is NUL or \NULL.
Posted: Tue Feb 20, 2007 8:55 am
by chulett
If you were on a UNIX server, I'd suggest writing to '/dev/null'. From what I recall, there is an equivalent on Windows but not sure what it is off the top of my head. Anyone?
Ah... Chuck snuck in right before me.
Posted: Tue Feb 20, 2007 9:11 am
by PeterPol
hi all,
\NULL works !
Peter
Posted: Tue Feb 20, 2007 11:30 am
by Sanket_Saraph
If writing to file is not mandatory then you can put copy stage as trash.
Posted: Tue Feb 20, 2007 1:58 pm
by ray.wurlod
Just curious - how are you setting the user status in a parallel job?
Posted: Wed Feb 21, 2007 1:22 am
by PeterPol
Example was for server job ...