I wanted to add a field to a menu that is not a constant field, but one that may be populated by a CL program. I have a log on program built that asks for a user ID and some identifying information. From that I obtain their personal information. I'd like to be able, at the top of a menu which displays options they can use, to display "Hello, Joe" (as an example, assuming their name is Joe). I tried to solve it by creating a display file (to which I can add variable fields) and using SNDRCVF to display it...along with CL which allows the selected option to execute. The problem is that I truly do not want to use this in a "green screen" environment, but instead to convert it for web usage through IBM's Webfacing tool. We have done this with many menus and it works great...as the options become clickable links. By using the display file (DSPF), the resulting "Webfaced" product does not recognize the options and hence there are no links generated. I determined I could add a field of pretty much any type to a menu (MNUDDS) object thorugh using CODE (rather than SDA), but the question is...how can I populate this variable with a value in CL and get it to display on the menu?. Any ideas?
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!