Return to the COBOL Tips
SEU Extensions with COBOL
NEWS/400 has published articles on how to extend the functionality of SEU with your own line commands. For those of you who prefer to extend SEU using Cobol routines instead of RPG, one reader has written four Cobol user-defined line commands that perform the following functions: a. Color Cobol source. b. Convert a line to upper case. c. Convert a line to lower case. d. Add a date field in columns 73-80 of Cobol source. You can download these routines from http://www.as400network.com/noderesources/code/clubtechcode/CblSEUCmds.zip. You can learn more about creating user-defined SEU commands from the following articles: Creating User-Defined Line Commands for SEU, Part 1 http://www.as400network.com/artarchive/index.cfm?fuseaction=viewarticle&CO_ContentID=7115. Creating User-Defined Line Commands for SEU, Part II http://www.as400network.com/artarchive/index.cfm?fuseaction=viewarticle&CO_ContentID=7116. Customize Your SEU http://www.as400network.com/artarchive/index.cfm?fuseaction=viewarticle&CO_ContentID=7114.
[report a broken link by clicking here]