I am trying to insert records to a member in a PF through JDBC. Tried with QCMDEXC in Java. But the member is not being overridden, inserting records in the First Member-always. What may bethe cause? Can any one suggest the possible solution for this?
Software/Hardware used:
ASKED:
January 24, 2006 6:25 AM
UPDATED:
November 25, 2009 2:08 AM
Correction:
OVRDBF MYFILE MBR(OTHERMBR)
I’m not confident that doing an override will work in a JDBC connection… Depending on how you connect to the system you may use one or more QZDASOINIT jobs, and if the override happens in 1 and the SQL executes in another, the override won’t work…
You may need to create an alias for the member using syntax such as:
CREATE ALIAS library/aliasname FOR library/file (member)
then use the alias in your jdbc statement…