Indexing Data for Navigation

A telephone company creates customer statements by using the external formatting capabilities on the iSeries (page definitions and form definitions) together with AFP; this is called mixed data. This company wants its customer service representatives to be able to view the statements in the same format that the customer receives them. The company also wants the customer service representatives to be able to use the customer’s name or phone number to quickly locate a customer’s statement.

Here is how this company can use the Infoprint Server components to meet its requirements:

1.An application creates the data and puts it on the OS/400 spool.

2.The Create AFP Data (CRTAFPDTA) command generates the document as an AFP stream file and puts the indexing information in an index object stream file. It then gathers all of the needed resources into a resource stream file. Finally, it concatenates all three stream files into a merged stream file.

3.Users can now view the indexed file on their workstation.

Figure 7 shows how you can use Infoprint Server to index data.

User

Application

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

AFP Merged

 

 

 

 

 

OS/400

 

 

 

CRTAFPDTA

 

 

 

 

 

 

 

 

 

 

 

 

 

Stream File

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Spool

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Viewing on the Workstation

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

AFP Stream

 

 

AFP

 

Index Object

 

 

 

 

 

 

 

 

 

Resource

 

 

 

 

 

 

File

 

 

 

 

Stream File

 

 

 

 

 

 

 

 

 

Stream File

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Figure 7. Indexing line, mixed, or AFP data

14Infoprint Server for iSeries: Introduction and Planning Guide

Page 26
Image 26
IBM G544-5774-01 manual Indexing Data for Navigation, Shows how you can use Infoprint Server to index data