I would like to use variable value for settin color on display, I usually do as follow:
D $color S 1A INZ
C eval $color = X'28'
and obtain color red !
Now my user would like to change it and type 38 into the numeric variable $V1.
$v1 = 38 .
It seems to me that new command could be:
Eval $color = X+''''+$v1+''''
Compiler doesn't issue error, but unfortunatly, in debug mode $color contains 'X'
insted of x'38'.
Can Someone help me, for RPGLE or CL please ?
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!