Stuart, There are a lot of ways, here are a few. You could run a remote command using FTP, you could call the CL as a stored procedure using ODBC, or you could use Java to call your program using the AS/400 toolbox. There are many more I am sure, some are easier than others, what you use will depend on your experience and environment. If any of these ideas sound interesting, I could post an example. David Morris

Reply With Quote