invoke vi from the DataStage system prompt

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
reshma11
Premium Member
Premium Member
Posts: 25
Joined: Mon Oct 13, 2008 7:52 am

invoke vi from the DataStage system prompt

Post by reshma11 »

How do I invoke vi from the datastage system prompt?
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post 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.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post 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"
Last edited by ray.wurlod on Sat Feb 28, 2009 12:22 am, edited 1 time in total.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Figured you could shell out, but still... [shrug]
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply