MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » October 2004

RE: CPYF question



fixed

PGM                                                    
DCL        VAR(&Q) TYPE(*CHAR) LEN(1) VALUE('''')      
DCL        VAR(&FIELD) TYPE(*CHAR) LEN(5) VALUE('XXXX ')
CPYF       FROMFILE(LIB/FILE) +               
             TOFILE(QTEMP/FILE) MBROPT(*REPLACE) + 
             CRTFILE(*YES) INCREL((*IF DBFIELD1 *EQ + 
             'YYY') (*AND DBFIELD2 *EQ (&Q *CAT +     
             &FIELD *CAT &Q)))                         
ENDPGM                            

HTH
Marco                     
--- Dan Bale <dbale@xxxxxxxxxxxxx> wrote:

> Well, I already acknowledged that it won't get "fixed",
> but how does one get
> it to work as desired?  I am still trying to figure out
> the permutations
> required to get the quoted variable to work.
> 
> db
> 



                
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 





Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot 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 here. If you have questions about this, please contact