|
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Jerry Adams
Sent: Thursday, December 06, 2007 7:43 AM
To: Midrange-L
Subject: Members in SQL Table
I realize that SQL has no concept of physical file members, but I
figured that I could add members (ADDPFM) to a table that was
created by
DDL. When I tried to do that, I got an error that the table
already had
the maximum number of members allowed by the MAXMBRS parameter.
Not being daunted by this minor setback, I went to the CHGPF
command to
change the MAXMBRS. But it failed with error message CPD3213:
Message . . . . : Maximum-member value not valid for file
PRICEN.
Cause . . . . . : File PRICEN in library PROJ171 is either a
Structured
Query Language (SQL) table, view or index, or a non-SQL
file that is
an SQL
materialized query table or is in SQL data base
PROJ171.
SQL tables, views, and indexes, and non-SQL files that are an
SQL
materialized query table or are in an SQL data base must have only
one
member; however, the value that you specified on the maximum number
of
members (MAXMBRS) parameter is either a number greater than one or
*NOMAX.
So it appears that, if I want/need 2-n members in a table, I
still have
to use DDS. Right? Or is there a work around?
Thanks.
--
* Jerry C. Adams
*IBM System i Programmer/Analyst
B&W Wholesale Distributors, Inc.* *
voice
615.995.7024
fax
615.995.1201
jerry@xxxxxxxxxxxxxxx <mailto:jerry@xxxxxxxxxxxxxxx>
--
This is the Midrange Systems Technical Discussion
(MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.