AS400Cron
|
Configuration |
Path to properties file in field "Configuration file". |
|
Class name |
com.ebd.hub.datawizard.util.AS400Cron |
Description
This class is able to call programs on an AS/400 system.
There is no exchange of data. The profile will only get a return value for a successful call or an error.
Example
sample_as400_cron.properties
##sample config file for an AS /400 call#host=as400.company.orguser=dummy#note: password may be obfuscated!password=secretlibrary=QSYSprogram=a_programmobject.type=PGM #optionally, define params for the call (only input type is supported here)#supported param types are:#BIN2, BIN4, BYTE_ARRAY, FLOAT4, FLOAT8, UNSIGNED_BIN2, UNSIGNED_BIN4, CHAR##start by index 1 and increase by step size 1, e.g.:#parameter.value.1=a_value#parameter.type.1=bin2#parameter.length.1=2#parameter.value.2=a_second_value#parameter.type.2=char#parameter.length.2=80 #define the return value for successsuccess=OK#define the return error for any exceptionerror=ERROR