- 论坛徽章:
- 0
|
各位大虾,
在使用CA的Data Transfer from iseries工具时,
选择使用“Process SELECT as data transfer format" 使用下面这个语句没有问题,TSSSCXRDB/CHPXP(TEH) (因为在chpxp这个文件下,有好多个member,我只想从其中的一个拿数据)。
但当我选择使用“Process SELECT as native SQL"
使用“ SELECT * FROM TSSSCXRDB/CHPXP(TEH) ”时就出现错误,
如果改成“ SELECT * FROM TSSSCXRDB/CHPXP ”就没有问题,但我
需要的是chpxp下的其中一个Member下的数据,该如何表达呀???
拜托了,这个比较急,谢谢!!!
错误信息如下:
CWBDB0099 - No more data is available for the stream fetch request
SQL0104 - Token ( was not valid. Valid tokens: FOR WITH FETCH ORDER UNION OPTIMIZE.
Cause . . . . . : A syntax error was detected at token (. Token ( is not a valid token. A partial list of valid tokens is FOR WITH FETCH ORDER UNION OPTIMIZE. This list assumes that the statement is correct up to the token. The error may be earlier in the statement, but the syntax of the statement appears to be valid up to this point. Recovery . . . : Do one or more of the following and try the request again: -- Verify the SQL statement in the area of the token (. Correct the statement. The error could be a missing comma or quotation mark, it could be a misspelled word, or it could be related to the order of clauses. -- If the error token is <END-OF-STATEMENT>;, correct the SQL statement because it does not end with a valid clause. |
|