Page 1 of 1

invoke vi from the DataStage system prompt

Posted: Fri Feb 27, 2009 10:04 am
by reshma11
How do I invoke vi from the datastage system prompt?

Posted: Fri Feb 27, 2009 10:18 am
by chulett
What do you consider to be the "DataStage system prompt"? :?

If you are talking from inside a dssh/TCL session, I can't think of a single reason to do that... do it from the O/S.

Posted: Fri Feb 27, 2009 1:29 pm
by ray.wurlod

Code: Select all

UV.VI DSfilename DSrecordID
For example, if the file is in the project directory (which is called &UFD& for reasons that aren't relevant here), UV.VI &UFD& filename

Alternatively you can run a shell and run vi within that shell.

Code: Select all

SH -c "vi pathname"

Posted: Fri Feb 27, 2009 1:42 pm
by chulett
Figured you could shell out, but still... [shrug]