I’m not sure what you are trying to accomplish.
I believe what you would want to do is create a CMD.
Perhaps you are looking for instructions on Macro on Client Access Terminal Emulator or Rumba Terminal Emulator — keystroke macro’s for the screen????
If you are referring to iSeries access for windows, just click on help then procedures. There is an entire section on macros/scripts.
If you are using reflaction to connect AS400…there are option for MACRO in top menu.
Click on start recording and put all the command you want to run when you signon..your AS400