Because, SEU is a code editing program that was designed decades ago (it sounds *really* old if you say it like that) and isn’t aware of any of the newer RPGLE operation codes.
You have two basic solutions:
Personally I tend to use RDi for most of my IBM i coding. Now saying that, I also love SEU. I used this for many years and still have a soft spot for its excellent search/replace utilities and it lets me do something quicker.
Let’s go through an example of updating an existing RPGLE source member to add the Handler code for Profound Logic‘s screen handler routine.
When you try to manually type the HANDLER keyword against the DSPF you will note that SEU immediately complains “The keyword is not recognized; keyword is ignored.” This is because SEU syntax checking is frozen at the 6.1 level for RPG. IBM is no longer providing updates. This means that SEU does not recognize the HANDLER keyword as valid.
But, it is a valid keyword so we can just ignore the SEU syntax warning when entering this new keyword and compile as normal.
The simple way to save the source is to use the SAVE command in SEU==> command box
type “SAVE” it will tell you “Syntax errors exist. Press Enter to save.” just press again to update the source code
Alternatively you could exit the source with F3 and then change the Change/create member parm to “Y” and the “Return to editing” to “N”
Horses for courses.
IBM i Software Developer, Digital Dad, AS400 Anarchist, RPG Modernizer, Alpha Nerd and Passionate Eater of Cheese and Biscuits. Nick Litten Dot Com is a mixture of blog posts that can be sometimes serious, frequently playful and probably down-right pointless all in the space of a day. Enjoy your stay, feel free to comment and in the words of the most interesting man in the world: Stay thirsty my friend.
What is an RPG Open Access Handler?
What is IBM i Email and SPF?
Updating Numeric DTAARA in RPGLE
How to capture IBM-i job info for submitted jobs
Register license key in SOFTLANDING SOFTMENU
Going the (Levenshtein) Distance in RPG Free
Don’t hardcode library names in your TURNOVER SQL source #youbigsilly
How to Install IBM Access Client Solutions (ACS)
5733XJ1 IBM i Access Client Solutions – QuickStartGuide