28.11.2012 Views

IBM Tivoli NetView for z/OS Programming: Pipes - IBM notice

IBM Tivoli NetView for z/OS Programming: Pipes - IBM notice

IBM Tivoli NetView for z/OS Programming: Pipes - IBM notice

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

PIPE XLATE<br />

PIPE XLATE<br />

Syntax<br />

XLATE:<br />

XLATE<br />

1.*<br />

position.length<br />

UPPER<br />

A2E<br />

COMMON<br />

E2A<br />

LOWER<br />

Command Description<br />

The XLATE stage accepts a message from its input stream, translates specified<br />

characters to other characters, and writes the message to its output stream.<br />

Streams<br />

276 <strong>Programming</strong>: <strong>Pipes</strong><br />

Use XLATE to translate:<br />

v Uppercase letters to lowercase letters<br />

v Lowercase letters to uppercase letters<br />

v ASCII characters to EBCDIC characters<br />

v EBCDIC characters to ASCII characters<br />

Stream Type Number Supported<br />

Input 1<br />

Output 1<br />

Termination Conditions<br />

The XLATE stage terminates when either its input stream or output stream<br />

disconnects.<br />

Operand Descriptions<br />

position.length<br />

Specifies the character position where translation begins and the length from<br />

that point that translation occurs. The default is 1.*, which means start at the<br />

first position and continue to the end.<br />

UPPER<br />

Specifies that the standard 26 Latin letters are translated to uppercase.<br />

A2E<br />

Specifies that ASCII characters are translated to EBCDIC. ASCII code set ISO<br />

8859-1 and EBCDIC code set <strong>IBM</strong>-1047 are used.<br />

COMMON<br />

Specifies that EBCDIC character codes that are not common to all code sets are<br />

translated to X'5C' (asterisk), except X'00' (null) and X'FF' (EO), which are<br />

translated to X'40' (blank).

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

Saved successfully!

Ooh no, something went wrong!