|
Hi! I would like to know if it is possible to delete records from a file with the command OPNQRYF only if the first char of the record is equal to 'D'. I don't know the name of the field at that position when I use the command in my CLP... Something like: If (%subst(Record:1:1) = 'D') Delete Record directly in a OPNQRYF command... Thanks in advance for your answers Charles
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.