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.
!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.