I took several days stuck in this problem. I'm trying to read a file from the AS400 through java but I can't.
The problem is that I can't open the file. When using the mi_file.open(SequentialFile.READ_ONLY, 10, SequentialFile.COMMIT_LOCK_LEVEL_DEFAULT) gives me the connection refused error.
Obviously, before I use the class as400 to enter the ip, username and password of my system.
I have also tried with other parameters in the function:
mi_fichero.open (as400.READ_ONLY, 10, as400.COMMIT_LOCK_LEVEL_DEFAULT) but I get the same error.
Can someone help me?
NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
This topic has been locked.