jtopen

How to get PSF Settings in an AS400 Server using Java

拈花ヽ惹草 提交于 2019-12-12 03:03:23
问题 I am a newbie in this site but I know anyone here can help me on this problem that I have now. I used to program Java using JDK7 and now I am facing this JTOpen API for AS400-Java interface but my problem now is how to get all the PSF Setting of my Device Description of a certain Writer? Thanks in advance guys.... Please help..... 回答1: Check out the print API's at http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/apis/print1a.htm If you can find an API that provides the information

JT400 Read File From IFS with user without password

落爺英雄遲暮 提交于 2019-12-12 02:27:27
问题 our problem is the following: We have to connect to an ISeries with the JT400 and read a file in the IFS. One requirement is the job is running in the QBatch with a user without password. Our code is the following: //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

Call RPG function from Java

て烟熏妆下的殇ゞ 提交于 2019-12-04 14:27:00
问题 I want to find away to call a RPG Function from Java. I must be able to pass in parameters and to return result sets, and output parameters. I was able to find this but it is using a stored procedure. Not the way I want to go. I also found this question Invoking AS400 RPG From Java they talking about JTOpen. Still trying to look for tutorials to see if JTOpen could help me, but have not found any yet. If you can please help me to find a way to call RPG functions from Java, I would appreciated

Call RPG function from Java

依然范特西╮ 提交于 2019-12-03 09:01:57
I want to find away to call a RPG Function from Java. I must be able to pass in parameters and to return result sets, and output parameters. I was able to find this but it is using a stored procedure. Not the way I want to go. I also found this question Invoking AS400 RPG From Java they talking about JTOpen . Still trying to look for tutorials to see if JTOpen could help me, but have not found any yet. If you can please help me to find a way to call RPG functions from Java, I would appreciated that. Everything is explained in the IBM Toolbox for Java (JTOpen) Programmer's Guide . Specifically