Salesforce

Method Example - Run Command (Magic xpi 4.7)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

Method Example - Run Command (Magic xpi 4.7)

The following is an example of how to set the System i connector's Run Command method.

  1. Open the Magic xpi project.

  2. Park on a flow.

  3. Drag the IBM i connector into the flow area.

  4. Double-click or right-click on the connector and select Configuration from the context menu.

  5. In the Direct Access Method dialog box, click New. Select Run Command from the list of methods.

  6. Specify the following parameter details:

    • Command

    • Error Code

  1. Close all of the opened windows until you are back in the Flow Editor.

  2. Run the flow via the Magic xpi Debugger.

  3. Check the result on IBM i using the command: WRKSPLF.

A spool file named QSYSPRT will be created on IBM i, containing the output created from the WRKSYSVAL command. The WRKSYSVAL command is executed by the Run Command method.

Reference
Attachment 
Attachment