============================================================ SEARCH400 | Programmer Tip March 27, 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: - Trap that disconnection error 1. Answers to Other Technical Questions: 1. Why is my e-mail returned due to error 550? 2. Execute a CL program 3. Retrieve the IP address of an active device 4. Programmer tips and tricks 2. Important Announcements and Links - Discussion Week in the Forums: Your iSeries career - Tips contest: Last chance to try to win a Garmin eMap GPS - Advice: Programmer Discussion Forum - Featured Book: The AS/400 Programmer's Handbook, Volume II ___________________________________________________________ ******************* SPONSORED BY ProData ****************** FREE 30-Day Power Tool Rental! See for yourself how over 7500 customers instantly triple productivity. Kick start 'em with DBU, SQL/PRO, and RDR * Instantly access databases * Format extensive reports * Recover Deleted Records quickly * Empower users to be self-sufficient in handling data Achieve results and increase productivity NOW! Click here: http://www.prodatacomputer.com ================================================================ Today's Featured Tip ================================================================ Trap that disconnection error Often you may notice that interactive programs don't trap for disconnection errors. When any type of maintenance is being done on a file, it's crucial to perform proper clean up. The issue can arise from a user simply terminating his telnet session. If SQL commitment control isn't being used, it can be time- consuming to verify files and potentially have to clean them up. There is an easy solution, however: Add a subroutine to clean up the file. >> CLICK here for the full tip: http://www.search400.com/tip/1,289483,sid3_gci812287,00.html ============================================================ Answers to Other Programmer Questions ============================================================ 1. Why is my e-mail returned due to error 550? One Search400 member writes, "I'm using the SNDDST command to send e-mail from our iSeries 400 through a Gateway. The e-mail is being returned due to the following message: SMTP error 550 not local. Has anyone come across this error before?" A few Search400 members have some suggestions; check them out in the Programmer Discussion Forum. http://search400.discussions.techtarget.com/WebX?[EMAIL PROTECTED]^[email protected]/1225 2. Execute a CL program This user is attempting to execute a CL program on system B from a CL program that resides on system A. The CL on system B has parameters that are variables. The procedure will work with SBMRMTCMD, but when he attempts to execute it with AREXEC or RUNRMTCMD, the error message that he receives states that variables are invalid. Application development expert John Brandt offers some advice. http://search400.techtarget.com/ateQuestionNResponse/0,289625,sid3_cid457910_tax285217,00.html 3. Retrieve the IP address of an active device Have you ever wanted to know the IP address of a connected workstation? Well, the iSeries has an API that can get that for you. You may want to implement security schemes, add business rules, use different display files, etc. depending on the IP. By knowing all or even part of the IP address, you can control how your programs communicate with the device. Check out the simple code site expert John Kohan provides. http://search400.techtarget.com/tip/1,289483,sid3_gci799055,00.html 4. Programmer tips and tricks Need a little help with that program you're working on? If you find yourself stuck and looking for a little advice, you'll find plenty here. In this Featured Topic we've gathered some helpful tips and tricks to make your job a little easier. http://search400.techtarget.com/featuredTopic/0,290042,sid3_gci804566,00.html ---------------------------------------------------------------- *** Special Training Offer: 30% off - Introduction to XML *** ---------------------------------------------------------------- If you're looking to learn XML, this is the perfect introductory course. This course is a fully interactive online course that provides the applications knowledge of XML. Act now and get 30% off. Click below for more details. http://nous.gofcs.com/?s=52&p=courses&t=outline&i=QT0011&m=225s _____________________________________________________________ IMPORTANT MESSAGES AND LINKS: =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- DISCUSSION WEEK IN THE FORUMS | Vic Sbrega, career expert Your iSeries career: What to expect in 2002 Who: Vic Sbrega, Search400 career expert When: March 25-29 Are companies starting to hire iSeries professionals again? What areas of the U.S. or world are rebounding better from the recession? Will you finally get a raise this year or should you start polishing your resume'? Career expert Vic Sbrega can answer those questions and more. As principal of AS/400 Personnel Agency, he closely monitors the pulse of the iSeries- hiring scene. He can tell you if the industry is recovering or if it still needs time to heal. Vic will be the guest moderator in our Managing the iSeries discussion forum March 25-29. If you have a question about your iSeries career, now's the time to ask it. >> POST your career questions for Vic: http://search400.discussions.techtarget.com/WebX?[EMAIL PROTECTED]^[email protected] =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- WIN A GARMIN EMAP GPS | Submit your Tip to Win This is your last chance to try to win 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 today -- you could be our next winner. >> SUBMIT a Tip: http://search400.techtarget.com/tipsSubmit/1,289485,sid3,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: * Unable to access the source code http://search400.discussions.techtarget.com/WebX?[EMAIL PROTECTED]^[email protected]/1423 * CA Express Numlock on & no numbers are appearing http://search400.discussions.techtarget.com/WebX?[EMAIL PROTECTED]^[email protected]/1376!viewtype=threadDate&skip=&expand= =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- FEATURED BOOK | search400's Bookstore Title: The AS/400 Programmer's Handbook, Volume II Author: Mark McCall Now you can stop wasting countless hours wading through IBM's technical manuals, looking for programming examples to show you how a technique really needs to be coded. This book and companion CD contain more than 70 prototypical techniques and coding examples that you can use and adapt for hundreds of applications. From system APIs to SQL, the material presented encompasses the most useful and powerful features of the iSeries 400. http://www.digitalguru.com/DigitalGuru/product_detail.asp?catalog_name=Books&product_id=1583470123&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.
