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
0
votes
1 answer
JT400 - Equivalent to DSPASPBRM in java
I try to read the size of an ASP with the java library JT400.
The IBM i (AS400) command to do that is "DSPASPBRM" but I don't find how to do this obtain the same result with the java library.
A solution is to call the command and print the result in…

YLombardi
- 1,755
- 5
- 24
- 45
0
votes
2 answers
Linking Application Audit Trail with DB Logs
I'm working on an application that logs every business transaction to an audit trail, and I have a requirement to be able to correlate events in this audit trail with records in the Journal of an IBM System i (AS400) that is used as an RDBMS by that…

Eyad
- 327
- 3
- 10
0
votes
2 answers
JT400 ProgramCall's run() method is not returning any result
I am new to JT400. I am trying to invoke a test program in AS400 through JT400. Here is my code
public class TestRpg {
public static void main(String[] args){
try{
AS400 sys=new AS400("mydomain","username","password");
…

Raju Rudru
- 1,102
- 12
- 19
0
votes
1 answer
jt400 write record throws "CPF5035 Data mapping error"
I have a table with many, many fields. When trying to insert data with jt400 (flei00.write(newrec);) I get error CPF5035 Data mapping error on member FLEI00.. Even when trying to insert empty or nearly empty record, the error message is the same. Is…

agad
- 2,192
- 1
- 20
- 32
0
votes
3 answers
How to Convert as400 Spooled file to excel (XLS) file
I'm new to as400 Java development (JT400).I'm get spooled file list and read it normal text. now i want to convert it to excel (XLS) file. I'm Trying to convert AS400 spooled file to excel(XLS) file using Java.but im faild. Anyone know how to do it…

sheanD
- 191
- 5
- 19
0
votes
2 answers
How to get List of Spool files from OUTQ to Java
1st i want to say thank you for viewing this Question :)
I'm a beginner to AS400/JAVA development. I want to know how to get spool file list to java and how to convert it to PDF from OUTQ, Using JT400.
Can anyone to tell me or give me sample java…

sheanD
- 191
- 5
- 19
0
votes
1 answer
How to get IPv4 Connection Status to JAVA (JT400) Application
I want to know how to get IPv4 Connection Status to java application
Work with IPv4 Connection Status
System: V172172
Type options, press…

Dzshean
- 314
- 6
- 23
0
votes
1 answer
After connection is closed, and opened again, it no longer exists
I created a servlet in domino server, the first time I call it I see no errors but after I see this :
java.sql.SQLException: The connection does not exist.
at com.ibm.as400.access.JDError.throwSQLException(JDError.java:389)
at…

sadiqmrd
- 87
- 1
- 2
- 11
0
votes
1 answer
How to Get IBM i Job details Using Job Number - Java ( JT400 )
I want to get IBM i job details using that job number. i get all job list. but i want to get job details using it's job no. Please help me friends.
Edit: I believe the question is 'How can I get job details given a fully qualified job name?'
try…

Dzshean
- 314
- 6
- 23
0
votes
1 answer
To get the total number of pages in an RTF document present in an IFS As400 folder in java
I have a requirement to get the total number of pages in an RTF document which resides in an IFS folder within AS400 system.
I am able to get the page details for PDF documents using iTextPDF PDFReader but i have run into a road block for RTF…

Neerocks
- 43
- 1
- 1
- 6
0
votes
3 answers
JPA + DB2 can't execute simple query
Edit1:
When Hibernate connected to MS-SQL, all columns and tables are scanning. Logs
But when Hibernate connected to DB2, it is trying to make out (render) again all tables and columns which include ''i'' letter. Logs
After I scanned the tables and…

SaRPaRDa
- 34
- 2
- 4
0
votes
2 answers
How to get PSF Settings in an AS400 Server using Java
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…
-1
votes
2 answers
Execute CommandCall/ProgramCall by JT400 with Disabled user profile
Our problem is as follows:
We have to connect to an ISeries with the JT400 and run some commands/Programs. The requirement is: Job is running in the QBatch with DISABLED user profile (because of security reasons).
We are able to make the JDBC…

Kishore_2021
- 645
- 12
- 38
-1
votes
1 answer
spring-boot jdbc connection to db2 gets read timeouts
So I'm new to db2 and have to use it in a project soon, in order to prepare myself I used a db2express-c docker image.
From a soon to be co-worker I received the JT400 library to connect from my application to the docker container.
However I keep…

J.Pip
- 4,523
- 7
- 31
- 49
-1
votes
2 answers
Can i use JT400 toolbox on web application?
01). I want to know can i use jt400 toolbox on web application ? i was develop AS400 monitoring program using Java swing using JT400 toolbox. i need to do same it to compatible in a Web browser. Any idea and which resources will i need ?
AS400…

sheanD
- 191
- 5
- 19