Link to home
Start Free TrialLog in
Avatar of brontes1

asked on

creating a macro with summations

Hello expert,
I have an option in my mainframe menu to create a macro and then edit this macro using macro editor
My code looks like this
Type: "11"
Type: "1"
The above macro populates my table input from an mis screen... great
However, I need to say add 1 each time the macro is run
So on the first run my first line is 11
When I run the macro again the number is 12
When I run the macro again the number is 13
etc I would rather not have to add in the numbers on a prompt each time I run the macro... I would like them populated for me. The first number will always be increased by 1
Any ideas on a way around this?????
I dont know which other category this question fits into
Avatar of Barry Harper
Barry Harper
Flag of Canada image

Hi, brontes1

On your mainframe screen, can you click on Help, then click on About? Please post this info so we can tell if you running client access or some other emulator.
Avatar of daveslater
Flag of United States of America image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial