PHP Webinar:Learn how to Reduce your PHP Learning Curve with WebSmart PHP on Thursday, May 13th 1:00 PM EDT. See how WebSmart PHP: Creates the HTML, CSS, JavaScript and PHP for you; Provides tools to facilitate the coding of HTML and PHP; Integrates with the IBM i & DB2; Calls RPG & COBOL programs. You’ll also see a live demo on creating a PHP program in 5 minutes that lists records from a DB2 file with update, add, display & delete capabilities. Register for this PHP webinar
Pipe iconv into your Qshell command to create ASCII instead of EBCDIC.
Written by Tom Snyder
In my previous article, "Using DB2 with Sed, Tail, Pipes, and Redirection from Within Qshell," we used SQL to export files directly to text files on the IFS. These files were created in EBCDIC. A reader stated to me that he could view the results in cat, but when he dragged them across the network, they were unreadable and asked if it was because it was EBCDIC. The answer is yes, the results are in EBCDIC, but we can change that.
With this technique, programs bound to a service program can detect the version of the service program and select procedures exported by a specific version for use at run time.
Written by Junlei Li
An i5/OS service program is one type of MI program object whose MI object type code is hex 02 and subtype code is hex 03. In IBM's MI documentation, a SRVPGM is referred to as a bound service program. The word "bound" means an ILE program (non-bound means an OPM program). From the MI point of view, service programs share most attributes with those of their cousins, the bound program objects, except for a few differences.