============================================================ SEARCH400 | Programmer Tip March 13, 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: - Use FNDMSG command to maintain and manage error messages 1. Answers to Other Technical Questions: 1. Give error messages with color based on severity 2. Notify operators of any error message 3. Send sub-file error messages to a window 4. Why are my devices locked in QCMNARB04? 2. Important Announcements and Links - Tips contest: February winners announced - Expert profile: Tim Granatir, application development expert - Advice: Programmer Discussion Forum - Search400 Search Engine: Find iSeries information fast - Featured Book: Java for S/390 and AS/400 COBOL Programmers ----------------------------------------------------------------- Special Training Offer: 30% off - The Linux Operating Systems ----------------------------------------------------------------- Learn all about Linux with this introductory course. It highlights those aspects that make Linux an innovative operating system, and provides some commonly used Unix skills and "tricks". Act now and get 30% off. Click below for more details: http://nous.gofcs.com/?s=52&p=courses&t=outline&i=WT2570&m=225s ================================================================ Today's Featured Tip ================================================================ Use FNDMSG command to maintain and manage error messages External message files are a great way to keep error messages that are external to your program visible, and they provide an easy way to maintain those messages. When you create a new program and need to use an error message, the question becomes, "Do I already have an error message defined that I can use?" When you start getting hundreds of error messages, however, it can take awhile to find the one you need, and the average programmer's response is to just create a new one. That creates duplicate or similar error messages. And if you are trying to maintain any consistency with your error messages, you'll have a problem. To solve that problem, Search400 expert Tim Granatir created the FNDMSG command. >> CLICK here for the full tip: http://www.search400.com/tip/1,289483,sid3_gci809831,00.html ============================================================ Answers to Other Programmer Questions ============================================================ 1. Give error messages with color based on severity Search400 member Sudhakar Kunji shows you how to use the HexaDecmial color codes to send error messages with color based on severity. http://search400.techtarget.com/tip/1,289483,sid3_gci518737,00.html 2. Notify operators of error message even if they aren't signed on If you want an operator to be notified of an error message your application encounters, you send a message to the message queue QSYSOPR. But what the person isn't signed on to the system and an immediate response is required on that particular message? Check out this tip to find out what you can do. http://search400.techtarget.com/tip/1,289483,sid3_gci554057,00.html 3. Send sub-file error messages to a window This Search400 member wonders how to send a sub-file error message of a program message queue to a window? He finds the messages go to the default line and column number. Site expert Pascal Jacquemain offers some advice. http://search400.techtarget.com/ateQuestionNResponse/0,289625,sid3_cid376607_tax285217,00.html 4. Why are my devices locked in QCMNARB04? This member has devices locked in QCMNARB04 and wants to know the best way to unlock them. He tried deleting and recreating them, but when he deleted the WRKOBJLCK they weren't there. When he recreated them, they were once again locked in QCMNARB04. He turned to the Search400 Programmer Discussion Forum for some advice. Click over to read what other members suggested. http:[EMAIL PROTECTED]^[email protected]/1318 _____________________________________________________________ IMPORTANT MESSAGES AND LINKS: =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- FEBRUARY WINNERS ANNOUNCED | Search400 tips contest Congratulations to Nick Hobson for winning Search400's Tip of the Month contest for February. Nick won a Philips eXpanium CD-MP3 player and was added to our Hall of Fame for his tip: "In search of a better Lookup?" http://www.search400.com/tip/1,289483,sid3_gci801392,00.html Congratulations also to our runner-up winners: Colin Bates, Sudhakar Kunji and Roland Thibault. You may read their winning tips at: http://search400.techtarget.com/tipsHallOfFame/0,289489,sid3_prz804422_cts804420,00.html NEW CONTEST FOR MARCH: This month we're giving away a Garmin eMap GPS. With the eMap, no matter if you are in your car or hiking in the mountains, you are never alone. The eMap contains a differential-ready, 12-parallel channel GPS receiver that continuously tracks and uses up to 12 satellites to compute and update your position. Send in your tip -- you could be our next winner. >> SUBMIT a Tip: http://www.search400.com/tipsPrize/0,289492,sid3_prz804422_cts804420,00.html =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- EXPERT PROFILE | Tim Granatir, application development expert Tim Granatir is vice president of Technical Services at Interlink Technologies in Maumee, Ohio, where he serves as chief architect for their warehouse management system. He has worked in the banking, insurance, healthcare and distribution industries in various positions, including programmer/analyst, systems analyst and DP manager. Tim has worked on IBM midrange platforms since 1983. He's also an expert advisor in the search400 Ask the Experts section. Let Tim's experience work for you! Submit your question today: http://search400.techtarget.com/ateQuestion/0,289624,sid3_tax285217,00.html >> RECENT Q&A's with Tim you may find of interest: * How does one export a .csv file in the iSeries 400? http://search400.techtarget.com/ateQuestionNResponse/0,289625,sid3_cid427434_tax285217,00.html * Updating a file using a trigger program http://search400.techtarget.com/ateQuestionNResponse/0,289625,sid3_cid429430_tax285217,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 MEMBER DISCUSSION THREADS you may find of interest: * How can I display detail for all objects created by someone? http://search400.discussions.techtarget.com/WebX?[EMAIL PROTECTED]^[email protected]/1336 * View a .TIF file from the iSeries 400 http://search400.discussions.techtarget.com/WebX?[EMAIL PROTECTED]^[email protected]/1322 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 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 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 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 ======================================================== QUALIFY TO ATTEND OUR FREE WINDOWS CONFERENCE ======================================================== Don't miss our Windows Decisions conference May 8-10 at the Hilton Chicago Hotel. Attend and discover: ** How to succeed with Active Directory. ** Hidden tactics to lower your TCO. ** Best practices for Windows 2000 systems management. ** End-to-end network administration strategies. ** How to solve your top 10 Windows interoperability problems. ** And more. View full session info and apply today for FREE attendance at http://ad.doubleclick.net/clk;3903304;5058249;g?http://www.windowsdecisions.com/ ____________________________________________________________ ::::::::::::::::::: 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. ____________________________________________________________ **********************ABOUT THIS NEWSLETTER****************** Created by TechTarget (http://www.techtarget.com) TechTarget - The Most Targeted IT Media Copyright 2002, All Rights Reserved. If you no longer wish to receive this newsletter simply reply to this message with "REMOVE" in the subject line. Or, visit http://search400.techtarget.com/register and adjust your subscriptions accordingly. If you choose to unsubscribe using our automated processing, you must send the "REMOVE" request from the email account to which this newsletter was delivered. Please allow 24 hours for your "REMOVE" request to be processed.
