Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how use 'VI' in db2 on UNIX

Status
Not open for further replies.

udb2db2

MIS
Nov 26, 2003
2
US
I want to use 'vi' editor to edit my commands once I got into db2 CLP using 'db2'.

!vi will just open editor
but I need to see whatever command in buffer so I can make modifications like typo.
In oracle we can say list OR l2 to goto 2'd line (ln= n'th line) in buffer.
Is there anything available ??
Thanks in advance.
 
udb2db2,

I don't think db2 offers the functionality which UNIX does at the clp. I usually create a file using vi and run it through db2 afterwards.

Cheers
Greg
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top