View this email as a Web page Please add System iNetwork Programming Tips to your Safe Sender list.

System iNetwork
System iNetwork 

Programming Tips
Issue 333
October 22, 2009
RJS Software Systems
RJS Software Systems Make your office paperless and more productive! With WebDocs you can electronically store, manage and distribute invoices, purchase orders, spool files, PC data, emails, faxes and more. Think of WebDocs as an electronic filing cabinet that allows you to securely access and share information from anywhere. Visit us at www.rjssoftware.com or call us at 1-888-RJS-SOFT for a FREE 30-day demo.

APIs by Example: Message Handling APIs & Additional Message Info Support
By Carsten Flensburg

For native IBM i commands such as Work with Writers (WRKWTR), Work with User Jobs (WRKUSRJOB), Work with Submitted Jobs (WRKSBMJOB), and Work with Active Jobs (WRKACTJOB), it's possible to reply to pending inquiry messages for the writer or job in question by means of these commands' list panels' option 7=Display message. The internal IBM program providing this functionality is called QMHSCLVL and is also employed by other message-related commands, including Display Messages (DSPMSG), Work with Messages (WRKMSG), and Display Job Log (DSPJOBLOG). Unfortunately there's no API to get that same information in your own application--that's the problem that this APIs by Example addresses.

*Read More...
Report on RPG & DB2 Summit
By Scott Klement

I just got back from an eventful week at the RPG & DB2 Summit conference in Minneapolis, Minnesota. While I was there, I made videos of the conference, and I've put them online for anyone interested.

The keynote address was given by Ian Jarman of IBM. Mr. Jarman discussed the value of the i+p merger at IBM, as well as what's coming in hardware. He also gave a sneak preview of IBM i 7.1 features and a brief synopsis of the new RPG Open I/O support.

*Read More...

iSeries DevCon2009
iSeries DevCon2009 Time-saving techniques and best practices to update your skills and help you be more productive all year long with XML, RPG, ILE, Web services, PHP, HMC, MySQL, RDi-SOA, Java, SQL, DB2, Eclipse, EGL and more. iSeries DevCon delivers one-on-one expert consultations, hands-on labs, valuable code and take-home materials. Register now.

Handle Null- Terminated Parameter in CL
By Scott Klement

In a recent discussion in the System iNetwork forums, someone asked how to write a CL program that receives a null-terminated parameter. My initial reaction was that this was a silly thing to do in CL. However, as I thought about it, it started to make a lot more sense.

After all, if you call a CL program or procedure from C, you'll certainly want to be able to handle null-terminated strings. But perhaps even more useful is the fact that, if you write a CL program that's called from a QShell command or script, it'll pass null-terminated strings. And calling CL from QShell can be very useful indeed!

*Read More...

Tool to Start OpenSSH Server
By Scott Klement

Q: We are using your articles on OpenSSH to act as an SFTP server. However, we're having trouble starting the server properly. I can start it manually in QShell and it works okay, but I can't seem to get it to start automatically. Any advice?

A: On IBM i 6.1, IBM has provided the ability to start the OpenSSH server (sshd) via the STRTCPSVR command. If you are on an earlier release (prior to 6.1) however, there's a free utility you can download from IBM to start the OPenSSH server.

*Read More...


On the Web

Feeling insecure? Check out these three fantastic security articles from the October issue of System iNEWS:

Securely Integrating Wireless: Learn Your Risks, Find Your Holes, and Lock Out Interlopers - There is no better way to make the six o'clock news than to leave your enterprise WiFi open to attack. Alas, surveys reveal that more than half of major enterprise WLANs remain exposed. Separate yourself from the herd by employing the advice given here to lock interlopers out of your corporate wireless network.

Living with Network Access Control - Network Access Control, as described in the 802.1x standard, is now a well-understood technology. Vendors, as always, have been pushing the envelope of NAC's originally envisioned mission, adapting NAC to new Ethernet use cases. Learn how NAC deals with these and what you can safely do to extend your own NAC-protected network.

Security Checklist for Your IBM i Compliance Audits - Here's insight into what auditors look for and what you can do to be prepared.


Sign Up for Other System iNetwork Newsletters!
Enter Your E-mail Address:

System iNetwork Systems Management Technical tips, insight, and utilities for configuration, performance, security, and other operational topics, which is sent on alternating Wednesdays.

NEWS Daily System i-related news and announcements Monday-Thursday.

My i & .NET Monthly e-mail newsletter presenting technical articles, how-to guides, tips, and case studies on the integration of .NET applications.

RPG Coder Technical tips and techniques for RPG programmers and developers, which is sent on the 1st and 3rd Thursday of each month.

Sign-up form doesn't work? Subscribe at System iNetwork.com

Thank you to our sponsors:
RJS Software Systems
iSeries DevCon2009

sponsorArray[1].sponsorName

sponsorArray[2].sponsorName

From System iNetwork
e- Learning

Nov 2 -- PHP102 for the RPG Programmer
This class builds on knowledge of creating executive dashboards with Procedural PHP in an inquiry mode, and beyond.

Nov 11 -- Introduction to XML & Web Services for System i Developers
Learn the basics of XML syntax, how XML and web services fit into the larger topic of browser-based application development, and much more.



Contact Unsubscribe Advertise Submit Press Release

You are subscribed as: #email# (not #email# ? Subscribe Now.)

To unsubscribe from this e–mail please click here.

For questions, comments, and reader feedback about an item covered in System iNetwork Programming Tips contact Scott Klement .

Copyright 2009 | System iNetwork | Penton Media | 221 E 29th St. | Loveland, CO 80538 | Privacy Policy

"System i" is a trademark of International Business Machines (IBM) Corporation and is used by Penton Media, Inc., under license. System iNEWS, SystemiNetwork.com, and the SystemiNetwork.com newsletters are published independently of IBM, which is not responsible in any way for the content. Penton Media, Inc., is solely responsible for the editorial content and control of System iNEWS, SystemiNetwork.com, and the SystemiNetwork.com newsletters.