|
Hi Nelson! Haven't contacted you in a while! Hope you're OK as well as the LINCARE family. I tried this little test program. In it, there is a parameter called *CT which you can use in the OPNQRYF for 'contains' or character scan: START: PGM DCL VAR(&QRYSLT) TYPE(*CHAR) LEN(100) MONMSG MSGID(CPF0000) DLTF FILE(PETERVI/TESTFILE2) CHGVAR VAR(&QRYSLT) VALUE('(TESTFILE *CT ''"'')') OPNQRYF FILE((TESTFILE)) QRYSLT(&QRYSLT) CPYFRMQRYF FROMOPNID(TESTFILE) + TOFILE(PETERVI/TESTFILE2) CRTFILE(*YES) END: ENDPGM It worked for me. Good luck! Peter Vidal Pall Aeropower Corp. / SR Programmer Analyst : www.pall.com / + Peter_Vidal@Pall.com (727-539-8448, x2414
As an Amazon Associate we earn from qualifying purchases.
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.