Avatar of brontes1
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"
keystroke:<tab>
Type: "1"
keystroke:<tab>
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
IBM System i

Avatar of undefined
Last Comment
daveslater

8/22/2022 - Mon
Barry Harper

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.
Barry
ASKER CERTIFIED SOLUTION
daveslater

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy