To be able to send the generation jobs to the AS400 you have to install and submit the Plex Listener job. Information about how to do this can be found in the Plex help.
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 | Windows client | 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 - Windows | v.6.0 | v.6.0 |
WSYHTTP | Windows | 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.
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 AS400. 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.
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\win_iseries. |
wsexpress.lib | ||
wininet.lib | Supplied with Visual Studio; no path required. | |
ws2_32.lib | ||
Recommended | obpt32.lib | Supplied with Plex; located in the folder <Plex Install Folder>\Class550\PatternLibs. |
Header Directories
Directory Path | |
---|---|
Mandatory | <Websydian Install Folder>\development\include |
Press "Add" to specify the iSeries you want to build you 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 Port must be the one you specified when installing the Plex Listener Job.
Select the record "RPG400, RPGIV, SQL, ..." in the list and press "Edit", select the system you defined under System Definitions.
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\win_iseries\Release" and must be copied to the release folder.