IBM G544-5774-01 Personal Computer User Manual


 
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 customers name or phone number to quickly locate a customers
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.
OS/400
Spool
User
Application
CRTAFPDTA
AFP
Resource
Stream File
AFP Merged
Stream File
AFP Stream
File
Index Object
Stream File
Viewing on the Workstation
Figure 7. Indexing line, mixed, or AFP data
14 Infoprint Server for iSeries: Introduction and Planning Guide