orchadmin dump command

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
bikan
Premium Member
Premium Member
Posts: 128
Joined: Thu Jun 08, 2006 5:27 am

orchadmin dump command

Post 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
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post 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.
bikan
Premium Member
Premium Member
Posts: 128
Joined: Thu Jun 08, 2006 5:27 am

Post by bikan »

just to understand more what the significance of "2"after dataset name. And what is /dev/null
throbinson
Charter Member
Charter Member
Posts: 299
Joined: Wed Nov 13, 2002 5:38 pm
Location: USA

Post 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.
ralleo
Premium Member
Premium Member
Posts: 21
Joined: Mon Dec 11, 2006 9:05 am
Location: London

Post by ralleo »

/dev/null also means write to a black hole
Post Reply