× 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.



Hi group,

I have a CASE tool (2E) generated rpg program that reads a logical file
as input primary (READ loop). In some instances I need to run this
program against a subset of records only. I'm thinking of doing the
following at runtime in a CL program:

1) duplicate the physical file in QTEMP
2) populate with the records that I need to process
3) move QTEMP on top of the lib list
4) build another versionof the logical file in QTEMP (based on the
physical in QTEMP) using the CRTLF command
    CRTLF FILE(QTEMP/LOGICAL1) SRCFILE(SRCLIB/QDDSSRC)
5) setup an OVRDBF for extra safety and invoke the rpg program

I tested this and is working fine, but, I'm concerned with someone
making changes to the source file of the logical. Can anyone suggest a
method to create the logical without using the DDS? If someone wants to
propose a different approach, I'm open to suggestions.

TIA  

Valerio Vincenti
IT Business Analyst
County of Spotsylvania, I.S. Department
Spotsylvania, VA 22553
Phone (540) 582-7055 Ext. 233
Fax (540) 582-9841
e-mail: vvincenti@xxxxxxxxxxxxxxxxxx

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.