Jobs almost always fail because of permissions. When executed from EM by a user, a job runs with that user's permissions. When scheduled, it is run by the SQL Agent with the SQL Agent account.
Have you looked at the Job detail in Job History to see why it fails? Or are you not even getting an entry in Job History?
Who owns the Job? Open Job properties to check. Change the owner to a system administrator if it isn't currently owned by anadministrator.
What login is used to start the SL Agent? Does that login have permissions to access the data on the AS400? If not, it must be granted permissions. Terry Broadbent
Please review faq183-874.
"The greatest obstacle to discovery is not ignorance -- it is the illusion of knowledge." - Daniel J Boorstin