JTOpen is the open source version of the IBM Toolbox for Java licensed program product, and contains the identical code. Both have been tested on a wide variety of platforms, including AIX, IBM i, Linux, Solaris, and Windows.
Questions tagged [jt400]
121 questions
2
votes
1 answer
Retrieve an array of structs from an RPG program using jt400.jar API's
We use the com.ibm.as400.data.ProgramCallDocument class to interface with our RPG programs on the iSeries through Java. In most of the cases for our WebSphere applications we have fronted our RPG/Synon programs with CL's and used the PCML to…

Chris Aldrich
- 1,904
- 1
- 22
- 37
2
votes
1 answer
Connection with TN5250j works while IBMi access v1r1 (and JT400 library) does not
Few days ago my correctly working java application stated to throw "General security error" while connecting to AS400. I use JT400 library for connect. After some debugging I also find out I cannot connect with IBMi access v1r1 (5250 emulator from…

Piro
- 1,367
- 2
- 19
- 40
2
votes
1 answer
JT400 - get messages from Queue
I would like to get messages in AS400 from a queue other than a queue from QSYS.LIB. I am using the following code that runs well, only if I use a queue from within QSYS.LIB:
public String getMessagesFromQsysopr(boolean needReply) {
String…
2
votes
3 answers
AS400 style naming over JDBC
Is there any way I can use AS400 style library/file style naming over JDBC with jt400? I want to be able to run queries like:
SELECT * FROM MYLIBRARY/MYFILE
Thanks

tmtest
- 1,541
- 3
- 15
- 14
2
votes
2 answers
How do I configure HikariCP with jt400 AS400JDBCDataSource
I'm trying to use the HikariCP connection pool (2.4.2) with jt400 AS400JDBCDataSource (8.7).
When I configure the DataSource directly everything works fine and I can use connections.
AS400JDBCDataSource ds = new…

cquezel
- 3,859
- 1
- 30
- 32
2
votes
2 answers
JTOpen: Writing DDM Files
I'm quite new to work with IBM i (an AS/400).
I want to write a DDM File via JTOpen/JT400. Here is what I already did, with the use of the classes inside the jtopenlite.jar from here http://sourceforge.net/projects/jt400/files/JTOpen-full/8.5/
…

KeKru
- 444
- 3
- 13
2
votes
1 answer
Setting JT400 to connect to IBM i (AS400) using port 23
I'm trying to connect to IBM midrange (AS400) machine from my java program and then reset a user's password. Using Jt400.jar, I manage to do so. But the problem is, I need to set the port to specificly use port 23. I want it to follow tn5250 on how…

Mohd Fikrie
- 197
- 4
- 21
2
votes
1 answer
How to create a org.eclipse.swt.graphics.Image from a external JAR
Question:
I would like to know how to create an org.eclipse.swt.graphics.Image object from a .gif in an external .jar file.
Back Ground:
I am creating a TreeViewer based on TreeViewerArticle, and would like to reference a picture in the jt400.jar…

Christoff Erasmus
- 925
- 1
- 10
- 26
2
votes
2 answers
Connection pooling + Impersonating queries
I'm working on a spring(IoC/ MVC/ Security)/ JTOpen project backed up by DB2 over IBM System i (AS/400). For reasons I won't be able to discuss here, every user of the application was given an account on the IBM i (i5/OS) operating system so that…

Eyad
- 327
- 3
- 10
2
votes
1 answer
Passing AS400 (IBM i) Profile Token to an OLE DB Connection
We have a Java application (web-server) that can serve out an AS400 (IBM i) Profile Token Credential for an authorised user, generated using the JT Open package (which ends up as an alphanumeric string). We can pass this profile token to other java…

Rich
- 35
- 5
2
votes
1 answer
AS/400 Message queue filtering - JT400 (JAVA)
I'm trying to get queue message list. I already did it using this code. problem is i want to filter it to *inq. this code retrive all messages. but i want to get *inq messages only. how to do it ?
I was used "/qsys.lib/qsysopr.msgq" to get QSYSOPR…

sheanD
- 191
- 5
- 19
2
votes
1 answer
Read AS400 Spooled File with All pages - JAVA (JT400)
I'm Trying to read AS400 Spooled file in JAVA. I read it using this code. but problem is it's retrieve only one page details of that Spooled file. But i want to read and get all pages details. Any one know how to do it ?
Thanks in Advance!
CODE…

sheanD
- 191
- 5
- 19
2
votes
1 answer
How to show active jobs using AS400 (JT400) client access software?
I want to develop as400 client access software. I want to monitor disk space, cpu usage etc.. And Job list. I got job list. But I want get to active jobs only. Please help me.
This is my job List Code :
try {
AS400 system = new AS400…

Dzshean
- 314
- 6
- 23
1
vote
1 answer
db2 referential integrity problem
Situation is pretty serious, we have a table in DB2 on AS400 which has defined foreign key to another table, so we are entering record which have regular ID of referenced table so when we enter SQL insert through front end tool everything went fine.…

ante.sabo
- 3,141
- 6
- 28
- 36
1
vote
2 answers
howto add database to swing desktop application
I have created an desktop application in Netbeans 7.0 and i have the files, app, view and aboutbox.
And i want to add an database object that is accessible in the application in the duration of the applications lifetime, that closes when the app…

Arto Uusikangas
- 1,889
- 5
- 20
- 33