MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » March 2013

RE: Level check using CREATE TABLE AS (SELECT



fixed

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.








Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot 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 here. If you have questions about this, please contact