iSeries program or procedure

The Use an iSeries program or procedure radio button is selected by default. Use this page of the wizard to describe the program or procedure that is invoked as the business logic for this Web interaction.

See the Add Program description for information about defining the program or procedure.

See the Add Parameter description for information about defining the parameters for the program or procedure.

See the Add Structure description for information about defining a parameter as a data structure.

In addition to the Add Program, Add Parameter, and Add Structure buttons that are on this page, the following actions are available if you right click in the Program call definitions area on the wizard page:
  • Add Program - to add a program
  • Add Parameter - to add a parameter or field to the selected program or structure
  • Add Structure - to add a structure
  • Add Database Reference Structure - to create a structure from a database record
  • Add Database Reference Parameter - to add a parameter from a database field
  • Add Database Reference Field - to add a field from a database field
  • Synchronize - to resolve differences between the current properties and the actual properties in the database
  • Show - to view the properties of a database field
  • Move Up - to move the selected element up
  • Move Down - to move the selected element down
  • Delete - to delete the selected element

The Import PCML and Synchronize All buttons always appear on the page.

Control Description
Import PCML Click Import PCML to select a standalone PCML file from your workspace or from the remote file system. You can also select ILE COBOL or ILE RPG source code from the remote file system which will automatically generate a PCML file for import..
  • Click Workspace to open the Workspace File Selection window. Select a PCML file and click OK.
  • Click Remote File System to open the Browse for File window. Select a PCML file and click OK. If you are importing a PCML file generated by the ILE RPG or ILE COBOL Program Verifier, choose Remote File System and navigate to your local workspace.

    A tree view of the selected PCML file is shown in the right pane of the window. You can select one or more structures and programs in the left pane.

Click OK to import the selected items into your current program call definitions.

If the name of an imported item conflicts with the name of an existing item in the current program call definitions, a dialog box will appears to prompt users for overwrite. To keep existing item from overwritten, user should rename the item prior to import. If the selected item requires a structure, the wizard also imports the required structure.

Synchronize All If you retrieved properties of a field from the database reference on the iSeries host, and you find that the properties defined in the Web Interaction wizard no longer match the actual properties in the database reference, click Synchronize All to automatically refresh them.