Salesforce

Method Example - Run Command (Magic xpi 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

Method Example - Run Command (Magic xpi 3.x)

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 System i connector into the flow area.

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

  5. 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