Tom, I really do appreciate your help. I looked at your many suggestions on the script. I took the snippet of the code with your code but it did not create an email (see below). OPTIONS SYMBOLGEN MACROGEN MPRINT;
CALL SYMPUTX('LB','AD'X);
CALL SYMPUTX('RB','BD'X);
FILENAME MYMAIL EMAIL
SUBJECT="&LB./DOCUMENTS&RB. TEST 123";
ATTACH=("TST.G5.SP9.Daily"
TYPE='TEXT/TXT' EXT='CSV');
DATA _NULL_;
FILE MYMAIL
TO=('bagary@email.com');
RUN; If I remove the 2 lines CALL SYMPUTX('LB','AD'X);
CALL SYMPUTX('RB','BD'X); It will create an email with the subject line.. &LB./DOCUMENTS&RB. TEST 123
... View more