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.

Windows and Commands in z/<strong>OS</strong> Environments INCLUDE Command 563<br />

3 If the window is read only, you are placed in an ISPF BROWSE session that<br />

displays the contents of the window.<br />

3 If the window cannot be edited by the host editor, a message to that effect appears<br />

in the window, and no other action occurs.<br />

Special text attributes such as color or highlighting are lost during a host editing<br />

session. When the H<strong>OS</strong>TEDIT command is issued from a window that contains text<br />

with these attributes, a requestor window appears. The requestor window gives you the<br />

option of either continuing or aborting the H<strong>OS</strong>TEDIT command.<br />

When you have finished editing in the ISPF EDIT session, do one of the following:<br />

3 To save the contents back to the window, issue the END command.<br />

3 To discard the changes you made, issue the CANCEL command.<br />

3 To save the contents of the window to an external file, use the standard ISPF<br />

EDIT commands such as CREATE or REPLACE. Then issue the END or CANCEL<br />

command, depending on whether you also want to save the changes back to the<br />

window.<br />

In each case, you are returned to the window in the <strong>SAS</strong> session that was suspended.<br />

See Also<br />

INCLUDE Command<br />

3 “Using the ISPF Editor from Your <strong>SAS</strong> Session” on page 188<br />

Copies the contents of an external file into the current window<br />

z/<strong>OS</strong> specifics: file-specification<br />

Syntax<br />

INCLUDE fileref<br />

INCLUDE fileref(member)<br />

INCLUDE ’physical-filename’ <br />

INCLUDE ’physical-filename(member)’ <br />

ENCODING=encoding-value<br />

specifies the encoding to use when reading to the input file. Typically, you would<br />

specify a value <strong>for</strong> ENCODING= that indicates that the input file has a different<br />

encoding from the current session encoding. However, you can also specify the same<br />

encoding <strong>for</strong> the input file as <strong>for</strong> that of the current session encoding. You must<br />

enclose the value in quotation marks if it contains a dash.<br />

If you specify an encoding value that is different from the session encoding, <strong>SAS</strong><br />

transcodes the data from the specified encoding to the session encoding when you<br />

read data from the input file. The default encoding is the session encoding, which is<br />

the value of the ENCODING= <strong>SAS</strong> system option.<br />

For valid encoding values and <strong>for</strong> more in<strong>for</strong>mation about encoding, see “Encoding<br />

Values in <strong>SAS</strong> Language Elements” in the <strong>SAS</strong> National Language Support (NLS):<br />

User’s Guide.

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

Saved successfully!

Ooh no, something went wrong!