CL - show the value of the variable in the joblog

By kimot, 24 December, 2022

If you want to display the value of the variable in joblog you can use this command in your CL program

SNDPGMMSG MSG('My Var = ' *CAT &MyVar) 

Joblog should looks like this:

 MY VAR =  variable_content