Problem solve Get help with specific problems with your technologies, process and projects.

Soft coding system name

Hard coding system level attributes is not a good way of programming. Check out this tip for another option.

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.


Dig Deeper on iSeries CL programming

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

Close