• Subject: Re: Sometime you need multiple members in a table.
  • From: Buck Calabro <kc2hiz@xxxxxxxxx>
  • Date: Thu, 17 Jan 2019 12:57:32 -0500
  • Arc-authentication-results: i=1; mx.google.com; spf=neutral (google.com: 195.159.176.226 is neither permitted nor denied by best guess record for domain of midrange-l@xxxxxxxxxxx) smtp.mailfrom=midrange-l@xxxxxxxxxxx; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-language:in-reply-to:autocrypt:openpgp:user-agent :content-transfer-encoding:mime-version:references:message-id:lines :date:subject:from:to; bh=EkJkVwp7dwC7i6HD+E6IwYhyTNrFDUD52WN0rM+z3Pc=; b=wC2Tdj88yF3/0xP6kfaoXBinw66h2kShPloYyYFPCb7+K3xEl+w9q9t/bsJBbmmk8b Tjz7om65lwm6NggJybsA5lLHmQ8XIQeJlq9qulkClDzHbdX3ZOu9U8/dmTtapFCQQuX9 qjKRJ7vDCItHxH570q9ezYltsJafR/67JMIpeyOsnr2GKG+tw6GFU+zclbI8qC6OdTLg 8jhwL1xgTNGDCdE3TB+JKrNv6OHjEqqVlw74wwZqckyojHv+H3vpZ7hIYtKn3l93md+H SWDHKjs061UEUbGmRcdh70RtJ6v6m0OrSed4jV/rqm0WH9Yoto2Yuq1sA5ZeYBD6uYEa GVSg==
  • Arc-seal: i=1; a=rsa-sha256; t=1547747861; cv=none; d=google.com; s=arc-20160816; b=QcramSJyaQPCHI6GH5ilKhmWPNNt6jVXM7foAfO1SsaswhmBa5DgaubHeAly1RbfLA OGSmWtvL7clZzopkMdM0UR/wMavTs8nYPm4qyqIDHYfKU3OFYfxaN+9mmrWU2G+NhTIH dD/Vqt06sS8WgtpR8vTtf6tho6ACc2ZG9CugCX8e62wP3dVWqfWVAhIXhpsap2yyplhY 5ZUN4gl2aNILoN50cAVqI7dA/H+f9EDN9/04Pim/xBYnaecRyc7jybdex2pNw94NoCt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eTXr4PZbUwVeQdIStdwMmozKBQvgjXWKi1GiuYbwYkCM/zJEUCs J36BIE4li9xohJ5O4iKC20YVckMJfZLbn1a2gVgn6Re8C5ezNewT0qM8ZDCUNENWAxsU/c9J UCFQ2QcMU+25b84D5yPxnEKna5U9Fz2JjRjWy5ZKZx2+WhZj0r2Tw6/kGb28AwADBgf/WBsn JSMHxyVfg+LKLHpdANwa9jdrKOt2WjJbWOiJ9l7SmqD0oi3c22FFxRXKsFfjCikLk9wbLZKH SqqnOePvMMHqNcqQTSv7+ARjxnBH4g6dhqg+zmebKpt8zV2awQzYSSm4YY6IqzkWmPNAN7BU zUtSAfL4UU2PljTnT9m443aVCTXMne5l90HQv/gdJ121owg5KuGE6LodTpoR4hn9nbdKWtfY pDNoykvR+GN5y335yF2Zp/j6QgdxWezjou5Y3/6PUZLEsJagWe9hAcKb1eiO2bmg+1bFYu0T g5Mvb27nqfFeHHFysC7a7sXtxp/pqNLNDcK6j/7Th6vF7/n98YhJBBgRAgAJBQJHG2k+AhsM AAoJEN7KcclHumuR9SgAnRuJWHon4GP58xbqCiFR/jSUfvRgAJ47KZ1UNoXgdftoePnbrZu6 W+poEw==
  • List-archive: <https://archive.midrange.com/midrange-l/>
  • List-help: <mailto:midrange-l-request@lists.midrange.com?subject=help>
  • List-id: Midrange Systems Technical Discussion <midrange-l.lists.midrange.com>
  • List-post: <mailto:midrange-l@lists.midrange.com>
  • List-subscribe: <https://lists.midrange.com/mailman/listinfo/midrange-l>, <mailto:midrange-l-request@lists.midrange.com?subject=subscribe>
  • List-unsubscribe: <https://lists.midrange.com/mailman/options/midrange-l>, <mailto:midrange-l-request@lists.midrange.com?subject=unsubscribe>

On 1/17/2019 8:13 AM, a4g atl wrote:
I have a situation where I have a table defined. In the past I used PFs.
The table has a long and short name. This prevents me from using CPYF or
CRTDUPOBJ. I have used RUNSQL to do a Create Table ... as (select..) with
no data. This creates a table not a PF, okay.

I need a PF with Multiple members that is identical to the table. I use the
member to store copies of file we send to external systems as an archive.
The member functionality has been great for this and I do not want to have
hundreds of files in the library.

No lecture from me; this is a hard transition when the code base expects
multiple members. Do you already have an inquiry program that knows how
to switch members? When possible here, I've really, really advocated to
re-do that architecture to put the year (or whatever each member is
intended to segregate) into the archive table. So instead of (simplified):
ID
NAME
ADDRESS
SALES

I have:
YEAR
ID
NAME
ADDRESS
SALES

Extracting one 'member' of data is as easy as WHERE YEAR = :year;
comparing two arbitrary years is just as easy. Quite to do ugly with
multiple members.

To answer your actual question, search the web for RTVDDSSRC. Michael
Sansoterra posted a utility many years ago that will probably do what
you need: create DDS from DSPFD / DSPFFD.


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.