Posted on 2010-11-19
So here is my dilema.
I am workoing with the i5 and would like to be able to automate the mundane tasks, like dspsyssts,mimix out put, move jobs from one q to another, and do scheduled saves and record the save times in excel.
I have dove into the siimplistic looking scripts that are created when recording a macro.
However, I would like to be able to create one of two ideas.
a.) Be able to create a VBscript macro that start the 5250(Already can get it started) then either acces the macro bar to set off recorded macros. (As I can then make timed cmdlets to be started by windows for each process) Or directly run the macro from the /private folder and have it perform on the 5250.
b.) Create scripts inside the iSeries that will do the above tasks and be able to document the work that was done.
So cut and dry what I am looking for is a way to call the emulator,log in,call the recorded macro,Paste the results into an excel file.
Of cource error detection and what not would be nice if someone has a canned script already, but i can do that leg work when it comes time. Thanks for reading.