IBM Books

Net.Data Reference Guide


General OS/400 Concepts

There are some basic concepts that you must understand before you use Net.Data. In particular, the HTTP server you are using and the Integrated File System.

HTTP Server

Net.Data can only be invoked as a common gateway interface (CGI) program on the AS/400. As a CGI program, Net.Data follows the CGI interface that has become a standard: client (e.g. browser user) data, such as form or URL data, is received by a CGI program from stdin, and output data generated by a CGI program is returned to the client by writing to stdout.

The main points that you need to worry about if you want to run Net.Data with an HTTP server is whether:

If the answers to both questions yes, then Net.Data can be used with the HTTP server of your choice.

One final note. In the following sections, we show you how to get Net.Data up and running using Internet Connection for AS/400, which is the HTTP server that is a standard part of the OS/400 operating system in V3R2 and V3R7 (and subsequent releases). If you are not using Internet Connection for AS/400, you will need to determine how to enable your HTTP server to invoke Net.Data as a CGI program.

The Integrated File System

All object references that can be specified when using Net.Data is assumed to be in path name format. A path name tells the system how to locate an object. The path name is expressed as a sequence of directory names followed by the name of the object. Individual directories and the object name are separated by a slash (/) character; for example:

          /directory1/directory2/file

Path names are intimately tied to the integrated file system.

The integrated file system is a part of OS/400 that supports stream input/output and storage management similar to personal computer and UNIX operating systems, while providing an integrating structure over all information stored in the AS/400.

Some of the key features of the integrated file system are the following:

To learn more about the integrated file system, including other file systems not listed above, see the Integrated File System Introduction.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]