× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



The direct replacement for a mult-member PF is a "partitioned" SQL Table.

CREATE TABLE ...
PARTITION BY ...

The underlying system object is basically the same, a multi-member *FILE
object.
However, a partitioned table is much nicer
- the DB manages adding members as needed, assuming you partition on a
date for instance
- SQL statements operate against the table, you don't need to worry about
the partitions.
- The query engine will only look at the partitions it needs too.

Unfortunately, in order to create such a partitioned table, you need the
Db2 Multisystem product installed.
Prior to v7.5, this was a chargeable option that cost big bucks.

With 7.5, IBM now includes it as a no-charge option.
I wonder, for those of us on 7.4 or 7.3, can we ask IBM nicely for a
license key.

Charles


On Fri, Sep 2, 2022 at 12:26 PM <smith5646midrange@xxxxxxxxx> wrote:

I work mostly with Island Pacific customers and the Island Pacific software
and consequently a lot of the custom stuff that is written around it is
extremely multi-member dependent.

Is there any way to get multiple members in an SQL defined table (or any
plans to provide that functionality)? If not, we are stuck with DDS.

-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Glenn
Gundermann
Sent: Friday, September 2, 2022 1:09 PM
To: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: DDS define files on SQL statements

Regardless of which engine is being used and what language you are
programming in, you should be using SQL to define all new tables.

Yours truly,

Glenn Gundermann
Email: glenn.gundermann@xxxxxxxxx
Cell: (416) 317-3144

--

On Fri, 2 Sept 2022 at 12:44, Code 1109 via RPG400-L <
rpg400-l@xxxxxxxxxxxxxxxxxx> wrote:

Hello all, can someone confirm what I've been told: "DDS defined
tables default to the old iseries SQL engine and are less efficient using
SQL"
which in context I'm told to use native I/O RPG to code instead of
embedded SQL if I am to use DDS files.
thank you!
--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a
message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
related questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com

--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a
message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link:
https://amazon.midrange.com

--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.