Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

iSeries / AS400 FAQ : (Category) Programming : (Category) CODE/400 : How do I modify the Code/400 Editor behavior and use macros?

0
Posted

iSeries / AS400 FAQ : (Category) Programming : (Category) CODE/400 : How do I modify the Code/400 Editor behavior and use macros?

0

The below instructions are for using macros and modifying the CODE editor behavior permanently. In order to use modified macros, create a user macro directory such as C:\My Documents\MyMacros. Then in the editor, hit ESC and type “extras on C:\MyDocu~1\MyMacros”. This will make CODE always look at C:\My Documents\MyMacros before going to C:\WDSC\*. If you want to make profile changes through Options -> Profiles, make sure the *.LXL or *.LXU file you are changing is in C:\My Documents\MyMacros. If you change *.LXL or *.LX in C:\WDSC\*, they can be overwritten from the next version of CODE. In C:\My Documents\MyMacros, the modified “profile.lx” must keep the same name but you should start by creating a blank “rpg400.lxu”, “rpgle400.lxu”, and other user language load files in the C:\My Documents\MyMacros folder and add only the lines for executing user macros. The *.LX macros should go in your MyMacros folder.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.