keylset mailargs DOB $dob
keylset mailargs PRIM_MRN $prim_mrn
keylset mailargs SEC_MRN $sec_mrn
keylset mailargs NAME_OUT $last_name
echo “calling – dob is:” $dob
SendEmailMesasge $mailargs
The SendEmaiMessage works except the data isn’t filled in.
I’m setting variables like:
copy 0(0).PID(0).#7(0).[0] @dob
If I hard code the dob, the data is passed okay to the called proc.
The simple Friday question is, how do I correctly get the vaiables into the keylset list to correctly format the message?
I’m sure it is simple…but I’m not figuring it out.