AS400 Action

From PresenceWiki
Revision as of 15:08, 9 November 2010 by Graham (Talk | contribs)

Jump to: navigation, search

http://www.international-presence.com/images/docs/as400/as400_action_header.png

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

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