================================================================ SEARCH400 | Programmer Tip May 22, 2002 ================================================================
Essential explanations, tools and code for the iSeries programmer. More tips: http://search400.techtarget.com/tipsIndex/0,289482,sid3_tax2f9,00.html ================================================================ In today's technical advice roundup you'll find tips, expert answers and input from your peers to the following iSeries programmer questions and concerns: Today's Featured Programmer Tip: - How to match customer addresses during order entry 1. Answers to Other Technical Questions: 1. Use trigger programs to track record changes 2. Don't proliferate old, bad code 3. Change a printer file on the iSeries 400 4. ASCII to EBCDIC FTP conversion 2. Important Announcements and Links - Tips Contest: Win a mini digital camera/webcam/movie clip - Advice: Programmer Discussion Forum - Featured book: Java for S/390 and AS/400 COBOL Programmers - Search400 Search Engine: Find iSeries information fast ================================================================ Today's Featured Tip ================================================================ How to match customer addresses during order entry If your company maintains a list of customers or clients, duplicated entries is something you'd like to avoid. However, matching customer addresses -- even names -- can be challenging. Search400 expert John Kohan shows you how he handled the task using three RPG/400 programs he created. >> CLICK here for the full tip: http://www.search400.com/tip/1,289483,sid3_gci825032,00.html ============================================================ Answers to Other Programmer Questions ============================================================ 1. Use trigger programs to track record changes One of the issues programmers have to deal with is recording when a record was changed. Since we now have users accessing data from RPG programs, Cobol programs, DFU, Microsoft Access, Java, etc., it's getting harder to keep track of all the changes and who actually performed them. Trigger programs are one way for you to track these changes. http://search400.techtarget.com/tip/1,289483,sid3_gci760330,00.html 2. Don't proliferate old, bad code In an effort to hasten the completion of projects, most programmers "steal" code from other sources within their libraries. The problem is that many times, the code originated years ago and is cumbersome, lengthy and not easy to maintain. Even most ILE code resulted from old code that was passed through a conversion utility. Using the functionality of RPGIV's Keywords and Built-In-Functions usually can make the code much smaller and manageable. http://search400.techtarget.com/tip/1,289483,sid3_gci811124,00.html 3. Change a printer file on the iSeries 400 One user writes, "I am a relatively new RPG programmer, and I have run into a problem. I need to change a printer file on my system. I have access to the source code of the printer file that I have changed and compiled fine. But the output has not changed when I run the program. Do I need to compile the RPG for the changes to take affect?" Application development expert Tim Granatir offers some advice. http://search400.techtarget.com/ateAnswers/0,289620,sid3_tax285217,00.html 4. ASCII to EBCDIC FTP conversion This user wants to know an easy way to import a tab-delimited ASCII text file into an iSeries 400. A lot of Search400 members, including site expert Tim Granatir, have some suggestions. http://search400.discussions.techtarget.com/WebX?[EMAIL PROTECTED]^[email protected]/1158 _____________________________________________________________ IMPORTANT MESSAGES AND LINKS: =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- WIN A MINI DIGITAL CAMERA/WEBCAM/MOVIE CLIP | Submit your Tip We're giving away a mini digital camera/webcam/movie clip. It takes photography and videography to a new level. Send in your tip -- administrator, programmer, security or WebSphere Strategies -- for your chance to win. >> SUBMIT a Tip: http://www.search400.com/tipsPrize/0,289492,sid3_prz819017_cts819011,00.html =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- DISCUSSION FORUM | Interact with other programmers Are you an iSeries programmer with questions? Join your peers in our Programmer Forum to ask and answer questions about XML, COBOL, CL, ILE, Web development, Java and much more. http://search400.discussions.techtarget.com/WebX?[EMAIL PROTECTED]^[email protected] >> RECENT DISCUSSION THREADS you may find of interest: * Use the OVRPRTF command inside an RPG400 program http://search400.discussions.techtarget.com/WebX?[EMAIL PROTECTED]^[email protected]/1874!viewtype=convdate&skip=&expand= * Display characters on a green screen http://search400.discussions.techtarget.com/WebX?[EMAIL PROTECTED]^[email protected]/1879!viewtype=convdate&skip=&expand= =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- THIS WEEK'S FEATURED BOOK | Search400's Bookstore Title: Java for S/390 and AS/400 COBOL Programmers Author: Phil Coulthard and George Farr This book is designed to help COBOL programmers make the jump to Java. It teaches COBOL programmers how to read and write Java programs and helps them understand the concepts necessary to continue to improve their Java skills. http://www.digitalguru.com/DigitalGuru/product_detail.asp?catalog_name=Books&product_id=1583470115&partner_id=55 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- SEARCH400 SEARCH ENGINE | Find iSeries information fast Is Google one of your favorite search tools? We've partnered with Google to make our iSeries-specific search engine even better. Why waste time slogging through irrelevant search results? Try our newly tweaked search engine for the most targeted iSeries results. >> Search Engine: http://search400.techtarget.com/integratedSearchAdvanced/0,289518,sid3,00.html ________________________________________________________________ :::::::::::::::::::::: SEARCH400 CONTACTS ::::::::::::::::::::: TIP MAILBOX, (mailto:[EMAIL PROTECTED]) >> Send us feedback on tips and ideas for new tip content. ________________________________________________________________ MICHELLE DAVIDSON, site editor (mailto:[EMAIL PROTECTED]) >> Send us your story ideas and best practices. ________________________________________________________________ DEBRA TART, assistant editor (mailto:[EMAIL PROTECTED]) >> Send us your tips and Best Web Links. ________________________________________________________________ DAVID GABEL, executive tech editor (mailto:[EMAIL PROTECTED]) >> Send me your technical tips and tip ideas. ________________________________________________________________ GABRIELLE DERUSSY (mailto:[EMAIL PROTECTED]) >> Sponsor this or any other TechTarget newsletter. ________________________________________________________________ Unsubscribe from 'Programmer Tips' - Simply Reply to this Email with REMOVE within the Body or Subject > or - Go to: http://search400.techtarget.com/register - Log in to edit your profile. - Click on the link to Edit email subscriptions. - Uncheck the box next to the newsletter you wish to unsubscribe from. - When finished, click "Save Changes to My Profile."
