You are not logged in.
Announcement
Unanswered posts
|
Pages: 1
hello
I want to recover data from a member of an AS400 file.
To AC, I must create an alias on this file (ex CREATE ALIAS FOR myAlias myFichier (MemberName) )
Then I have more than done a select * from myAlias to recover data from a member of the AS400.
I am trying to create an alias via tInputAs400, the alias is created but I have a java error (probably because this does not have such a request Select)
Have you any idea how to create this alias
Thank you in advance
Offline
Hi
in tAS400Input, I have: "CREATE ALIAS BIB.MYALIAS FOR BIB.ETCAN0 (M123456)"
when running, the alias is created but I get the error:
[statistics] connected
Exception in component tAS400Input_1
java.sql.SQLException: Cursor state not valid.
at com.ibm.as400.access.JDError.throwSQLException(JDError.java:389)
at com.ibm.as400.access.JDError.throwSQLException(JDError.java:366)
at com.ibm.as400.access.AS400JDBCStatement.executeQuery(AS400JDBCStatement.java:2143)
at projettdetest.tempo2_0_1.tempo2.tAS400Input_1Process(tempo2.java:281)
at projettdetest.tempo2_0_1.tempo2.runJobInTOS(tempo2.java:909)
at projettdetest.tempo2_0_1.tempo2.main(tempo2.java:777)
[statistics] disconnected
Last edited by surfary (2012-06-08 09:43:42)
Offline
Pages: 1