We received the following error while trying to open a an AS400 file using the 
open() command: 

ERROR OCCURED: java.net.ConnectException: Connection refused: connect
com.ibm.as400.access.ExtendedIllegalStateException: Object must be open.
        at com.ibm.as400.access.AS400File.checkOpen(AS400File.java:396)
        at com.ibm.as400.access.AS400File.write(AS400File.java:2532)
        at FileAccess.main(FileAccess.java:85)

The file we are trying to open exists on the AS400 system and is open to the 
public.

Any ideas on what the error could be?

Thanks!



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.