Hard coding system level attributes is not a good way of programming. To display system name on a screen SDA provides a Keyword SYSNAME that can be used in a display file. There is another way to achieve it, example through a CL program.
The command to use is RTVNETA SYSNAME(&SYSTEM).
MORE INFORMATION ON THIS TOPIC
The Best Web Links: tips, tutorials and more.
Ask your programming questions--or help out your peers by answering them--in our live discussion forums.
Ask the Experts yourself: Our application development gurus are waiting to answer your programming questions.