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.

CHAPTER<br />

14<br />

In<strong>for</strong>mats under z/<strong>OS</strong><br />

In<strong>for</strong>mats in the z/<strong>OS</strong> Environment 277<br />

Considerations <strong>for</strong> Using In<strong>for</strong>mats under z/<strong>OS</strong> 277<br />

EBCDIC and Character Data 277<br />

Floating-Point Number Format and Portability 278<br />

Reading Binary Data 278<br />

Date and Time In<strong>for</strong>mats 279<br />

Ew.d In<strong>for</strong>mat 280<br />

HEXw. In<strong>for</strong>mat 280<br />

IBw.d In<strong>for</strong>mat 282<br />

PDw.d In<strong>for</strong>mat 282<br />

RBw.d In<strong>for</strong>mat 283<br />

ZDw.d In<strong>for</strong>mat 284<br />

ZDBw.d In<strong>for</strong>mat 285<br />

In<strong>for</strong>mats in the z/<strong>OS</strong> Environment<br />

In general, in<strong>for</strong>mats are completely portable. Only the in<strong>for</strong>mats that have aspects<br />

specific to z/<strong>OS</strong> are documented in this chapter.<br />

All in<strong>for</strong>mats are described in <strong>SAS</strong> Language Reference: Dictionary; that in<strong>for</strong>mation<br />

is not repeated here. Instead, you are given details on how the in<strong>for</strong>mat behaves under<br />

z/<strong>OS</strong>, and then you are referred to <strong>SAS</strong> Language Reference: Dictionary <strong>for</strong> further<br />

details.<br />

Considerations <strong>for</strong> Using In<strong>for</strong>mats under z/<strong>OS</strong><br />

EBCDIC and Character Data<br />

The following character in<strong>for</strong>mats produce different results on different computing<br />

plat<strong>for</strong>ms, depending on which character-encoding system the plat<strong>for</strong>m uses. Because z/<br />

<strong>OS</strong> uses the EBCDIC character-encoding system, all of the following in<strong>for</strong>mats convert<br />

data to EBCDIC.<br />

These in<strong>for</strong>mats are not discussed in detail in this chapter because the EBCDIC<br />

character-encoding system is their only host-specific aspect.<br />

$ASCIIw.<br />

converts ASCII character data to EBCDIC character data.<br />

277

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

Saved successfully!

Ooh no, something went wrong!