Wednesday, March 16, 2011

Macros in Mainframe

There are a lot of things which can reduce our day to day manual effort and this is one of them -

We can record the keystrokes for any manual effort that we do in a mainframes session like-
(i) Opening a PDS
(ii) Logging into CA7 etc

When you are in the start screen -
Go to Tools -> Record Keystrokes
Give a name for the Keystroke (for ex: opening a PDS) and then save
Do the task that is to be stored:
For ex : Start 3.4
Enter the PDS Name - MYID.MYPDS.LIBRARY

Go to Tools -> Stop Recording

Tools -> Convert Keystroke to Script
Select the Keystroke file and save the script name

To run the script ->
Go to Tools -> Run script

Lot of manual effort can be saved by having these scripts :)



1 comment:

  1. Could you please tell me is it possible to integrate an excel sheet with this mainframe macro. I need to record such a script and parametrize the dynamic values? Is it possible?

    ReplyDelete