AS400 Action
http://www.international-presence.com/images/docs/as400/as400_action_header.png
Contents
AS400 Action Node
The purpose of this Node is to interact with the iSeries / AS400, for which you will need the hostname of the as400 (or ip address) along with a valid username and password.
The supported actions are:
Read Data Area
This is perhaps the simplest action available on the AS400 Actions list.
Select "Read Data Area" from the "Type of Request" drop down,
Then edit the Library Name,Object Name,Member Name and Member Type to specify the Data Area that is to be read.
Finally the Return Column Name specifies the Column Name to be created in the Presence Datatable into which the data value will be put.
As an example the following Read Data Area action:-
http://www.international-presence.com/images/docs/as400/as400_readdataarea.png
Results in this Datatable:-
http://www.international-presence.com/images/docs/as400/as400_readdataarea_results.png
Program Call
This action can be used to call a Program on the AS400, passing into it parameters and receiving returned parameters.
It requires Library and a Program followed by a List of Parameters
These contain a Param value and if the parameter is to be altered by the program a Return Param name, Type and Length
We can add or remove extra parameters.
http://www.international-presence.com/images/docs/as400/as400_programcall.png
Once you've set the parameters, you can go to the test tab and hit 'Test The Action'
The output tab will let you know if anything went wrong such as the wrong number or type of parameters being passed to the call.
http://www.international-presence.com/images/docs/as400/as400_output.png
The results tab will again give you the data returned by the action
http://www.international-presence.com/images/docs/as400/as400_results.png
Program Call Via A Command
This is a simplified version of Program Call, and requires Library, Program and a list of Parameters
Command
Library Command Parameters containing Key and Value
Copy File
From
To
Return Column Name
Check File Exists
File
Return Column Name