Difference between revisions of "AS400 Action"

From PresenceWiki
Jump to: navigation, search
(AS400 Action Node)
(AS400 Action Node)
Line 8: Line 8:
  
 
# [[AS400_Action#Read a data area]]
 
# [[AS400_Action#Read a data area]]
# Run a program call
+
# [[AS400_Action#Run a program call]]
# Run a program call via a command
+
# [[AS400_Action#Run a program call via a command]]
# Run a command
+
# [[AS400_Action#Run a command]]
# Copy a file
+
# [[AS400_Action#Copy a file]]
# Check a file exists
+
# [[AS400_Action#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:07, 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. AS400_Action#Read a data area
  2. AS400_Action#Run a program call
  3. AS400_Action#Run a program call via a command
  4. AS400_Action#Run a command
  5. AS400_Action#Copy a file
  6. AS400_Action#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