GDDM-IVU V1R1.3 Image View Utility
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF | BOOK


Image-indexing example programs

GDDM-IVU V1R1.3 Image View Utility
SC33-0479-02



This is a suite of four programs, written in PL/I, that demonstrate image indexing, which is the combining, for disk storage and retrieval, of alphanumeric and image data. The alphanumeric data is a sequence of reference numbers and names. This might in reality be part of a personnel or parts database, in which a person or part name is associated with a unique reference number. The image data is created by scanning. Both types of data are stored together in a single file.

The first of the four programs is IMAG12F, which creates a small file of numbers and names, from compiled-in data.

The second program is IMAG12P, which creates a projection used by the principal program IMAG12.

The third program IMAG12 reads the file created by IMAG12F, and enables the user to scan an image, such as a passport photograph on a form, to be associated with a particular number and name. Scanning is done by calling GDDM-IVU. The combined alphanumeric and image data is then written out to another sequential file. Alternatively, a given number or name may be skipped, or the program halted.

The fourth program IMAG13 does the reverse of IMAG12. It reads back the file written by IMAG12, displays the alphanumeric data, and gives the user the options of viewing the image (by GDDM-IVU call), or skipping to the next, or halting.

The programs use the following files:

IMAG12F:
One output file called OUTPUT.
IMAG12:
One output file called OUTPUT, and the output file created by IMAG12F, now an input file called INPUT
IMAG13:
One output file called OUTPUT

No files are required for program IMAG12P.

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012