Difference between revisions of "AS400 Action"

From PresenceWiki
Jump to: navigation, search
(AS400 Action Node)
Line 14: Line 14:
 
* [[AS400_Action#Check File Exists|Check File Exists]]
 
* [[AS400_Action#Check File Exists|Check File Exists]]
  
== Read a data area ==
+
== Read Data Area ==
  
 
This is perhaps the simplest action available on the AS400 Actions list.
 
This is perhaps the simplest action available on the AS400 Actions list.
Line 32: Line 32:
 
http://www.international-presence.com/images/docs/as400/as400_readdataarea_results.png
 
http://www.international-presence.com/images/docs/as400/as400_readdataarea_results.png
  
== Run a program call ==
+
== Program Call ==
  
 
Library
 
Library
Line 56: Line 56:
 
http://www.international-presence.com/images/docs/as400/as400_results.png
 
http://www.international-presence.com/images/docs/as400/as400_results.png
  
== Run a program call via a command ==
+
== Program Call Via A Command ==
  
 
This is a simplified version of Program Call, and requires Library, Program and a list of Parameters
 
This is a simplified version of Program Call, and requires Library, Program and a list of Parameters
  
== Run a command ==
+
== Command ==
  
 
Library Command  
 
Library Command  
Line 66: Line 66:
 
Key and Value
 
Key and Value
  
== Copy a file ==
+
== Copy File ==
  
 
From
 
From
Line 74: Line 74:
 
Return Column Name
 
Return Column Name
  
== Check a file exists ==
+
== Check File Exists ==
  
 
File
 
File
  
 
Return Column Name
 
Return Column Name

Revision as of 15:31, 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 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

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

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