ssomaya Posted May 26, 2011 Share Posted May 26, 2011 Hi All, Can any one please suggest me for the following requirement. Want to write an automation script. We have some sheduled jobs in AS400.the scheduled jobs will generate some log files for those jobs. we can see the logs by using dsplog job(jobname).Now the requirment is I want to send those log files as attachemnts for those jobs through mail to the group(group mail) for every 1 hour. so can any one please suggest me how to write a script for this requirement either in COBOL/Mainframe/AS400 or any scripting. Thanks, Vas. Link to comment Share on other sites More sharing options...
hannes08 Posted May 26, 2011 Share Posted May 26, 2011 Hi Vas, is there a windows program available you can use to download the the job logs? Can you connect to the AS400 via Telnet? Or can you download them via FTP? There are some examples here in the forum on how to automate telnet (I think). Once you have the logs available under windows it's an easy way to send them via email. Regards,Hannes[spoiler]If you can't convince them, confuse them![/spoiler] Link to comment Share on other sites More sharing options...
PsaltyDS Posted May 26, 2011 Share Posted May 26, 2011 so can any one please suggest me how to write a script for this requirement either in COBOL/Mainframe/AS400 or any scripting.This is an AutoIt forum, and AutoIt is a Windows-only executable. So AutoIt can't help you unless the AS400 box is accessed from a Windows PC with a script-able terminal client. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now