AS400Cron
Gruppe |
|
Konfigurationsdatei |
Pfad zu Properties-Datei in Feld Konfigurationsdatei. |
Beschreibung
Die Klasse AS400Cron kann Programme auf einer AS/400 aufrufen.
Es werden dabei keine Daten ausgetauscht, dem aufrufenden Profil wird lediglich der Wert für Erfolg, oder Fehler übergeben.
Beispiel-Datei
sample_as400_cron.properties
#
#sample config file for an AS /400 call
#
host=as400.company.org
user=dummy
#note: password may be obfuscated!
password=secret
library=QSYS
program=a_programm
object.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 success
success=OK
#define the return error for any exception
error=ERROR