Difference between revisions of "AS400 Action"

From PresenceWiki
Jump to: navigation, search
(Run a program call)
(Read a data area)
Line 16: Line 16:
 
== Read a data area ==
 
== Read a data area ==
  
Library Name
+
This is perhaps the simplest action available on the AS400 Actions list.
 +
 
 +
Select "Read Data Area" from the Type of request drop down,
 +
 
 +
Then select the <b>Library Name
  
 
Object Name
 
Object Name
Line 22: Line 26:
 
Member Name
 
Member Name
  
Member Type
+
Member Type</b>
  
 
This will append a column AS400_DATA_AREA to the datatable who's cell value will contain the data area.
 
This will append a column AS400_DATA_AREA to the datatable who's cell value will contain the data area.

Revision as of 15:04, 9 November 2010

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 select the Library Name

Object Name

Member Name

Member Type

This will append a column AS400_DATA_AREA to the datatable who's cell value will contain the data area.

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