Autofill macro for AS/400 or macro guide

45 pts.
Tags:
AS/400
I am brand new to this forum as well as AS/400. I have done some Ruby coding and a little C++, and my macro experience is limited to scripts for video games. I recently got hired to a new company and am doing data entry in AS/400. I'm looking for possibly a guide to macro scripting for this program, or if someone could answer my question directly that would be great. I'm supposed to be including a few paragraphs of text on the order form, but it's the same every time. I would like to create a macro to essentially load this standard text onto each order form. If someone could please point me in right direction I would really appreciate it. Thank you!


Software/Hardware used:
AS/400
0

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question: 8  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • TheRealRaven
    In order to talk about any "macro" capability, we need to know "macro for what?"

    It seems likely that you're asking about a terminal emulator program. If so, we need to know which emulator product you use. I'd guess you're using the iSeries Access Personal Communications emulator.
    32,380 pointsBadges:
    report
  • slack400
    Yeah you'll need to confirm what emulator package your using. Here's some links for macro creation with the IBM emulator software that typically comes with the server.

    link1
    link2
    2,740 pointsBadges:
    report
  • JSBaralan

    Sorry Raven, there are about 3 paragraphs of text that I need to add to our order forms with AS 400. It's basically a series of notes to our vendors and freight shipping companies. I'm not sure what other information you would need.

    Slack400 I checked out the first link that you posted and that seems like the emulator bar that I have, however their screen sh

    45 pointsBadges:
    report
  • JSBaralan
    *screen shot shows xp and is a little different. I'm on 7 but this seems like a good place to start, thank you for your help!
    45 pointsBadges:
    report
  • JSBaralan
    Okay I'm not even sure how to delete or modify my posts here ugh I'm such a noob. Okay Raven, after looking at what slack posted, I'm not so much looking to execute a particular command as I am looking to execute several commands, filling in predefined text on an order form. I hope this helps and I'll be happy to provide any more information I can. Sorry I don't know more :/
    45 pointsBadges:
    report
  • TheRealRaven
    The Help for the emulator should have the available info for macros. In the Personal Communications version I'm using, the 'Procedures' item of the Help menu is where macro info is mostly found.

    I scroll down to the 'Using the Actions Functions' area and see the 'Creating a Macro/Script' topic. Other macro topics are near that one.

    However, have you tried simply copying the text after entering it once and pasting it into a Notepad window? Then when you need it again, see if it copy/pastes from Notepad into a new order form. Success or failure of the paste will tell a lot about what needs to be done for a macro.

    A likely macro would consist simply of tabbing to the entry field, clicking 'Record', typing the paragraphs, and ending with clicking 'Stop Record'. Once you name and save that macro, you should be able to run it whenever needed.
    32,380 pointsBadges:
    report
  • JSBaralan

    thanks for the help. I honestly just need a good tutorial or crash course in manipulating AS400, it's hard for me to know what I'm asking because I am still trying to figure out the ins and outs of the software. Hopefully next time I post I will be better informed.

    45 pointsBadges:
    report
  • TheRealRaven
    slack400's links are as good as any I've seen for a tutorial. For the vast majority of emulator macros, simple record/stop/play is all that's needed (other than naming and saving). And it seems that's all you need to learn for your current issue.

    You might never need more. If you do, the product help is where details are.
    32,380 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: