× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Add to this, you could create a program that presents a list of fields from
the physical file and then create the LF source file based on selected
fields.  Then compile the logical file in QTEMP and do your CPYF.

Curious why you do not want to use SQL (we have a little freebie EXCSQLSTM
that I copied from a magazine years ago).


 -----Original Message-----
From:   midrange-l-bounces@midrange.com
[mailto:midrange-l-bounces@midrange.com]  On Behalf Of Dennis Lovelady
Sent:   Tuesday, January 07, 2003 12:39 PM
To:     Midrange Systems Technical Discussion
Subject:        Re: Column stripping


If you save the Query definition, you should not have the named problem.
After saving it, just execute its definition.

Short of that, you could create a view (SQL) or an LF (DDS) that has only
the columns that you want.

These would be one-time efforts.

HTH
Dennis





"Dhatha Thriyan" <deardhath@hotmail.com>@midrange.com on 01/07/2003
12:13:12 PM

Please respond to Midrange Systems Technical Discussion
       <midrange-l@midrange.com>

Sent by:    midrange-l-bounces@midrange.com


To:    MIDRANGE-L@midrange.com
cc:
Subject:    Column stripping


Hello All,

Help Please.  I need to create a subset of a physical file with some of the
columns stripped off the physical. I need to do this dynamically without
using SQL . the OPNQRYF doesn't seem to be helpful in this respect.

When I use Query/400, the column selection is static. Everytime if you want
to change the column, you have to go into query and deselect those selected
columns and select the new one. How do I do this dynamically (on the
command
line) ?




_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo.cgi/midrange-l
or email: MIDRANGE-L-request@midrange.com
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 thread ...

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.