|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This type was created in VisualAge.
| Method Summary | |
void |
connect(com.ibm.as400.access.AS400 obj)
Connect to the AS/400 using the specified AS/400 Toolbox object. |
void |
disconnectFrom400()
Disconnect from current AS/400 connection. |
java.lang.String |
getCompletionMsg()
Get the completion message after the program has run. |
com.ibm.as400.access.AS400Message[] |
getMessageList()
Get the array of AS400Message objects |
boolean |
isConnected()
Returns the state of the connection to the AS/400. |
boolean |
runProgram()
Run the AS/400 program RDNSETLIBL. |
void |
setAS400(com.ibm.as400.access.AS400 system)
Set the AS400 to used for this program call. |
| Method Detail |
public void connect(com.ibm.as400.access.AS400 obj)
throws com.ibm.as400.access.AS400SecurityException,
java.io.IOException,
com.ibm.as400.access.ServerStartupException,
java.net.UnknownHostException,
java.lang.IllegalArgumentException
com.ibm.as400.access.AS400SecurityException - If security error occurs during connect.
java.io.IOException - If IO error occurs during connect.
com.ibm.as400.access.ServerStartupException - If unable to connect to the well known port.
java.net.UnknownHostException - If unable to locate AS/400.
java.lang.IllegalArgumentException - If service is incorrect.public void disconnectFrom400()
public java.lang.String getCompletionMsg()
public com.ibm.as400.access.AS400Message[] getMessageList()
public boolean isConnected()
public boolean runProgram()
throws com.ibm.as400.access.AS400SecurityException,
com.ibm.as400.access.ConnectionDroppedException,
com.ibm.as400.access.ErrorCompletingRequestException,
java.lang.InterruptedException,
java.io.IOException,
java.beans.PropertyVetoException,
com.ibm.as400.access.ObjectDoesNotExistException
com.ibm.as400.access.AS400SecurityException - If security violation occurs during connection.
com.ibm.as400.access.ConnectionDroppedException - If the AS/400 connection is inactive.
com.ibm.as400.access.ErrorCompletingRequestException - If an error occurred on the host
java.lang.InterruptedException - If this thread is interrupted.
java.io.IOException - If an I/O error occurs.
java.beans.PropertyVetoException - If program or parameter list is set to an invalid value.
com.ibm.as400.access.ObjectDoesNotExistException - If program does not exist.public void setAS400(com.ibm.as400.access.AS400 system)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||