db2/400 how to use SELECT command in files that have several members? #9412
-
In Dbeaver 7.1.3 in connection db2 / 400 how is the SELECT command in files that have several members? Example file FI739U, member B033003091 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Could you please clarify what is your problem? If you need to execute Select query, use: |
Beta Was this translation helpful? Give feedback.
-
SQL does not support multi member files, directly. That is a DB2 for IBM i database construct. However, there are two solutions. You can spend $$$$$ and get DB2 Multi-system. That treats members as partitions, and then allows you to access those members. Or, you can use an alias to access a single member of a multi-member file.
The documentation for this statement is found here: IBM i Knowledge Center Alas, this is not a dBeaver issue. |
Beta Was this translation helpful? Give feedback.
-
Unfortunately it cannot be resolved from our side. |
Beta Was this translation helpful? Give feedback.
SQL does not support multi member files, directly. That is a DB2 for IBM i database construct. However, there are two solutions. You can spend $$$$$ and get DB2 Multi-system. That treats members as partitions, and then allows you to access those members. Or, you can use an alias to access a single member of a multi-member file.
CREATE OR REPLACE ALIAS alias name FOR table name (member name);
The documentation for this statement is found here: IBM i Knowledge Center
Alas, this is not a dBeaver issue.