troubleshooting Question

creating a macro with summations

Avatar of brontes1
brontes1 asked on
IBM System i
2 Comments1 Solution806 ViewsLast Modified:
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

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros