Try - 

db2 select \* staff

On Jul 6, 2014, at 6:19 PM, Cameron Seay <[email protected]> wrote:

> Any clues as to why I am seeing this?
> 
> lnx049:/home # su -l db2inst2
> db2inst2@lnx049:~> db2start
> 07/05/2014 23:21:18     0   0   SQL1026N  The database manager is already
> active.
> SQL1026N  The database manager is already active.
> db2inst2@lnx049:~> db2 connect to sample
> 
>   Database Connection Information
> 
> Database server        = DB2/LINUXZ64 10.5.3
> SQL authorization ID   = DB2INST2
> Local database alias   = SAMPLE
> 
> db2inst2@lnx049:~> db2 select * staff
> SQL0104N  An unexpected token "sqllib" was found following "select bin
> db2inst2".  Expected tokens may include:  "FROM".  SQLSTATE=42601

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to