IBM® i program or procedure

The Use an i 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
  • 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 button always appears 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.


Feedback