Salesforce

IBM i Program Call Wizard (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

IBM i Program Call Wizard (Magic xpa 3.x)

This wizard lets you generate a Magic xpa program that can call an existing native IBM i program. You can execute the wizard by clicking the IBM i Program Call Wizard menu option displayed under the Tools menu in the Magic xpa Studio mode.

If you are updating an existing Magic version, you must copy the following text from the To Be Added to Magic.ini text file, located in the IBM i_Utilities\Program_Call_Wizard directory under Magic xpa, and paste it under the TOOLS_MENU section in the Magic.ini file:

IBM i Wizard = A,i&Series Program Call Wizard,, %EngineDir%iSeries_ Utilities\Program_Call_Wizard\
Program Call Wizard.ECF,,,%EngineDir%iSeries_Utilities\ Program_Call_Wizard\Primport2.txt,

The wizard generates a batch program based on the IBM i program parameters that you have entered and stores the program in the current Magic xpa application file. Note that you can also evoke the generated program directly from any other application by using the program’s public name.

The generated batch program in addition to the IBM i program parameters, contain the following parameters:

  • IBM i connection

  • Host Name – A required parameter

  • User ID – A required parameter when a connection to IBM i needs to be established before calling the IBM i program

  • User Password – A required parameter when a connection to IBM i needs to be established before calling the IBM i program

  • IBM i program location and name

  • Library name – An optional parameter that can be used when you want to override the IBM i program library defined in the Magic xpa program.

  • Program name – An optional parameter that can be used when you want to override the IBM i program defined in the Magic xpa program.

Reference
Attachment 
Attachment