Setup iSeries/iSeries Development Environment

Install Plex Listener job on iSeries

To be able to send the generation jobs to the iSeries you have to install and submit the Plex Listener job. Information about how to do this can be found in the Plex help.

Create new Local Model

Login to the created group model. Select File->New to create a new local model. At this point you will be prompted to set the configuration for the library models used. Select the following:

Model Variant Version Level
ACTIVE Base V5.2 Patterns V5.2 Patterns
DATE AS/400 RPG400 server V5.2 Patterns V5.2 Patterns
EVENTLOG Base Version 1.4 Level 1.4
FIELDS Base V5.2 Patterns V5.2 Patterns
FOUNDATI Base V5.2 Patterns V5.2 Patterns
JAVAAPI Base V5.2 Patterns V5.2 Patterns
OBJECTS Base V5.2 Patterns V5.2 Patterns
SDSTRING RPG400 v.6.0 v.6.0
STORAGE AS/400 RPG400 server V5.2 Patterns V5.2 Patterns
UIBASIC Base V5.2 Patterns V5.2 Patterns
UISTYLE Base V5.2 Patterns V5.2 Patterns
VALIDATE Base V5.2 Patterns V5.2 Patterns
WINAPI Base V5.2 Patterns V5.2 Patterns
WSYAPI AS/400 RPG400 server v.2.0 v.2.0
WSYBASE DWA - iSeries v.6.0 RPG v.6.0
WSYHTTP AS400 v.6.0 v.6.0
WSYINTEG Base v.6.0 v.6.0
WSYSESS Base v.6.0 v.6.0
WSYUSER Base v.6.0 v.6.0
WSYUTIL Base v.6.0 v.6.0
WSYVAL Base v.6.0 v.6.0

After configuring the model, you will be prompted for a location in which the local model will be saved. Specify where you want to save the model.

Finally you must extract from all of the libraries. Use the menu item Exchange->Extract All.

Set Generate and Build Options

Build Directories

In this section press "Set Defaults".

Specify the "Source Directory" and "Target Directory" (normally you will just keep the predefined values).

Specify the "Source Library" and "Object Library" for the iSeries. Please note that these libraries must exist on the iSeries and that the source library must contain the necessary source files (QRPGSRC, QDDSSRC etc).

Press "OK" followed by "Apply Defaults"

Find the "Web HTML source" record in the list and press "Edit". In the "Source Directory" specify where you want the generated HTML templates to be placed.

System Definitions

WINNT

Select or add the PC you want to use for generation. Press "Properties".

Prebuilt C++ libraries

Must be checked - and the following must be specified:

Libraries

  Library file Location
Mandatory websyd.lib Located in the folder <Websydian Install Folder>\development\express20\iseries.
wsexpress.lib

Header Directories

  Directory Path
Mandatory <Websydian Install Folder>\development\include
AS/400

Press "Add" to specify the iSeries you want to build your iSeries objects on.

Select the record and press "Properties" to define the necessary properties for the iSeries.

As part of the installation a job description named "EXPRESS" has been created in the library you have specified as the database library. You can use this for the "AS/400 Build->Job Description" and the "AS/400 Configuration->Remote Conversation Job Description" (or you can create your own if you need another definition).

The "AS/400 Configuration->TCP/IP Conversation->Server port" must be the one you specified when installing the Plex Listener Job.

Select the appropriate code page for your environment.

Generate & Build Systems

Select the record "RPG400, RPGIV, SQL, ..." in the list and press "Edit", select the system you defined under System Definitions.

Move DLLs to Release Folder

A number of DLLs are necessary to run the DocumentTemplateGenerator functions used in Websydian Express.

These DLLs can be found in "<Websydian Install Folder>\development\express20\iseries\Release" and must be copied to the release folder.