2

At work we use DataStage which uses dataset (.ds) files. I can view the contents of the file from without our UNIX environment by using:

orchadmin dump -name <dataset name>

This only dumps the contents of the file to the screen. What I would like to do is have that dump stored inside a text file which I could then open/read from within Windows.

Thanks

BrianH
  • 7,932
  • 10
  • 50
  • 71
mlevit
  • 2,676
  • 10
  • 42
  • 50

1 Answers1

2

I don't know anything about DataStage, so my answer may be completely off-base, but in general in Unix to append the output of a command to a file instead of to the screen you'd use:

orchadmin dump -name %dataset name% >> %filename%

See the comments on this question for a little more detail.

Community
  • 1
  • 1
cori
  • 8,666
  • 7
  • 45
  • 81