Title: Programmer Tips
July 14, 2004 Published by  Search400.com

Programmer Tips

Search400.com
NEWS     TOPICS     ASK THE EXPERTS     TIPS     WEBCASTS     WHITE PAPERS    
Issue Sponsored By:
  > Aldon
  > Profound Logic Software's RPG Smart Pages (RPGsp)


IN THIS ISSUE:
  >  Exception/error handling in RPG
  >  Use FNDMSG command to maintain and manage error messages
  >  Monitor for a fatal RPG III error
  >  All possible CPF error messages
  >  Hot programming tips
  >  Word game: You could win a $25 Amazon gift certificate


 
AD Why Can't My WebSphere Application Development Teams Get Along? They can, with Enterprise Application Management (EAM)!
With WebSphere application development products, synchronizing work across multiple enterprise platforms is difficult and time-consuming. Project teams must meet frequently to determine the readiness of independent components. Now, EAM can dramatically dramatically improve your WebSphere development teams' productivity by coordinating multi-tier application development across multiple teams. To learn more, click here or call 800.825.5858
 

Headlines
Exception/error handling in RPG
[Search400.com]
By Paul Tuohy

Confusion reigns when users sees a CPF error message. They're either unable to help you solve the problem or, worse, they ignore the error. It's impossible to test programs to ensure that they will never fail with a CPF message, but you can handle those errors in a more meaningful way. You want something along the lines of this:

* The user gets a "friendly screen" that tells him there is a problem -- and it does not allow him to return to a menu
* The Help Desk is notified that there is a problem
* The program generates a Dump listing
* A Job Log is printed

All of that can be achieved by writing a CL program, a standard subroutine and a few minor code changes.

MORE INFO:
View other tips by Paul Tuohy

Use FNDMSG command to maintain and manage error messages
[Search400.com]
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?" To eliminate the hassle of searching through hundreds of messages already created, Tim Granatir created the FNDMSG command.

Monitor for a fatal RPG III error
[Search400.com]
In a CL program, how do you monitor for a fatal RPG III error? Site expert John Brandt explains.

All possible CPF error messages
[Search400.com]
Looking for a handy source that lists each of the possible CPF error messages that can be generated for any CL command? If you're running V4R2 or later, site expert Tim Granatir says that information is online on your iSeries or AS/400.

Hot programming tips
[Search400.com]
Programmers take notice. Did you miss any of our past programmer tips? Don't worry. We've pulled together the 10 most popular tips YTD just for you.

Also on Search400.com
SURVEY:  User Poll: Will your workload lighten?
Now that it's summer, will your workload lighten?


 
AD Web Development with RPG is easier than ever!
RPG Smart Pages (RPGsp) is the first and only Web Development Environment for RPG programmers. With RPGsp, developers are able to create Browser Applications in record time while reusing their existing RPG skills and code. Download a Free Trial or schedule a Live Demo today!
 

NEWEST GAME FOR GEEKS:  Word game: You could win a $25 Amazon gift certificate
Are you a secure enough iSeries user to take this word search challenge? Test your skills at our latest iSeries word search puzzle. These 38 security terms have been hidden in the grid. Keep your eyes open, you never know who's lurking over your shoulder -- or system.

When you've completed the word search, send us an e-mail and let us know. You're name will be placed into a drawing for a $25 Amazon gift certificate, and at the end of the month we'll pick a lucky winner.

Congratulations Dan Gabrielson! Dan won last month's $25 Amazon gift certificate

SEARCH400.COM'S FAVORITE ISERIES CHEAT SHEETS:  Bookmark the cheat sheets
We are happy to share our collection of iSeries cheat sheets. We put out a call for you to submit your favorite tips and short cuts, and dozens of you submitted your precious cheat sheets. We compiled them into a user-friendly guide that has something for every type of iSeries pro -- programmers, system administrators, database administrators, security administrators and more. Make sure you bookmark this page and check back often, as it will be updated continually.



Contact Us
Sales
For sales inquiries, please contact us at:
[EMAIL PROTECTED]

Editorial
For feedback about any of our articles or to send us your article ideas, please contact us at:
[EMAIL PROTECTED]



ABOUT THIS E-NEWSLETTER
TechTarget This e-newsletter is published by Search400.com, a targeted Web site from TechTarget, the most targeted IT media and events company.
Copyright 2004 TechTarget. All rights reserved.

To unsubscribe from "Programmer Tips":
Go to unsubscribe: http://search400.techtarget.com/u?track=NL-17

Please note, unsubscribe requests may take up to 24 hours to process; you may receive additional mailings during that time. A confirmation e-mail will be sent when your request has been successfully processed.

Contact Us:
Search400
Member Services
117 Kendrick Street, Suite 800
Needham, MA 02494

Reply via email to