Difference between revisions of "AS400 Action"
(→Read a data area) |
(→Read a data area) |
||
Line 20: | Line 20: | ||
Select "Read Data Area" from the Type of request drop down, | Select "Read Data Area" from the Type of request drop down, | ||
− | Then edit the <b>Library</b>,<b>Object</b>,<b>Member</b> and <b>Member Type</b> to specify the Data Area that is to be read. | + | Then edit the <b>Library Name</b>,<b>Object Name</b>,<b>Member Name</b> and <b>Member Type</b> to specify the Data Area that is to be read. |
Finally the <b>Return Column Name</b> specifies the Column Name to be created in the Presence Datatable into which the data value will be put. | Finally the <b>Return Column Name</b> specifies the Column Name to be created in the Presence Datatable into which the data value will be put. |
Revision as of 15:10, 9 November 2010
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 a data area
- Run a program call
- Run a program call via a command
- Run a command
- Copy a file
- Check a file exists
Read a 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.
Run a program call
Library
Program
List of Parameters
These contain Param name, Return Param name, Type and length
We can add or remove extra parameters.
specified by Return Column Name
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'
http://www.international-presence.com/images/docs/as400/as400_output.png
The results tab will give you the data returned by the action
http://www.international-presence.com/images/docs/as400/as400_results.png
Run a program call via a command
This is a simplified version of Program Call, and requires Library, Program and a list of Parameters
Run a command
Library Command Parameters containing Key and Value
Copy a file
From
To
Return Column Name
Check a file exists
File
Return Column Name