Sorry - first time on the board and I did not finish my problem before I accidentally hit a key and posted it. Thanks for reply
Here is what I can not do. For each of those systems, I neeed to email the reports using mailx to different recipients.
systemA_list="me you"
systemB_list="me you him"
systemZ_list="you him"
Therefore, in the for do loop, I need to use the current value of the systems variable that is being processed to reference the correct ${systems}_list and poulate the mailx command.
It is that variable substitution or reference that I can not seem to acheive. it always tells me it can not find systemA_list. Not sure if it even knows I am trying to make it a variable.