|
Phil Hayes wrote: >I am finishing up my last program as part of a >group project at school. The problem is being >able to search a phone number by 1 or all 10 >digits of a phone number. E.g., if the user >types 708 the user should see all of the >708 and above. > >I know there are some very smart programmers >who know how to solve this. If I may very gently suggest that you'll get more out of your homework if you do it yourself. <g> Assuming that you have hit the textbook, asked the teacher and your group for advice and looked at the manuals and are still stuck, here are some hints: Logical file keyed by phone number; SETLL and READ opcodes. These should be in the index of any AS/400 book, and you'll get hits in several AS/400 manuals. Look at http://www.as400.ibm.com follow the "library" link. You'll need to understand these concepts (in any language) in order to do business programming. Don't skimp on your education - I sure wish I'd had formal training! I estimate that formal training would have made me as good a programmer as I am now (21 years in the field) in under 5 years. Regards, Buck Calabro Aptis; Albany, NY +--- | 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.