IBM i Connector – Error Handling (Magic xpi 4.7)
The Magic xpi Server Flow Manager checks for errors during the execution of a step. If there is an error in an IBM i connector step, the Error Handler is invoked and handles the error.
The first error in the step causes the termination of the step execution. If the step has multiple methods, and an error occurs in one of these methods, all subsequent methods are not executed.
The error codes for the IBM i connector are listed below. You can also use Magic xpi's General Component Errors with the IBM i connector. The codes are returned to the Magic xpi Server in the Invocation program’s Error Code parameter.
|
|
700
|
Error connecting to IBM i server
|
701
|
Error while creating user space
|
702
|
Error while updating user space
|
703
|
Error while retrieving data from user space
|
704
|
Error while deleting user space
|
705
|
Error while creating data queue
|
706
|
Error while sending data to data queue
|
707
|
Error while receiving data from data queue
|
708
|
Error while deleting data queue
|
709
|
Error while clearing data queue
|
710
|
Error while retrieving data queue description
|
711
|
Error while retrieving spool list
|
712
|
Error while retrieving spool file
|
713
|
Error while calling program
|
714
|
Error while executing command
|
715
|
Error while retrieving IFS directory list
|
716
|
Error while retrieving stream file
|
717
|
Error while creating/updating stream file
|
718
|
Error while using RUNQUERY command
|
Error Handling in Magic xpi