Difference between revisions of "AS400 Action"

From PresenceWiki
Jump to: navigation, search
(AS400 Action Node)
Line 7: Line 7:
 
The supported actions are:
 
The supported actions are:
  
=== Read a data area ===
+
# Read a data area #
=== Run a program call ===
+
# Run a program call #
=== Run a program call via a command ===
+
# Run a program call via a command #
=== Run a command ===
+
# Run a command #
=== Copy a file ===
+
# Copy a file #
=== Check a file exists ===
+
# Check a file exists #
  
 
http://www.international-presence.com/images/docs/as400/as400_programcall.png
 
http://www.international-presence.com/images/docs/as400/as400_programcall.png

Revision as of 10:01, 8 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:

  1. Read a data area #
  2. Run a program call #
  3. Run a program call via a command #
  4. Run a command #
  5. Copy a file #
  6. Check a file exists #

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

Read a data area

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.

specified by Return Column Name

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.

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