Don't forget you can key the source (we use a source file labeled
QSQLSRC) and use the RUNSQLCMD to create the table. That allows you to
quickly make modifications and alternate views.
The other nicety is the file is dynamic. If you base it on some key
file that holds period definitions then when the periods change the file
contents changes.
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of
elehti@xxxxxxxxxxxxxxxxxx
Sent: Tuesday, November 01, 2011 3:59 PM
To: midrange-l@xxxxxxxxxxxx
Subject: RE: dynamically store a rolling six years of data in a
tableandhavemeaningful column field names and descriptions
thatcanchangeyear-to-year?
Bill,
Your recommendation to do an SQL Select with Case statements is great
and I thank you.
Your observation made me give myself a dope slap because I had forgotten
that I have previously used STRQMQRY with output parms to create files
with descriptive column names, shown here:
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.