Maybe use CRTDUPOBJ ... DATA(*NO) then sql to subset into the dup?
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Vernon Hamberg
Sent: Friday, March 01, 2013 12:13 PM
To: Midrange Systems Technical Discussion
Subject: Re: Level check using CREATE TABLE AS (SELECT
Hi Luis
That might work to get either all the data or no data. This process needs to copy only a subset of the records into the file in QTEMP.
I'm looking for a way to use CREATE TABLE as the only statement to run - no overrides, etc. And the CREATE TABLE can use the result set from its subselect.
Thanks
Vern
On 3/1/2013 11:30 AM, Luis Rodriguez wrote:
Vernon,
What happens if you try CRTDUPOBJ?
Regards,
Luis Rodriguez
IBM Certified Systems Expert - eServer i5 iSeries
--
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.