|
To look for any I specs in QRPGLESRC, do as Bill says, STRPDM, work with the member for the file, type 25 and then go to that same line and hit F13 to duplicate them on all lines and press enter. Then search for the text 'I' From column 6 to column 6. Also, enter the option you want to do to the member that it finds the I spec for. Do you want to edit the members? Enter a 2. Do you want to display it on the screen? Enter a 5. Do you want to print the list? Enter a 'Y' on the Print List option. Regards, Jim Langston BillsVilla@aol.com wrote: > In a message dated 1/19/2001 2:26:04 AM Eastern Standard Time, > JSneddon@AllstateTicketing.com writes: > > > >> Does anyone know of an easy way to scan through a few hundred members in >> QRPGLESRC and find the gems that have internally described physical files in >> them??? Unfortunately I can't just scan for the file names because >> somewhere along the line someone made all of our files externally described >> but left some internal descriptions laying around [mostly to rename >> commonly-used field names in the attempt to make even more unmaintainable >> code] :-) > > That's easy... > > STRPDM > 3 (work with members) > Put in file and library to search > 25 (option) > F13 (repeat) > ENTER (will prompt you with FIND STRING screen) > > then all you have to do is fill in the info on the find string screen. > > For instance put in the FILENAME you are searching for and the position that > it will be located in the RPGLE file. > > It will find every instance of that filename in that position for you. > > Bill +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-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 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.