Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » iSeries Connection(Connec to iSeries (AS/400) and run commands)
iSeries Connection [message #1000488] Mon, 14 January 2013 21:48
Antonio Felix is currently offline Antonio FelixFriend
Messages: 1
Registered: January 2013
Junior Member
If this is not the correct forum, i apolosige.

All i want to do is connect to my iseries, logon (of course), run a comand (like CRTLIB TESTING) and get the result message(s).

I have succefuly used:
VB, C, and C++, both on Windows and Linux (NOT VB of course), to run commands and APIs.
I have done some small java apps for android using Eclipse IDE.

I am and iSeries administrator and developer for over 15 years.

Now my company wants to move to Eclipse.

I have downloaded and installed the IBM Eclipse Developmente Package...
I have an Eclipse instalation with C, C++ and Java IDEs...

But still can't do a simple thing like connecting and logging on...
NOTE: I want to logon to the system, not connect to a database. That i can do (with JAVA).

With VB (the easiest) or C/C++ in windows i use the cwbx.dll and create an AS400 object.
Logon and issue commands or call APIs via .Command or .Run or .Call depending on the objective.

Dim i5Sys = CreateObject("cwbx.AS400System")

i5Sys.IPAddress = IPADRESS
i5Sys.UserID = USERID
i5Sys.Password = USERPASSWORD

Catch ex As Exception
End Try

CommandText = "CRTLIB TESTING"
CommandToRun.system = i5Sys
Catch ex As Exception
End Try

Can someone help me?

A tutorial would be great but any help is welcome...

Thank you.
Previous Topic:Help
Next Topic:Can't type double qoutes with OSK
Goto Forum:

Current Time: Fri Apr 16 12:35:50 GMT 2021

Powered by FUDForum. Page generated in 0.03071 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top