"Easy Steps to Internet Programming for AS/400, iSeries, and System i"
Follow-up page

[Contents] [Accompanying CD-ROM] [Excerpts] [Late-breaking info] [BBS] [Order]

Go back to Uzaemon's homepage


Contents

Table of Contents and Figures, Tables, Lists, and Documents -> TOC.pdf

Copyright (c) 1996 - 2008 Guild Companies, Inc. All Rights Reserved.
Guild Companies, Inc., 50 Park Terrace East, Suite 8F, New York, NY 10034


Accompanying CD-ROM

Contents of "Examples and Utilities" CD-ROM -> CD-ROM.html

Copyright (c) 1996 - 2008 Guild Companies, Inc. All Rights Reserved.
Guild Companies, Inc., 50 Park Terrace East, Suite 8F, New York, NY 10034


Excerpts

Please read the book for complete information.

Contents
1 Getting Started 1
1 TCP/IP and OS/400 1
1 Brief Introduction to the Internet 1
2 The Internet and IBM Midrange Computer 1 Evolving Computing Scheme
3 Configuring TCP/IP on OS/400 3
4 Install Web Programming Related Licensed Programs 4
5 TCP/IP - Protocol for the Internet 5
6 Enabling TCP/IP on Your OS/400 8
2 Let Your OS/400 Serve HTML 13
1 Before You Start 13
2 Configuring HTTP Server on OS/400 14 HTTP Server Configuration Process (Apache)
3 Serving HTML Document 29
2 CGI Programming 36
1 Common Gateway Interface 36
1 How CGI Works 36
2 Simple CGI Program Examples 45
1 ILE-RPG CGI Program 47 Source code of RPG CGI program
2 ILE-COBOL CGI Program 49 Source code of COBOL CGI program
3 ILE-C CGI Program 51 Source code of C CGI program
3 Processing Complex FORMs 53
1 Interpreting Input from a Web Browser 53 Parse_complex FORM explanation
2 Parse by Yourself 57
3 Parse by QzhbCgiParse 67
4 Parse by CGIDEV2 (ILE-RPG CGI Development Kit) 74
4 Debugging CGI Programs 89
1 Call CGI Program from 5250 Screen 89
2 Debugging CGI Programs Interactively 90
3 Debug Function of CGIDEV2 92
3 Web Programming Using Non-ILE Languages 93
1 Server-side Java - Servlet and JSP 94
1 ASF Tomcat on OS/400 97
2 Installation and Configuration 97
3 Create Your First Servlet 105
4 Simple Database Access Servlet 110 Source code of the JDBC Servlet
5 Java Server Pages 116
2 Net.Data 123
1 Macro Language for the Web 123
2 Configuring Net.Data for AS/400 124
3 Writing Net.Data Macros 127
4 More SQL Macros 131 Source code of the Net.Data macro
3 Perl 135
1 Starting to Use Perl for AS/400 136
2 Perl as CGI script 139
3 Perl CGI Script with Database Access 146 Source code of Perl script (Right click the link and select "Save as", then save the file as ".txt" if you see garbage by just clicking the link.)
4 Perl Script Using CGI.pm 154
5 Debugging Perl Script 159
4 Open System Programming with ILE-RPG 162
1 C Functions from ILE-RPG 163
1 APIs for Open Environment 163
2 How to Use C Functions from ILE-RPG 165
3 C Macros 168
2 CGI Program with UNIX-type Functions 172 Source code of RPGCGI2 which uses UNIX-type APIs
3 Stream File and Code Conversion 177
1 Stream File Manipulation 177
2 Character Code Conversion 183
3 Working with XML 188
4 Parsing XML Files 199 Source code of program which converts XML to DB2/400
4 Socket programming 206
1 The TCP/IP Socket 206
2 The Socket Server 211
3 The Socket Client 216
4 Executing the Programs 218
5 Porting Open Source Utilities 221
1 Porting Unix Tools to OS/400 224
1 Openness of OS/400 224
2 The Porting Process 225
3 Hints and Tips on Porting 229
4 Obtaining Ported Software for OS/400 231
2 ZIP tools 233
1 zlib and minizip/miniunz 233
2 Using zlib 236
3 The Graphical Access Counter 244
1 WWW Count 244
2 Using WCOUNT 247
4 HTTP Log Analysis 251
1 Analog for OS/400 252
2 Using Analog 258
5 Converting Spool Files to Adobe PDF 268
1 Installing HPT and TIFFLIB 269
2 Using SPL2STMF and TIFF2PDF 271 Create an AFP Spool File Using WorldType (UNICODE Capable Outline Font)
6 Internet Mail 281
1 OS/400 as an Internet Mail Server 283
2 OS/400 as Internet Mail Client 289
1 SMTP and POP3 289
2 SMTP Client - 1, SNDDST and DTW_SENDMAIL 293
3 SMTP Client - 2, ILE-RPG SMTP Client Example (SNDM) 301
4 POP3 Client Utilizing JavaMail API 308
3 Sample Mail Application 319
1 Requests from the Web, Get Results by Mail 319 Overview of the sample application
2 Request and Get Result by Mail 327
7 Miscellaneous CGI Techniques 332
1 Invoke CGI / Get Result 334
1 Server Side Includes 334
2 Calling CGI from Java Applet 339
3 Retrieve from Office Application 342
2 HTTP Cookie 346
3 Pagination and Drill-down 353
4 Direct File Retrieval 358 Overview of the sample Application
1 Main CGI Program RETRIEVAL 361
2 QM Query 373
3 CRTCSVF Command 375
4 AFP Report Program 377 Report with AFP functions

Copyright (c) 1996 - 2008 Guild Companies, Inc. All Rights Reserved.
Guild Companies, Inc., 50 Park Terrace East, Suite 8F, New York, NY 10034


Late-breaking info

(Coming later...)


BBS

Your comments are very appreciated.