Don't know if this question has been asked before, but I need to know if it is possible to call an AS/400 program from an NT batch script? I've tried to do this using FTP, but to no avail. I've created a batch script to issue the FTP command with a FTP script: ftp -n -s:%SCRIPTDIR%ftpcmdstst.inp this is what is in the FTP script: open RGO400 user claypooljz hobbes1 ! call ftpc1 This runs with no errors, but the CL program FTPC1 on the AS/400 never executes. The ftp command ! call ftpc1 works fine from an AS/400 ftp session, but doesn't cut it from the NT side. Is there anyway to do this, or am I wasting my time? If anyone can advise it would be much appreciated. Thanx. JZ~

Reply With Quote