02.05.2013 Views

SAS(R) 9.1.3 Companion for z/OS

SAS(R) 9.1.3 Companion for z/OS

SAS(R) 9.1.3 Companion for z/OS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

136 PUT Statement Syntax <strong>for</strong> E-Mail Chapter 6<br />

user="Joe Smith ";<br />

put ’!EM_TO!’ user;<br />

!EM_CC! addresses<br />

replaces the current copied recipient addresses with addresses. For example:<br />

PUT "!EM_CC!" "joe@somplace.org";<br />

or<br />

user="joe@somplace.org";<br />

put ’!EM_CC!’ user;<br />

To specify more than one address, enclose the list of addresses in parentheses<br />

and each address in single or double quotation marks, and separate addresses<br />

with a space:<br />

PUT "!EM_CC!" (’joe@smplc.org’ ’jane@diffplc.org’);<br />

or<br />

list=(’joe@smplc.org’ ’jane@diffplc.org’);<br />

put ’!EM_CC!’ list;<br />

To specify a name with the address, enclose the address in angle brackets, as<br />

follows:<br />

PUT "!EM_CC!" "Joe Smith ";<br />

or<br />

user="Joe Smith ";<br />

put ’!EM_CC!’ user;<br />

!EM_BCC! addresses<br />

replaces the current blind copied recipient addresses with addresses. For example:<br />

PUT "!EM_BCC!" "joe@somplace.org";<br />

or<br />

user="joe@somplace.org";<br />

put ’!EM_BCC!’ user;<br />

To specify more than one address, enclose the list of addresses in parentheses<br />

and each address in single or double quotation marks, and separate addresses<br />

with a space:<br />

PUT "!EM_BCC!" (’joe@smplc.org’ ’jane@diffplc.org’);<br />

or<br />

list=(’joe@smplc.org’ ’jane@diffplc.org’);<br />

put ’!EM_BCC!’ list;<br />

To specify a name with the address, enclose the address in angle brackets, as<br />

follows:<br />

PUT "!EM_BCC!" "Joe Smith ";<br />

or<br />

user="Joe Smith ";<br />

put ’!EM_BCC!’ user;<br />

!EM_FROM! ’address’

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!