我们的问题如下:
我们必须用 JT400 连接到 ISeries 并读取 IFS 中的文件。一个要求是作业在 QBatch 中运行,用户没有密码。 我们的代码如下:
//This wy we connect to the Iseries with the job credentials in this case
//user withou password
AS400 as400 = new AS400();
IFSFile file = new IFSFile(system, path);
//This line throws the AS400SecurityException
IFSFileInputStream fis = new IFSFileInputStream(file,IFSFileInputStream.SHARE_NONE);
最后一行抛出这个异常:com.ibm.as400.access.AS400SecurityException: Password is not set
我们在互联网上搜索,但找不到有同样问题的人
感谢您阅读我们的问题