Trash Stage
Moderators: chulett, rschirm, roy
Trash Stage
In Server, is there a method of ending a flow of logic without writing to a file? Ie. Something equivalent to Ab Initio Trash component? I have situation where I was running a stage for side effect purposes and don't really want to write any output.
Re: Trash Stage
I don't undesrstand what side effects you are looking for.....gsherry1 wrote:In Server, is there a method of ending a flow of logic without writing to a file? Ie. Something equivalent to Ab Initio Trash component? I have situation where I was running a stage for side effect purposes and don't really want to write any output.
but if you want see the counts on the link but do not want to write the data,
Use Sequential file stage with file name
Code: Select all
/dev/null
That will do it.
Kris~
-
- Premium Member
- Posts: 614
- Joined: Fri Feb 06, 2004 3:59 pm
-
- Premium Member
- Posts: 614
- Joined: Fri Feb 06, 2004 3:59 pm
-
- Premium Member
- Posts: 614
- Joined: Fri Feb 06, 2004 3:59 pm
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
/dev/null is a "black hole" - it can accept any number of rows. I usually make the output rule "append" when writing to /dev/null.
On Windows you can use .\NUL since there is a NUL file in every folder.
On Windows you can use .\NUL since there is a NUL file in every folder.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Premium Member
- Posts: 614
- Joined: Fri Feb 06, 2004 3:59 pm
-
- Premium Member
- Posts: 614
- Joined: Fri Feb 06, 2004 3:59 pm
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
I'm never really certain what attempting to overwrite /dev/null implies, and it may be different on different variants of UNIX. That's why I always choose "append". YMMV.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Premium Member
- Posts: 614
- Joined: Fri Feb 06, 2004 3:59 pm