Method Example - Program Call (Magic xpi 4.5)
You can use the Program Call method to call IBM i programs, such as CL, RPG, and COBOL.
You can also exchange information between a Magic xpi Server and IBM i by sending or receiving arguments to or from IBM i programs.
When you call an IBM i program that receives multiple parameters, you need to first build an Argument Attribute String in a specific format using the Build Attribute String method. You should do this before you call the IBM i programs with the Program Call method. The following topic explains how to do this.
Building the Argument Attribute String