Unix Technical Forum

Re: Newbie: Can't get HISTORY, EDIT or RUNCMD working

This is a discussion on Re: Newbie: Can't get HISTORY, EDIT or RUNCMD working within the DB2 forums, part of the Database Server Software category; --> Thanks, it seems we are only at fix pack 1 here (linux). ;-) cio Derek. PM (pm3iinc-nospam) wrote: > ...


Go Back   Unix Technical Forum > Database Server Software > DB2

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-26-2008, 02:32 PM
Derek Clarkson
 
Posts: n/a
Default Re: Newbie: Can't get HISTORY, EDIT or RUNCMD working

Thanks, it seems we are only at fix pack 1 here (linux). ;-)

cio
Derek.



PM (pm3iinc-nospam) wrote:

> db2 => ? history
> or
> db2 => ? edit
> Documentation reports this as a fixpack2 feature.
>
> Verify your db2 level.
> prompt>db2level
> DB21085I Instance "DB2" uses "32" bits and DB2 code release "SQL08012"
> with level identifier "02030106".
> Informational tokens are "DB2 v8.1.2.169", "s030508", "WR21318", and
> FixPak
>
> There has to be at least one command in the buffer to edit it.
> db2
> connect...
> list tables for schema syscat
> history
> edit 1
> ...
>
> If you're running windows, verify the editor executable is in the path.
> os-prompt>start wordpad.exe
> or
> os-prompt>start notepad.exe
>
> Did you use something like
> db2set DB2_CLP_EDITOR=notepad.exe
> If it still doesn't work, try specifying the full path.
>
> PM
>
> "Derek Clarkson" <dclarkson@waterwerks.com.au> a �rit dans le message de
> news:3f3c8407@mail.netspeed.com.au...
>> Hi all,
>> Read about these commands in the DB2 manual for editing
>> previously

> entered
>> commands when in interactive mode(Db2 =>).
>>
>> On our system they don't seem to exist. executing "? command" does not

> list
>> them amongst the commands available and typing them in returns DB2
>> generic "can't find it" error.
>>
>> Have we missed something or is something not installed ?
>>
>> cio
>> Derek.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:17 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com