Title: Programmer Tips
June 02, 2004 Published by  Search400.com

Programmer Tips

Search400.com
Home News Topics Ask the Experts Tips Discussions Webcasts White Papers Products and Vendors Careers Site Map
Issue Sponsored By:
Aldon Computer Group
Profound Logic Software's RPG Smart Pages (RPGsp)


IN THIS ISSUE:
The call of the prototype
Using CALLP with an existing program
Send an e-mail to an admin when a job gets a status of *MSGW
Don't proliferate old, bad code
Psst! Want some hot programming links?
New poll -- What's your biggest work-related headache?


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

The call of the prototype
[Search400.com]
by Paul Tuohy

A lot of RPG programmers are under the misconception that the CALLP operation means Call Procedure. That is because most of them come across it when they start using subprocedures. But CALLP means Call a Prototyped Procedure or Program, and it can be used in place of the CALL operation, as well as CALLB. This week I want to discuss the benefits of prototyping dynamic calls.

MORE INFO:
View other tips by Paul Tuohy


Using CALLP with an existing program
[Search400.com]
"Okcpgmr" was trying to call an existing program from another using the CallP opcode, but he ran into problems. Thanks to the help from a couple other users, he figured out what was going on.

Send an e-mail to an admin when a job gets a status of *MSGW
[Search400.com]
See how this user incorporates CALLP in his program to help see if any iSeries jobs have a status of *MSGW. Then, when the job gets a status of *MSGW, the program sends an e-mail to an administrator.

Don't proliferate old, bad code
[Search400.com]
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 RPG IV's keywords and built-in functions usually can make the code much smaller and manageable.

Psst! Want some hot programming links?
[Search400.com]
Psst... want to get ahead? Here's a ton on hot Web links that will help. Topics include RPG, ILE, Java, COBOL, VB, open-source and more. Shh.. don't tell anyone -- it'll be our secret. ;-)

Also on Search400.com
TOPICS: New poll -- What's your biggest work-related headache?
During the next few months, what will be your biggest work-related headache?
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!


TOPICS: Book Excerpt -- The Modern RPG IV Language, Third Edition
Log on and download for free Chapter 6 of The Modern RPG IV Language, Third Edition written by Bob Cozzi and published by MC Press.

This chapter, "Program Organization," focuses on source file location, source file member contents, module definition, static and automatic storage and more.

Win a copy of the book: After you read the chapter, test how much you've learned and then send us the results for a chance to win a copy of The Modern RPG IV Language, Third Edition.



TOPICS: Programmer's 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.


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 - The Most Targeted IT Media 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
MemberServices
117 Kendrick Street, Suite 800
Needham, MA 02494

Reply via email to