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



At 14:54 08/17/98 -0600, Bill Megenity wrote:
>I am trying to create a logical file over 4 physical files (this used to   
>be a S36EE multi-format file). We need to be able to override these files   
>at execution time with substitution parameters. How do I use the OVRDBF   
>against the CRTLF in the CL program? Or am I even going about this in the   
>right way. These are batch files that get created using a sequence number   
>and then archived when done.

Bill, 

You can use the substitution parameters to execute OVRDBF from within the OCL. 
The logical file DDS however, must contain the actual name(s) of the physical 
files. You could generate the LF DDS on the fly with the correct names with a 
small RPG program. If you build the files in a library like QTEMP that is 
unique to the job, you wouldn't even need the OVRDBF, as you could always use 
the same logical file name. Other possibilities: You might use CRTDUPOBJ to 
duplicate the physical and logical files from empty "model" files and then 
rename the physicals before saving them. You could also use multiple member 
physical files. Give the members the unique names and add a corresponding 
logical file member. You can specify the PF members in the CRTLF command.

hth
Pete


Pete Hall
peteh@inwave.com 
http://www.inwave.com/~peteh/

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


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.