Page 1 of 1

orchadmin dump command

Posted: Thu Oct 30, 2008 3:59 am
by bikan
Hi I am new to datastage .. I have 1 trasform routine which have following orchadmin command

/team_uno/power/Server/PXEngine/bin/orchadmin dump /data/san/team.ds 2>> /dev/null

can anybody tell me what is meaning of this command. Is this command deleting data from dataset team.ds

Thanks

Posted: Thu Oct 30, 2008 4:23 am
by ArndW
The "orchadmin" command is documented. the "dump" option does exactly that, it dumps the contents of the DataSet to standard output. This command doesn't modify the dataset at all, just does the DataStage equivalent of a "cat" of the contents.

Posted: Thu Oct 30, 2008 4:28 am
by bikan
just to understand more what the significance of "2"after dataset name. And what is /dev/null

Posted: Thu Oct 30, 2008 6:14 am
by throbinson
You asked two UNIX questions;
2 is stderr
/dev/null is a special UNIX file or null device. It discards all data written to it. In this case it is getting rid of any errors being written by the previous command.

Posted: Fri Oct 31, 2008 10:23 am
by ralleo
/dev/null also means write to a black hole