Installation instructions for PLOP on iSeries
================================================

This document describes the installation steps for PLOP on the iSeries.
PLOP can be installed by using the installation package which is
available from http://www.pdflib.com.


Step 1: Download and unzip the PLOP.ZIP file
===============================================

Download the file PLOP-<version>.ZIP for iSeries and save it to your local
hard disk. Unzip this file to your local hard disk.

Make sure that you have FTP access to your system and that your user
profile has QSECOFR authority to perform the installation steps.


Step 2: Transfer the PLOPLIB save file to the iSeries
=====================================================

Start a DOS session on your PC, and initiate an FTP session against your
iSeries executing the following command from your DOS prompt:

      FTP hostname

Enter your iSeries user profile and password for the logon.

Switch over to binary mode by running the FTP command:
	bin

Create a SAVF on your system by running the FTP command:
	Quote rcmd crtsavf file(qgpl/ploplib)

Transfer the file PLOPLIB.SAV to your iSeries by running the FTP command:
	Put c:\yourlocalpath\ploplib.sav qgpl/ploplib

Exit the FTP session with the FTP command 
	Quit


Step 3: Restoring the PLOP library
=====================================

You can now restore the PLOPLIB objects by running the following CL commands:

	CRTLIB LIB(PLOPLIB)
	RSTOBJ OBJ(*ALL) SAVLIB(PLOPLIB) DEV(*SAVF) SAVF(QGPL/PLOPLIB)


Step 4: Creating the IFS directories and resource files
=======================================================

After restoring all objects to the PLOPLIB library, execute the following
CL command to create the IFS directories for PLOPLIB including all resource
files needed to run PLOP.

	CALL PGM(PLOPLIB/PLOPCRTRSC)


Step 6: Verifying the installation
================================== 

After running all installation steps you should have the following objects
in your PLOPLIB library:

Object      Type      Attribute

PLOP        *PGM      CLE          
PLOPCRTRSC  *PGM      CLE          
PLOP_JAVA   *SRVPGM   CLE
PLOP_RPGLE  *SRVPGM   RPGLE          
PLOPLIB     *SRVPGM   CLE          
H           *FILE     PF           
PLOPLIBRSC  *FILE     SAVF         
QCSRC       *FILE     PF           
QRPGLESRC   *FILE     PF           
PLOPLIB     *BNDDIR                



In the IFS you should find the following directory:

/pdflib/plop-<version>/bind/c
/pdflib/plop-<version>/bind/java
/pdflib/plop-<version>/bind/rpg
/pdflib/plop-<version>/bind/data
/pdflib/plop-<version>/doc
PG
QCSRC        *FILE     PF-SRC        C Samples   
PLOPLIB      *BNDDIR                 PLOP Binding Directory


In the IFS you should find the following directory:

/pdflib/plop-<version>/bind/c
/pdflib/plop-<version>/bind/java
/pdflib/plop-<version>/bind/rpg
/pdflib/plop-<version>/bind/data
/pdflib/plop-<version>/doc
